02-18-2015, 06:44 AM
The /etc/skel directory contains files and directories that are automatically copied over to a new user's Home directory when such user is created by the useradd program.
A home directory, also called a login directory, is the directory on LL that serves as the repository for a user's personal files, directories and programs, including personal configuration files.
Here is what happened:
Nothing happened, and the icons should have changed.
I remember there was a couple threads where the users claimed they can't remove items from the whisker menu. This is related to that.
So something is wrong in the configuration, and that is this file /home/misko/.config/menus/xfce-applications.menu
I've changed /etc/skel to /home/misko restarted the panel and this fixed the problem.
Next command will change all occurances of /etc/skel to /home/user_name
Then all that should be done is to restart the panel.
Now the configuration is pointing to home/misko/.local/share/applications
A home directory, also called a login directory, is the directory on LL that serves as the repository for a user's personal files, directories and programs, including personal configuration files.
Here is what happened:
- I've opened two .desktop files, alacarte-made-8.desktop and alacarte-made-9.desktop, in /home/misko/.local/share/applications/ in order to change the default icons to the ones that a user submited in this thread
- Changed the lines Icon=... to
Code:
Icon=/usr/share/pixmaps/enable.png
Code:
Icon=/usr/share/pixmaps/disable.png
- Restarted the panel
Code:
dbus-send --print-reply --dest=org.xfce.Panel /org/xfce/Panel org.xfce.Panel.Terminate boolean:true
I remember there was a couple threads where the users claimed they can't remove items from the whisker menu. This is related to that.
So something is wrong in the configuration, and that is this file /home/misko/.config/menus/xfce-applications.menu
Code:
grep "/etc/skel" $HOME/.config/menus/xfce-applications.menu
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skell/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
<AppDir>/etc/skel/.local/share/applications</AppDir>
Next command will change all occurances of /etc/skel to /home/user_name
Code:
sed -i 's!/etc/skel!'$HOME'!g' $HOME/.config/menus/xfce-applications.menu
Code:
dbus-send --print-reply --dest=org.xfce.Panel /org/xfce/Panel org.xfce.Panel.Terminate boolean:true
Code:
grep "/home" $HOME/.config/menus/xfce-applications.menu
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/miskol/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>
<AppDir>/home/misko/.local/share/applications</AppDir>