Hi all,
I'm running Linpus Lite in Vmware. There exists a shortcut in panel with which it is possible to
switch between the two desktop modes. This shortcut calls the shell script /etc/rc.d/session/switch-desk.sh .
Could some One owner look up if there is such a script available? Or the specified files?
It shouldn't be that hard to modify this script to be run on the One.
gr33tz,
Tybor
I'm running Linpus Lite in Vmware. There exists a shortcut in panel with which it is possible to
switch between the two desktop modes. This shortcut calls the shell script /etc/rc.d/session/switch-desk.sh .
Code:
#! /bin/sh
#touch /tmp/.switch
echo $HOME > /tmp/X_status
echo $USER >> /tmp/X_status
mkdir $HOME/.config/xfce4/panel -p
mkdir $HOME/.config/xfce4/mcs_settings -p
#sudo init 3
#sudo killall xdm > /dev/null 2>&1
#sudo killall X
###################
if [ -e /tmp/desktop ]; then
sudo /bin/cp -f /etc/rc.d/session/xfce4-session.rc.new /etc/xdg/xfce4-session/xfce4-session.rc
sudo /bin/cp -f /etc/rc.d/session/panels.xml.new $HOME/.config/xfce4/panel/panels.xml
sudo /bin/cp -f /etc/rc.d/session/desktop.xml.new $HOME/.config/xfce4/mcs_settings/desktop.xml
sudo rm -f /tmp/desktop
else
sudo /bin/cp -f /etc/rc.d/session/xfce4-session.rc.desktop /etc/xdg/xfce4-session/xfce4-session.rc
sudo /bin/cp -f /etc/rc.d/session/panels.xml.desktop $HOME/.config/xfce4/panel/panels.xml
sudo /bin/cp -f /etc/rc.d/session/desktop.xml.desktop $HOME/.config/xfce4/mcs_settings/desktop.xml
sudo touch /tmp/desktop
fi
# rm -f /tmp/.switch
###############
sudo /usr/sbin/gdm-stop
#startxfce4 &
It shouldn't be that hard to modify this script to be run on the One.
gr33tz,
Tybor