Hi,
Ok, for anyone who would like to know this is how I was able to share my xfce panel set-up.
1. Create a template account (lets call this user template) and set up the panels and launchers as you want them.
2. In the /etc/skel directory create a directory called .config:
Code:
sudo mkdir /etc/skel/.config
3. Into this directory copy the .config/xfce from the template account:
Code:
sudo cp -r /home/template/.config/xfce /etc/skel/.config
Now when you log in as a new user they should see the panels and launchers that you set up as default.
The question about the Places and the missing folders. From what I understand when Thunar is run for the very first time it creates a .gtk-bookmarks file in the format:
Code:
file:///home/<username>/Documents Documents
To fix this so that a new user can immediately see the folders under Places I do the following:
1. In /etc/X11/Xsession.d create a file called 95x11bookmarks:
Code:
cd /etc/X11/Xsession.d
gksu leafpad 95x11bookmarks
2. In this file add:
Code:
if [ -f ~/.gtk-bookmarks ]; then
echo "" > /dev/null
else
echo "file:///$HOME/Documents Documents" > ~/gtk-bookmarks
echo "file:///$HOME/Downloads Downloads" >> ~/gtk-bookmarks
echo "file:///$HOME/Music Music" >> ~/gtk-bookmarks
echo "file:///$HOME/Pictures Pictures" >> ~/gtk-bookmarks
echo "file:///$HOME/Videos Videos" >> ~/gtk-bookmarks
fi
My understanding is that the files in Xsession.d are run when a user logs in. If the user is new there will be no .gtk-bookmarks, so the above script creates the file.
Bookmarks