FS#18300 - [rss-glx] Fix for path for installed executables
Attached to Project:
Community Packages
Opened by Gerardo Exequiel Pozzi (djgera) - Friday, 12 February 2010, 00:19 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 16 March 2010, 15:39 GMT
Opened by Gerardo Exequiel Pozzi (djgera) - Friday, 12 February 2010, 00:19 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 16 March 2010, 15:39 GMT
|
Details
Description: Executables are currently installed on /usr/bin
but should be in /usr/lib/xscreensaver. This is the path
that xscreensaver will look first, and the only path that
kxsrun (KDE) understands, so at this moment these
screensaver does not work under KDE. If you look at
xscreensaver, it install executables in this path, not in
/usr/bin.
Also fixing this, avoid rename of "plasma", and make it to work. Patch attached against latest trunk. Additional info: rss-glx-0.9.1-1 |
This task depends upon
Closed by Ionut Biru (wonder)
Tuesday, 16 March 2010, 15:39 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9.1-4
Tuesday, 16 March 2010, 15:39 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9.1-4
Nope "kxsrun /usr/bin/lattice" will look at "/usr/lib/xscreensave/usr/bin/lattice". (I was tried this) So changing *.desktop is not useful.
1) Other option is generating symlinks at /usr/bin to /usr/lib/xscreensaver/*. (with special symlink name for "plasma")
2) Keep like now, but generate symlinks at /usr/lib/xscreensaver to /usr/bin/*. (rename executable needed)
2) Keep like now, but leave a msg in .install that for work with KDE should create a symlinks for each executable at /usr/lib/xscreensaver.
Otherwise all /usr/share/applnk/System/ScreenSavers/* and /usr/share/applnk/System/ScreenSavers/* does not work.
I prefer the first option.
[Desktop Entry]
Name=${name}
Comment=${desc}
TryExec=${trycmd}
Exec=${cmd} -r
StartupNotify=false
Terminal=false
Type=Application
Categories=GNOME;Screensaver;
In AUR there are two packages, one for GNOME [#1] and one for KDE [#2]. Acording to comments in rss-glx-gnome, just with symlinks executables works in gnome. (My proposed option 1). And rss-glx-kde apparently seems that is not working.
[#1] http://aur.archlinux.org/packages.php?ID=31769
[#2] http://aur.archlinux.org/packages.php?ID=21733
Does not work on KDE. Screensavers are not listed under KDE screensaver configuration (.desktop files are not KDE compatible). Only works if cp /usr/share/applnk/System/ScreenSavers/biof.desktop /usr/share/applications/screensavers/biof.desktop
What about doing some merge betweent these two files, and make both desktopworlds, compatible? :P Can you try this patch for .desktop file for GNOME? apply to /usr/share/applications/screensavers/biof.desktop
This change make screensaver KDE compatible ;)
in reverse? I can remove /usr/share/applnk/System/ScreenSavers/* without any issues. (at least on my system there are no more files under /usr/share/applnk/), but can't work if remove /usr/share/applications/screensavers/