Page 1 of 1

how to change wallpaper from command prompt [SOLVED]

Posted: 08 Dec 2012, 07:31
by phill42083
Hello,
I was wondering if it was possible and if so how to can change the desktop wallpaper from command prompt instead of doing it through the GUI. Thanks

Re: how to change wallpaper from command prompt

Posted: 09 Dec 2012, 09:24
by crashman
Hello phill42083

Try 'feh' package slackyd -g feh and install it, for change wallpaper:

feh --bg-scale /root/your-wallpaper.png

Re: how to change wallpaper from command prompt

Posted: 09 Dec 2012, 17:26
by brokenman
It really depends on what desktop environment you use. It may be possible through dbus or dcop but i wouldn't rely on this as a long term solution. Simplest way would be to swap the wallpaper porteus.jpg with the one you want to use and login again.

Code: Select all

cp /path/to/my/wallpaper.jpg /usr/share/wallpapers/porteus.jpg

Re: how to change wallpaper from command prompt [SOLVED]

Posted: 09 Dec 2012, 21:52
by phill42083
thanks so much for getting back to me, I tried the dcop and it worked perfect! I will try to just change the jpg file next. Thanks again!

Re: how to change wallpaper from command prompt [SOLVED]

Posted: 11 Dec 2012, 14:31
by cttan
Hi phill42083,

Can you pls share the dcop method?
Thank you.

Edited on 15 Dec 2012:-
I am getting error trying to run dcop.