You are not logged in.

#1 2014-07-20 20:18:23

unlimitedbacon
Member
Registered: 2012-07-16
Posts: 18

[Solved] Using Nitrogen with Cinnamon

Does anyone know how to stop Cinnamon from setting the desktop background on login? I'm trying to use nitrogen because it has better options for multiple monitors. I have "nitrogen --restore" in my startup programs, but Cinnamon immediately overrides it. Setting a delay doesn't help either.

Last edited by unlimitedbacon (2014-09-07 02:31:48)

Offline

#2 2014-07-21 00:42:06

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Using Nitrogen with Cinnamon

I never used Cinnamon for long, so I am a novice here. According to wiki ~/.cinnamon/backgrounds holds the wallpapers. What if you symlink it into nirvana?

mv ~/.cinnamon/backgrounds{,.disabled} && ln -sv /dev/null ~/.cinnamon/backgrounds

Although it probably will fallback to the stock ones from /usr/share/somewhere.

Last edited by emeres (2014-07-21 00:43:09)

Offline

#3 2014-07-21 08:07:46

unlimitedbacon
Member
Registered: 2012-07-16
Posts: 18

Re: [Solved] Using Nitrogen with Cinnamon

Interesting idea but it didn't work. The Cinnamon's background control panel stopped working, but it still setting the same wallpaper as before.

Offline

#4 2014-07-21 09:35:35

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Using Nitrogen with Cinnamon

Was the same wallpaper in the background folder before? Maybe doing the above for one file wihing backgrounds folder would be a progress. There must be some configuration files in ~/.cinnamon with naming the current wallpaper, maybe it accepts 'none' value. Also check ~/.local recursively and gsettings/gconftool.

Last edited by emeres (2014-07-21 09:36:58)

Offline

#5 2014-07-26 14:32:41

dRaiser
Member
From: Poland
Registered: 2013-05-20
Posts: 51
Website

Re: [Solved] Using Nitrogen with Cinnamon

Obviously this is workaround rather then actual solution, but I just have a cron-job which runs nitrogen --restore every minute. Why that way? Because Cinnamon periodically resets to "it's" wallpaper, not only once.

Offline

#6 2014-07-26 15:31:28

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Using Nitrogen with Cinnamon

If it has not been requested so far as a feature, to disable the whole background management, maybe now is a good time. Also it may be worth to take a look at cs_backgrounds.py and find out if it is being called periodically or how the background setting process works, and then change it accordingly.

/usr/lib/cinnamon-settings/modules/cs_backgrounds.py

Offline

#7 2014-08-03 03:59:21

unlimitedbacon
Member
Registered: 2012-07-16
Posts: 18

Re: [Solved] Using Nitrogen with Cinnamon

I tried changing org.cinnamon.desktop.background.picture-uri to "file:///dev/null" in dconf, but it still sets the background to a flat color. Looks like dRaiser's method is the only way to do it right now. Going to put in a feature request.

Offline

#8 2014-08-06 12:09:28

dRaiser
Member
From: Poland
Registered: 2013-05-20
Posts: 51
Website

Re: [Solved] Using Nitrogen with Cinnamon

It's still better then Gnome, where Nitrogen cannot be forced to run (and Gnome & Cinnamon sucks for dual/triple+ monitors with different wallpapers).

Offline

#9 2014-09-07 02:20:54

unlimitedbacon
Member
Registered: 2012-07-16
Posts: 18

Re: [Solved] Using Nitrogen with Cinnamon

This issue has been addressed in the Cinnamon nightly builds.

https://github.com/linuxmint/Cinnamon/issues/3405

Offline

#10 2014-09-07 02:30:32

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Using Nitrogen with Cinnamon

Should you consider this issue solved, then please mark the thread as such.

Offline

Board footer

Powered by FluxBB