Sorry,

missed this one:


/usr/local/bin/fn_resizepanel.sh

if [ -e  ~/.kde/share/config/plasma-desktop-appletsrc  ]; then

SESSIONDP=`x2golistdesktops |cut -d : -f 2`
export DISPLAY=:${SESSIONDP}

WSIZE=`xdpyinfo |grep -i dimensions|awk '{print $2}'|cut -d x -f 1`
HSIZE=`xdpyinfo |grep -i dimensions|awk '{print $2}'|cut -d x -f 2`

kwriteconfig --file ~/.kde/share/config/plasma-desktop-appletsrc --group 
Containments --group 1 --key geometry 0,0,${WSIZE},${HSIZE}


kwriteconfig --file ~/.kde/share/config/plasma-desktop-appletsrc --group 
Containments --group 3  --key geometry 0,-51,${WSIZE},45

kwriteconfig --file ~/.kde/share/config/plasma-desktop-appletsrc --group 
Containments --group 3 --group Configuration --key minimumSize  ${WSIZE},45

kwriteconfig --file ~/.kde/share/config/plasma-desktop-appletsrc --group 
Containments --group 3 --group Configuration --key maximumSize  ${WSIZE},45

kwriteconfig --file ~/.kde/share/config/plasma-desktop-appletsrc --group 
Containments --group 1 --group Wallpaper --group image --key wallpaperposition 
2

_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to