We will use the last post for setting a wallpaper ans make it work in dolphin / konquerer file managers Action menu ;-)
- Make a new folder called ServiceMenus - normaly it does not exist by default
mkdir /home/user/.kde4/share/kde4/services/ServiceMenus
- create a text file with .desktop extension
- copy the following text into it using the text editor of your choosing - I like nano or kate.
[Desktop Entry]
Encoding=UTF-8
ServiceTypes=KonqPopupMenu/Plugin,image/*
TryExec=/home/user/bin/scripts/conwall.sh
Type=Service
Actions=chwall;
TryExec=/home/user/bin/scripts/conwall.sh
[Desktop Action chwall]
Name=Change wallpaper
Icon=ksplash
Exec=/home/user/bin/scripts/conwall.sh %f
- change the user with the account name of the user.
- right click on any image in the above file managers and you should see "Change wallpaper" option in the Action menu.
No comments:
Post a Comment