Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-12-15 18:08:09

DEF
Member
Registered: 2009-09-24
Posts: 12

Changing desktop layout on the fly.

Hi !

Some times ago (Xfce-4.6 i think), i created a script that can save the desktop layout, or can change it on the fly.

#######################
export userhome="/home/`whoami`"

/usr/bin/xfce4-panel -x
            killall xfconfd

            rm -rf $userhome/.config/xfce4/
            cp -r /etc/myXfceconfigs/xdg/xfce4/classic/xfce4 $userhome/.config/

setsid sh -c 'xfwm4 --replace ... & :' > /dev/null 2>&1 < /dev/null
setsid sh -c 'xfce4-panel& ... & :' > /dev/null 2>&1 < /dev/null
#######################

Foe Xfce-4.10 changed /usr/bin/xfce4-panel -x for /usr/bin/xfce4-panel -q, but the icon theme won't reload.
I now have to logout and login to get my new layout ok.

Any idea here ?

Offline

#2 2013-01-05 21:11:31

DEF
Member
Registered: 2009-09-24
Posts: 12

Re: Changing desktop layout on the fly.

Bump.

Offline

Board footer

Powered by FluxBB