Alb
Member

Posts: 74
|
 |
« on: December 16, 2010, 07:33:40 am » |
|
Hello, I'm running VL 6.0 Light with satisfaction. Some days ago I installed bleachbit-0.8.2-3.1.el5.noarch.tgz (an application for getting rid of useless files) and noticed that, not even running update-icewm-menu-sh the bleachbit entry appeared in the IceWM menus. Then I went up to /usr/share/applications and noticed that there were two bleachbit.desktop files: bleachbit.desktop and bleachbit-root.desktop, so, in .icewm I edited the menu-utilties adding the two missing voices:
prog "Bleachbit" "/usr/share/pixmaps/bleachbit.png" bleachbit prog "Bleachbit-root" "/usr/share/pixmaps/bleachbit.png" bleachbit-root
But the result is partially good as now only the bleachbit entry appears in that menu while it was impossible to me making IceWM add bleachbit-root entry, too (or have I to assume that bleachbit-root has to be launched by means of terminal only?). Any suggestion?
Here is the output of gtkfind for bleachbit: home/alberto/.config/bleachbit /home/alberto/.config/bleachbit/bleachbit.ini /home/alberto/Desktop/bleachbit-0.8.2-3.1.el5.noarch.tgz /home/alberto/bleachbit_menus /etc/pam.d/bleachbit-root /etc/security/console.apps/bleachbit-root /usr/bin/bleachbit /usr/bin/bleachbit-root /usr/sbin/bleachbit-root /usr/share/applications/bleachbit-root.desktop /usr/share/applications/bleachbit.desktop /usr/share/pixmaps/bleachbit.png /usr/share/doc/bleachbit-0.8.2 /usr/share/bleachbit /var/log/packages/bleachbit-0.8.2-3.1.el5.noarch
Besides here are the two .desktop files:
bleachbit.desktop
[Desktop Entry] Version=1.0 Type=Application Name=BleachBit Comment=Free space and maintain privacy Comment[it]=Libera spazio e mantiene la privacy GenericName=Unnecessary file cleaner Icon=/usr/share/pixmaps/bleachbit.png Terminal=false TryExec=bleachbit Exec=bleachbit Categories=GTK;System; Encoding=UTF-8 StartupNotify=true
bleachbit-root.desktop
[Desktop Entry] Version=1.0 Type=Application Name=BleachBit as Administrator Comment=Free space and maintain privacy Comment[it]=Libera spazio e mantiene la privacy GenericName=Unnecessary file cleaner GenericName[it]=Ripulisce file non necessari Terminal=false TryExec=bleachbit-root Exec=bleachbit-root Icon=/usr/share/pixmaps/bleachbit Categories=GTK;System; Encoding=UTF-8 StartupNotify=true
X-Desktop-File-Install-Version=0.10
Have nice Season's Holidays. Best Regards, Alberto
|
|
|
|
|
Logged
|
|
|
|
|
nightflier
|
 |
« Reply #1 on: December 16, 2010, 07:48:53 am » |
|
My guess: The file bleachbit-root is in /sbin, which is outside the normal user's search path. Since IceWM can not find the file, it does not display the entry. Try entering the full path to the executable.
|
|
|
|
|
Logged
|
|
|
|
Alb
Member

Posts: 74
|
 |
« Reply #2 on: December 16, 2010, 11:35:30 am » |
|
I added the full path to both .icewm/menu-utilities and /usr/share/applications/bleachbit-root.desktop:
prog "Bleachbit-root" "/usr/share/pixmaps/bleachbit.png" /sbin/bleachbit-root
[Desktop Entry] Version=1.0 Type=Application Name=BleachBit as Administrator Comment=Free space and maintain privacy Comment[it]=Libera spazio e mantiene la privacy GenericName=Unnecessary file cleaner GenericName[it]=Ripulisce file non necessari Terminal=false TryExec=/sbin/bleachbit-root Exec=/sbin/bleachbit-root Icon=/usr/share/pixmaps/bleachbit Categories=GTK;System; Encoding=UTF-8 StartupNotify=true
X-Desktop-File-Install-Version=0.10
Afterwards I launched update-icewm-menu.sh and it noticed and showed the new program bleachbit-root, but the entry was not added all the same (!?)
|
|
|
|
|
Logged
|
|
|
|
Alb
Member

Posts: 74
|
 |
« Reply #3 on: December 16, 2010, 11:54:45 am » |
|
I have to add this: If I try to launch bleachbit-root from command line I don't have to type /sbin/bleachbit-root as it does not work, but only bleachbit-root, and it works. So I edited bleachbit-root.desktop and took away the full path (I, just left it in .icewm/menu-utilities)
|
|
|
|
|
Logged
|
|
|
|
|
nightflier
|
 |
« Reply #4 on: December 17, 2010, 04:57:17 pm » |
|
I think I misread.. your list shows "/usr/sbin/bleachbit-root".. and there is also one named "/usr/bin/bleachbit-root"?
|
|
|
|
« Last Edit: December 17, 2010, 04:59:09 pm by nightflier »
|
Logged
|
|
|
|
Alb
Member

Posts: 74
|
 |
« Reply #5 on: December 18, 2010, 06:07:51 am » |
|
Hello, I'm a little confused.
Here are all the occurrencies of the search for bleachbit-root.
/etc/pam.d/bleachbit-root /etc/security/console.apps/bleachbit-root /usr/bin/bleachbit-root /usr/sbin/bleachbit-root /usr/share/applications/bleachbit-root.desktop
|
|
|
|
|
Logged
|
|
|
|
|
nightflier
|
 |
« Reply #6 on: December 18, 2010, 06:47:46 am » |
|
Do you have a link for where you obtained the package? I'd like to install it on a machine for trouble shooting.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
nightflier
|
 |
« Reply #8 on: December 19, 2010, 03:49:14 pm » |
|
I'm getting the same result as you did. Those "bleachbit-root" files are actually symbolic links, not sure exactly how that works, but it seems to affect how menu items are handled. Converting rpm packages sometimes give unexpected results.
The last version that I see for Slack 12.2 (vl6 compatible) is 0.5, pretty far behind the 0.8.x version. I'm will try to build a package using the current source and see how that works.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
nightflier
|
 |
« Reply #11 on: December 23, 2010, 10:44:34 pm » |
|
Glad it works for you.  Never looked into adding or deleting languages, don't know about that one.
|
|
|
|
|
Logged
|
|
|
|
pierce.jason
Packager
Vectorite
   
Posts: 250
|
 |
« Reply #12 on: January 13, 2011, 11:26:29 pm » |
|
I noticed that you can use bleachbit even for deleting files for unwanted languages (localizations). Do you know if there is another way to do it, too?
Some distro have a package called "localepurge". I haven't checked if VL does. Basically you select all locale in a config file, that you want to keep. Then as soon as you install a new package, the non-wanted locale(languages) are deleted. pierce.jason
|
|
|
|
|
Logged
|
pierce.jason Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
|
|
|
|