In customizing my Linpus desktop to my liking, I have found the need to frequently edit the group-app.xml file using mousepad. So i have created an icon on my desktop under the files panel to do just that.
To do this I open up a Terminal and entered:
cd /home/user/.config/xfce4/desktop (this step is optional - only for creating a backup)
cp group-app.xml group-app.xml.bak (this step is optional - only for creating a backup)
mousepad /home/user/.config/xfce4/desktop/group-app.xml
I then went down past the <id>8</id> section and enter a new line with the following:
<app sequence="5">/usr/share/applications/Mousepad.desktop</app>
(Make sure that the sequence value is unique within the section, in my case I used "5")
I save this file and then entered:
sudo mousepad /usr/share/applications/Mousepad.desktop
This opens a new file which I filled with the following lines:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=MousePad
Comment=MousePad Editor
GenericName=Mousepad
Exec=mousepad /home/user/.config/xfce4/desktop/group-app.xml
Icon=mousepad
Terminal=false
Type=Application
Categories=System;Utility;
StartupNotify=true
I save this file and rebooted. Now I have the mousepad icon set to edit the group-app.xml file.
As always, be very careful when editing these configuration files.
To do this I open up a Terminal and entered:
cd /home/user/.config/xfce4/desktop (this step is optional - only for creating a backup)
cp group-app.xml group-app.xml.bak (this step is optional - only for creating a backup)
mousepad /home/user/.config/xfce4/desktop/group-app.xml
I then went down past the <id>8</id> section and enter a new line with the following:
<app sequence="5">/usr/share/applications/Mousepad.desktop</app>
(Make sure that the sequence value is unique within the section, in my case I used "5")
I save this file and then entered:
sudo mousepad /usr/share/applications/Mousepad.desktop
This opens a new file which I filled with the following lines:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=MousePad
Comment=MousePad Editor
GenericName=Mousepad
Exec=mousepad /home/user/.config/xfce4/desktop/group-app.xml
Icon=mousepad
Terminal=false
Type=Application
Categories=System;Utility;
StartupNotify=true
I save this file and rebooted. Now I have the mousepad icon set to edit the group-app.xml file.
As always, be very careful when editing these configuration files.