You are not logged in.

#1 2014-12-29 05:25:33

dannybtx
Member
Registered: 2014-12-24
Posts: 6

error when running Nitrogen

I am trying to run the command 'nitrogen home/dan/Pictures/Wallpapers/wallpaper1.jpg' to set my wallpaper, but this is the error that is being produced.  I looked up Gtk, and figure it is gimp.  So I downloaded gimp, but I am still receiving this same error:

"ERR: Could not load "image-loading" from icon theme, this indicates a problem with your Gtk/Gtkmm install.
Could not open dir /home/dan/Pictures/Wallpapers/wallpaper1.jpg: Error opening directory '/home/dan/Pictures/Wallpapers/wallpaper1.jpg': Not a directory"

I would appreciate any help.

Offline

#2 2014-12-29 05:33:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: error when running Nitrogen

I don't think that is how nitrogen works: read the man page to be sure, but I think you create a conf file with the image you want displayed.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-29 05:36:50

dannybtx
Member
Registered: 2014-12-24
Posts: 6

Re: error when running Nitrogen

jasonwryan wrote:

I don't think that is how nitrogen works: read the man page to be sure, but I think you create a conf file with the image you want displayed.

This is the page I was following: https://wiki.archlinux.org/index.php/nitrogen

When I run the "nitrogen home/dan/Pictures/Wallpapers/wallpaper1.jpg" command, a GUI opens, but no image appears where it should.  This makes me think I am using it the correct way, but with errors.

EDIT: The linux man page, to my understanding, confirms that I am using it correctly.  Apparently, I use the nitrogen command to set the desktop background and the '--restore' option in the .xinitrc file.

Last edited by dannybtx (2014-12-29 05:40:19)

Offline

#4 2014-12-29 06:21:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: error when running Nitrogen

Well both the wiki page and the man page specify to hand nitrogen a path to a directory, not a file...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-12-29 10:53:55

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: error when running Nitrogen

This is not how Nitrogen works, mate. It's a graphical application to select wallpapers. To make your selection persistent (meaning that the last wallpaper selected will always be shown by default), you need to add the following to your startup routine:

nitrogen --restore &

If you would prefer to set wallpapers the way you have described above, then something like feh would be what you are looking for.

Last edited by CarlD (2014-12-29 10:54:36)

Offline

#6 2014-12-29 14:24:39

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: error when running Nitrogen

I recommend the excellent `setroot` utility -- it makes feh look like a bloat-monster smile
https://bbs.archlinux.org/viewtopic.php?id=189602


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB