In /etc/X11/xdm/Xsession, the switchdesk path is to be detected by ------------------------------------------------------------------ # backward compatibility with old switchdesk directory if [ -f /usr/share/switchdesk/switchdesk-gui.py ] ; then SWITCHDESKPATH=/usr/share/switchdesk else SWITCHDESKPATH=/usr/share/apps/switchdesk fi ------------------------------------------------------------------ However, the file /usr/share/switchdesk/switchdesk-gui.py does not exist and SWITCHDESKPATH is set to "/usr/share/apps/switchdesk", although the Xclients.* files are located in /usr/share/switchdesk. Version-Release number of selected component (if applicable): xinitrc-3.41-1 and switchdesk-4.0.3-1 How reproducible: Always
Appears to be related to bug #122941
Than, what are your thoughts about this one? I haven't yet looked at the switchdesk package or investigated the code at hand here. Should I just remove all of the above, and hard code the path that is in our current switchdesk instead? TIA
Mike, hier is the patch, which should fix this problem --- /etc/X11/xdm/Xsession 2004-03-31 09:10:04.000000000 +0200 +++ Xsession 2004-06-17 17:24:03.845427726 +0200 @@ -29,7 +29,7 @@ fi # backward compatibility with old switchdesk directory -if [ -f /usr/share/switchdesk/switchdesk-gui.py ] ; then +if [ -d /usr/share/switchdesk ] ; then SWITCHDESKPATH=/usr/share/switchdesk else SWITCHDESKPATH=/usr/share/apps/switchdesk
Fixed in rawhide xinitrc-4.0.0-1
My $0.02: Is the switchdesk stuff relevent anymore? I mean, at least for gnome/kde, all switchdesk does is run gnome-session,startkde respectively, which is already (or should be) in xinitrc anyway. I would argue gutting switchdesk, and removing the (extra) dependancy on it altogether.