Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 01-28-2012, 12:24 PM   #1
Registered: Aug 2011
Location: $HOME
Distribution: Slackware, FreeBSD, Debian
Posts: 50

Rep: Reputation: 1
Different wallpaper for each workspace with .xinitrc

I tried KDE 4.7 on a USB stick for a little while when it had just come out, and one of the features I liked most about it was the ability to have a different wallpaper for each workspace. I'm on Slackware 13.37 and running dwm, but I was wondering if there was any way I could modify my ~/.xinitrc to do just that. I've looked around Google but couldn't find anything.

Old 01-28-2012, 03:54 PM   #2
Ian John Locke II
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
In dwm, you can change the function which changes the displayed tag. I would change the function itself, but create a new one which given a list of strings (which are like "/path/to/file.jpg") and calls "xv" with the proper settings to set the background. The only problem with this is you'll have to recompile dwm every time you want to change the background.

You could also write a bash script which based upon it's command line arguments changes the background for you. This would not require you to re-compile dwm each time you want to change the background list.

Last edited by Ian John Locke II; 01-28-2012 at 03:58 PM. Reason: Add other option
1 members found this post helpful.


dwm, wallpaper, xinitrc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WorkSpace hangs switch to 2nd WorkSpace also hung ken poy Linux - Newbie 2 08-14-2010 09:07 AM
workspace names in "switcher workspace boxes" problem petesasha Linux Mint 0 11-20-2009 02:37 PM
Refreshing Desktop Wallpaper - Address of Wallpaper beanus Linux - Desktop 4 07-16-2007 02:57 PM
Gnome 2: Multiple desktop wallpaper images per workspace animehair Linux - Software 4 07-26-2005 08:58 PM
Wallpaper: SLide show wallpaper from online pictures eponymous Linux - Software 0 11-29-2004 02:28 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration