-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autostart nitrogen --restore doesn't work #86
Comments
Same here. It does not work when invoked from script. But it works as expected when typed in terminal window. Update.
If I click Apply from GUI it write changes [:0.0] section, but keeps restoring what is in [xin_-1]. |
but this is working? vlw fwi, Holmes :) |
@holmeslinux yes this is working... somehow. I've got wallpaper from [:0.0] section after reboot, and [xin_-1] after logout/login. |
The mechanism for detecting what backend should be used has changed since 1.5.2 - whereas before, Xinerama would only be used if more than one screen was detected, now Xinerama is used as long as the X server reports the extension is present. This means that configurations created with 1.5.2 will have incorrect keys by 1.6.0's standard. @tomicp, have you used the GUI to save a new background since upgrading? If not, you'll have to - you should see a @napcok This is concerning. It sounds like there's a time that Nitrogen detects Xinerama is present versus a time that it thinks it is not present? If you're comfortable building from source, use
If you could do this and report what it says when invoked from a command line vs when you run your script (presumably at startup), this would be helpful in tracking down the issue. |
Yes, I did use Gui to save new wallpaper but i dont have [xin_] group in bg-saved.cfg file. [:0.0] Here is output from terminal... |
hi all, UNKNOWN ROOT WINDOW TYPE DETECTED, will attempt to set via normal X procedure i'm using JWM. vlw fwi, Holmes :) |
@holmeslinux, @tomicp would also be interested to see what you get when you do (as a matter of style, either use gist.github.com or wrap your output in <details></details>) |
@daf with --enable-debug=yes I have.
after logout/log in
then running from terminal again shows root window type 3 With different root window type I got different wallpaper :) |
hi, vlw fwi, Holmes :) |
Thanks all for the help. I've discovered an issue with Nitrogen and Conky (with @napcok / @tomicp are either of you running Conky with these settings? This might be your issue as well (or something similar). |
yes I have conky 1.10.5.1 installed, but even with all disabled startup programs, it doesn' work. #xset b off |
@daf Yes I have conky runninig too. |
Folks, I have a work in progress refactor I've just pushed to https://github.com/l3ib/nitrogen/tree/rootdetect . I have to finish some corner cases but this is working for my reproduced setup and is also cleaning up code in the process. If anyone could try and report if it fixes issues I'd be grateful, thanks! |
I am confused @daf ... has this issue been resolved and pushed to debian maintainer? With VSIDO (Debian Sid distro) we have Nitrogen 1.6.0 installed and must alter the order that nitrogen starts in the fluxbox startup so that it will restore correctly IF own_window_type desktop is what is setup in conky .. this is the default settings in VSIDO .. I do not mind altering how things start on startup, I am just curious if there is code that corrects the entire issue |
@VastOne the fix is in master but not yet released. I'm trying to fix a few more issues before 1.6.1 is released (and can then be packaged). |
@daf Thank you and Happy New Year! |
@daf Compiled the latest commit, but nitrogen still doesn't restore the wallpaper after a cold boot... Am I doing something wrong? |
@andoruB doubt it's you, it's likely the software! What environment are you running? If you can |
Is it possible to make Nitrogen drop a log instead? I'm launching it from OB's autostart file at boot. EDIT: Seems to also be a Conky issue. I tried running Nitrogen without performing a cold boot first, here's what I got in STDOUT:
|
Oh, strange, it's a capitalization issue! My version of conky that I was testing against produces |
Will try out the latest commit, and I'll let you know! :) |
I'm having this problem with Fedora 25, Fluxbox and Nitrogen 1.6.0 It will start from the command line, but not from the fluxbox/startup file. This is a livecd and worked previously with no problems and currently testing under kvm. I have updated the Nitrogen config files as below. I am getting the UNKOWN ROOT WINDOW TYPE DETECTED error message even when nitrogent --resstore works from a terminal. Any work-around? cat > /home/liveuser/.config/nitrogen/bg-saved.cfg << FOE cat > /home/liveuser/.config/nitrogen/nitrogen.cfg << FOE [nitrogen] |
Whoops! I forgot to let you guys know that now Nitrogen works as expected here. |
Hi @boydkelly, this is fixed in 1.6.1 which was released about 2 weeks ago. It may not yet be packaged for your distro. |
Uhhh, yeah. @boydkelly, I'll get on the Fedora package tonight :) |
I got a solution: install feh and instead of nitrogen --restore put this on autostart in case of using
|
Autostart 'nitrogen --restore &' from openbox in Arch linux doesn't work since version 1.6!
With version 1.5.2-4 everything works as expected!?
The text was updated successfully, but these errors were encountered: