You are not logged in.
By "screen" do you mean "desktop/workspace" or "monitor"?
Nitrogen on BL can set the background for screen/monitor, but not workspace. Ubuntu doesn't use Openbox as a window manager BTW.
Ref memleak - if you regularly reboot, or manually recover the memory, it isn't much of a problem. If you leave your machine on for days it would be.
I have two monitors on which I would find it very useful but since it has memory leak I will avoid using this script. Yes but you can install Nitrogen and use it anyway.
Offline
....
I have two monitors on which I would find it very useful but since it has memory leak I will avoid using this script. Yes but you can install Nitrogen and use it anyway.
If you just want to set backgrounds for different monitors then what is the problem? Just use Nitrogen.
If you want to have a different background for different workspaces in Openbox then use a script like this one (or search Crunchbang forums for conky or keybind solutions)
The Openbox wiki has links to different methods.
( One of the methods is to my python script on the Crunchbang forums, but the links are broken. See A way to have per desktop or random wallpapers in Openbox. This works by polling the current desktop, so is a bit resource-hungry)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
i'm working with my laptop on tv over hdmi in extend screen mode LAPTOP (LVDS 1366x768 and TV 1920x1080). Everytime i start the laptop the wallpaper gets stretched to both screens.
my nitrogen/bg-saved.cfg looks like this:
[:0.0]
file=/home/dt/Pictures/wallpapers/ennedi.png
mode=5
bgcolor=#2e3436
[xin_0]
file=/home/dt/Pictures/wallpapers/ennedi.png
mode=0
bgcolor=#000000
[xin_1]
file=/home/dt/Pictures/wallpapers/ennedi.png
mode=0
bgcolor=#000000
When i start nitrogen --save over commandline some Gtk-CRITICAL and GLib GObject errors
am i missing sth?
My next try was to change the order of calling the screenlayout in autostart before
nitrogen --restore. But things get worse - no wallpaper and i even cant set any wallpaper anymore ^^ After choosing wallpaper nitrogen disappears ...
UPDATE:Just restarted and i dont know why but it works now ..
## set Displays
/home/dt/.screenlayout/tv-hdmi.sh
## Set a wallpaper
nitrogen --restore
Last edited by tamer (2017-11-16 16:26:48)
Offline
Nitrogen has had issues with multiple desktops in the past. I typically use feh to set wallpapers on my three monitor desktop.
Offline
Also, the [:0.0] syntax is no longer used by nitrogen. I should delete that top section from bg-saved.cfg anyway.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I have problem with starting script.
./wallpapersd: line 99: syntax error near unexpected token `killall'
./wallpapersd: line 99: ` killall wallpapersd'
Offline
Line #99 should be...
NUM_DESKTOPS=$(xprop -root _NET_NUMBER_OF_DESKTOPS)
Did you copy and paste the code properly?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
If you just want to set backgrounds for different monitors then what is the problem? Just use Nitrogen.
How can one achieve this?
This is my bg-saved.cfg
[xin_-1]
file=/home/albert/Pictures/wallpapers/think.jpg
mode=1
bgcolor=#001e44
[:0.0]
file=/home/albert/Pictures/wallpapers/think.jpg
mode=5
bgcolor=#000000
and this is my nitrogen.cfg
[geometry]
posx=3186
posy=173
sizex=450
sizey=500
[nitrogen]
view=list
recurse=true
sort=alpha
icon_caps=false
dirs=/home/albert/Pictures/wallpapers;
This is my xrandr
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-I-0 --mode 1360x768 --pos 0x0 --scale-from 1912x1080 --rotate normal &
I am lost my current wallpaper stretches over two desktops and it is a quote and it looks... shit.
I don't have patience or skill to dig deep enough every time system breaks itself or when I break something because of lack of patience and skill.
nore, 23 Feb 2019
Offline
Your bg-saved.cfg is using an old format. Which version of BL are you using?
FWIW here is my bg-saved.cfg for comparison. Note that each screen uses "xin_".
[xin_1]
file=/home/damo/images/wallpapers/bamboo-bird2.png
mode=5
bgcolor=#001e44
[xin_0]
file=/home/damo/images/wallpapers/bunsen/default/BL-beam-plain.png
mode=5
bgcolor=#001e44
When setting backgrounds, nitrogen should give you options to set the image as Full Screen, Screen 1, Screen 2 etc.
If you want the same image on 2 monitors then set it as both Screen 1 and Screen 2
PS: For Help with Nitrogen you should be posting in Help & Support, so this thread isn't derailed
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline