Where is gtk-update-icon-cache ... ?
Hello, I'm still beginner for GuixSd. I have installed epiphany but show error , missing hicolor-icon-theme. I have installed hicolor-icon-theme. No error message but show bookmark icon only, other icons missing. What is other icon-theme or another packages I need to install? I think missing icon cache but gtk-update-icon-cache command is missing too then install gtk+-3.24.0. Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands?
Re: Where is gtk-update-icon-cache ... ?
On Thu, Jan 10, 2019 at 10:23:15AM +0900, 荒井吉則 wrote: > Hello, I'm still beginner for GuixSd. > > I have installed epiphany but show error , missing hicolor-icon-theme. > I have installed hicolor-icon-theme. No error message but show bookmark > icon only, other icons missing. > > What is other icon-theme or another packages I need to install? Not sure but try adwaita-icon-theme. > I think missing icon cache but gtk-update-icon-cache command is missing too > then install gtk+-3.24.0. > > Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands? gtk-update-icon-cache is in the "bin" output of GTK+. For example: -- $ guix build gtk+ /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin /gnu/store/iypmqb5a6g1f1xw4s7m88vy51hgyh0p1-gtk+-3.24.0-doc /gnu/store/3yrx79ds64dabi6qkkmh4s7ydiqxhl4g-gtk+-3.24.0 $ ls -l /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin/bin total 3984 -r-xr-xr-x 2 root root 134656 Dec 31 1969 broadwayd -r-xr-xr-x 2 root root 1907384 Dec 31 1969 gtk3-demo -r-xr-xr-x 2 root root 1551368 Dec 31 1969 gtk3-demo-application -r-xr-xr-x 2 root root 81840 Dec 31 1969 gtk3-icon-browser -r-xr-xr-x 2 root root 194488 Dec 31 1969 gtk3-widget-factory -r-xr-xr-x 2 root root 41960 Dec 31 1969 gtk-builder-tool -r-xr-xr-x 2 root root 22744 Dec 31 1969 gtk-encode-symbolic-svg -r-xr-xr-x 2 root root 22544 Dec 31 1969 gtk-launch -r-xr-xr-x 2 root root 31816 Dec 31 1969 gtk-query-immodules-3.0 -r-xr-xr-x 2 root root 21224 Dec 31 1969 gtk-query-settings -r-xr-xr-x 2 root root 43584 Dec 31 1969 gtk-update-icon-cache -- signature.asc Description: PGP signature
Re: Where is gtk-update-icon-cache ... ?
Thank you for your reply. I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also found /gnu/store/...-glibc-2.28/bin/locale. Why not these command make symlink to ~/.guix-profile/bin ? And I did gtk-update-icon-cache -t -f --include-image-data ~/.guix-profile/share/icons/hicolor. It return permission error that is directory read only. I use ja_JP.utf8 locale and man page garbled in some case. I do LC_ALL=C or posix man in that case. 2019年1月11日(金) 9:01 Leo Famulari : > On Thu, Jan 10, 2019 at 10:23:15AM +0900, 荒井吉則 wrote: > > Hello, I'm still beginner for GuixSd. > > > > I have installed epiphany but show error , missing hicolor-icon-theme. > > I have installed hicolor-icon-theme. No error message but show bookmark > > icon only, other icons missing. > > > > What is other icon-theme or another packages I need to install? > > Not sure but try adwaita-icon-theme. > > > I think missing icon cache but gtk-update-icon-cache command is missing > too > > then install gtk+-3.24.0. > > > > Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands? > > gtk-update-icon-cache is in the "bin" output of GTK+. For example: > > -- > $ guix build gtk+ > /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin > /gnu/store/iypmqb5a6g1f1xw4s7m88vy51hgyh0p1-gtk+-3.24.0-doc > /gnu/store/3yrx79ds64dabi6qkkmh4s7ydiqxhl4g-gtk+-3.24.0 > $ ls -l /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin/bin > total 3984 > -r-xr-xr-x 2 root root 134656 Dec 31 1969 broadwayd > -r-xr-xr-x 2 root root 1907384 Dec 31 1969 gtk3-demo > -r-xr-xr-x 2 root root 1551368 Dec 31 1969 gtk3-demo-application > -r-xr-xr-x 2 root root 81840 Dec 31 1969 gtk3-icon-browser > -r-xr-xr-x 2 root root 194488 Dec 31 1969 gtk3-widget-factory > -r-xr-xr-x 2 root root 41960 Dec 31 1969 gtk-builder-tool > -r-xr-xr-x 2 root root 22744 Dec 31 1969 gtk-encode-symbolic-svg > -r-xr-xr-x 2 root root 22544 Dec 31 1969 gtk-launch > -r-xr-xr-x 2 root root 31816 Dec 31 1969 gtk-query-immodules-3.0 > -r-xr-xr-x 2 root root 21224 Dec 31 1969 gtk-query-settings > -r-xr-xr-x 2 root root 43584 Dec 31 1969 gtk-update-icon-cache > -- >
Re: Where is gtk-update-icon-cache ... ?
Hi, 荒井吉則 writes: > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also > found /gnu/store/...-glibc-2.28/bin/locale. > > Why not these command make symlink to ~/.guix-profile/bin ? There will be a lot of files in /gnu/store that are not linked to any profile. That’s on purpose. If you want to install gtk-update-icon-cache you need to install the “gtk+:bin” package to a profile, e.g. by doing guix package -i gtk+:bin > And I did gtk-update-icon-cache -t -f --include-image-data > ~/.guix-profile/share/icons/hicolor. > It return permission error that is directory read only. This is also by design. ~/.guix-profile is read-only because it lives in /gnu/store (via a series of symlinks). Nothing in /gnu/store can be changed; you can only add to it by using the “guix” commands. The is usually no need to run gtk-update-icon-cache manually as it is run in a profile hook when building a new generation of a profile. -- Ricardo
Re: Where is gtk-update-icon-cache ... ?
On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote: > Hi, > > 荒井吉則 writes: > > > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also > > found /gnu/store/...-glibc-2.28/bin/locale. > > > > Why not these command make symlink to ~/.guix-profile/bin ? > > There will be a lot of files in /gnu/store that are not linked to any > profile. That’s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > “gtk+:bin” package to a profile, e.g. by doing > > guix package -i gtk+:bin > OK, I will do it. However I think it is kind to ask will you install bin when someone install like gtk+ or glibc with guix package -i . > > And I did gtk-update-icon-cache -t -f --include-image-data > > ~/.guix-profile/share/icons/hicolor. > > It return permission error that is directory read only. > > This is also by design. ~/.guix-profile is read-only because it lives > in /gnu/store (via a series of symlinks). Nothing in /gnu/store can be > changed; you can only add to it by using the “guix” commands. > > The is usually no need to run gtk-update-icon-cache manually as it is > run in a profile hook when building a new generation of a profile. > Thank you for your explanation in detail. I appriciate when I use guix package -i epiphany, guix would recommend additional packages hicolor-icon-theme and adwaita-icon-theme not installed. And when install fonts, fc-cache is needed. 2019年1月11日(金) 14:00 Ricardo Wurmus : > Hi, > > 荒井吉則 writes: > > > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also > > found /gnu/store/...-glibc-2.28/bin/locale. > > > > Why not these command make symlink to ~/.guix-profile/bin ? > > There will be a lot of files in /gnu/store that are not linked to any > profile. That’s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > “gtk+:bin” package to a profile, e.g. by doing > > guix package -i gtk+:bin > > > And I did gtk-update-icon-cache -t -f --include-image-data > > ~/.guix-profile/share/icons/hicolor. > > It return permission error that is directory read only. > > This is also by design. ~/.guix-profile is read-only because it lives > in /gnu/store (via a series of symlinks). Nothing in /gnu/store can be > changed; you can only add to it by using the “guix” commands. > > The is usually no need to run gtk-update-icon-cache manually as it is > run in a profile hook when building a new generation of a profile. > > -- > Ricardo > >
Re: Where is gtk-update-icon-cache ... ?
On 2019-01-11 09:51, 荒井吉則 wrote: On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote: > If you want to install gtk-update-icon-cache you need to install the > “gtk+:bin” package to a profile, e.g. by doing > > guix package -i gtk+:bin > OK, I will do it. However I think it is kind to ask will you install bin when someone install like gtk+ or glibc with guix package -i . Your idea seems user friendly, but to implement it we would have to find a way to distinguish library-packages from other packages. I'm not sure how to programmatically distinguish if a package has a bin-output. Right now you have to investigate the different outputs yourself e.g. by running: $ guix package --show=gtk+ which lists the different outputs. -- Cheers Swedebugia
Re: Where is gtk-update-icon-cache ... ?
On Thu, Jan 31, 2019 at 03:58:40PM +0100, swedebugia wrote: > On 2019-01-11 09:51, 荒井吉則 wrote: > > On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote: > > > If you want to install gtk-update-icon-cache you need to install the > > > “gtk+:bin” package to a profile, e.g. by doing > > > > > > guix package -i gtk+:bin > > > > > > > OK, I will do it. > > However I think it is kind to ask will you install bin when someone > > install like gtk+ or glibc with guix package -i . > > Your idea seems user friendly, but to implement it we would have to find a > way to distinguish library-packages from other packages. I'm not sure how to > programmatically distinguish if a package has a bin-output. > > Right now you have to investigate the different outputs yourself e.g. by > running: > > $ guix package --show=gtk+ > > which lists the different outputs. > > -- > Cheers Swedebugia Hello, I don't know is it not sure how to programmatically distinguish. However, if library-packages would separete into library-only and bin package, user can choose which one as debian dev package. I think.