You are not logged in.
The official line is:" By default backgrounds are handled by Nitrogen, accessed through the menu under Settings –> Choose Wallpaper. Bundled wallpapers are stored in ~/images/wallpapers/shared/backgrounds although you can add your own to ~/images/wallpapers/shared and they will automatically show up in the Nitrogen selection menu."
But can I set my wallpaper with the terminal instead of the Nitrogen-gui? If so, how?
Offline
sudo aptitude install hsetroot
Then:
hsetroot -fill ~/images/wallpaper/image
To set it...
You can replace the "nitrogen" line in the openbox autostart file with the hsetroot line above
Offline
Yep, that worked. Thank you !#Cat.
Offline
You're welcome Member
Please edit the title of your first post & put "[SOLVED]" at the start to help others looking for this answer...
Offline
You can also use feh (which is what I use) From the manpages
BACKGROUND SETTING
feh can also be used as a background setter. Unless you pass the --no-fehbg option, it will store the command
line necessary to set the background in ~/.fehbg, so to have your background restored every time you start X,
you can add "eval $(cat ~/.fehbg)" to your X startup script (like ~/.xinitrc).
For the --bg-center and --bg-max options, you can use the --geometry option to specify an offset from one side
of the screen instead of centering the image. Positive values will offset from the left/top side, negative
values from the bottom/right. +0 and -0 are both valid and distinct values.
Note that all options except --bg-tile support Xinerama. For instance, if you have multiple screens connected
and use e.g. --bg-center, feh will center or appropriately offset the image on each screen. You may even
specify more than one file, in that case, the first file is set on screen 0, the second on screen 1, and so on.
Use --no-xinerama to treat the whole X display as one screen when setting wallpapers.
--bg-center
Center the file on the background. If it is too small, it will be surrounded by a black border
--bg-fill
Like --bg-scale, but preserves aspect ratio by zooming the image until it fits. Either a horizontal or
a vertical part of the image will be cut off
--bg-max
Like --bg-fill, but scale the image to the maximum size that fits the screen with black borders on one
side.
--bg-scale
Fit the file into the background without repeating it, cutting off stuff or using borders. But the
aspect ratio is not preserved either
--bg-tile
Tile (repeat) the image in case it is too small for the screen
--no-fehbg
Do not write a ~/.fehbg
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
or just use nitrogen;
nitrogen --set-centered /path/to/file.png
Last edited by brontosaurusrex (2014-08-25 13:39:12)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat