You are not logged in.

#1 2011-09-12 16:25:10

Koven
Member
Registered: 2006-06-13
Posts: 154

Feh and xinitrc [Solved]

I followed instructions in this wiki link

https://wiki.archlinux.org/index.php/Fe … ound_image

but it's not working random image. If I run wallpaper.sh from terminal it works ok, but if I add this line in .xinitrc, nothing happens :

/home/user/wallpaper.sh 

I don't know If I'm missing something or what is going on.

Thanks

Last edited by Koven (2011-09-13 14:42:24)

Offline

#2 2011-09-12 16:42:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Feh and xinitrc [Solved]

Where did you add it exactly? Post your .xinirtc.

Offline

#3 2011-09-12 17:10:18

Koven
Member
Registered: 2006-06-13
Posts: 154

Re: Feh and xinitrc [Solved]

This is my xinitrc

koven@koven:~$ cat .xinitrc 
/home/koven/wallpaper.sh
koven@koven:~$ 

Thanks

Offline

#4 2011-09-12 17:13:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Feh and xinitrc [Solved]

Oh ...
What DE / WM are you using?

Offline

#5 2011-09-12 18:15:48

Koven
Member
Registered: 2006-06-13
Posts: 154

Re: Feh and xinitrc [Solved]

I'm using gnome 3, sorry i didn't say anything about it.

Offline

#6 2011-09-12 18:57:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Feh and xinitrc [Solved]

Offline

#7 2011-09-12 19:09:21

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Feh and xinitrc [Solved]

You should follow the link karol provided.

Since that's the only thing you have in your .xinitrc, I'm assuming you're launching gnome from gdm, which doesn't use .xinitrc. .xinitrc is only used when running the 'startx' command

Offline

#8 2011-09-12 21:30:40

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: Feh and xinitrc [Solved]

Well are you doing "sh /home/user/wallpaper.sh"? I think you have to put the sh infront of it. And after it put a &. So if that is the only line you have:

sh /home/user/wallpaper.sh &
exec exec ck-launch-session gnome-session

or whatever

Offline

#9 2011-09-13 14:42:05

Koven
Member
Registered: 2006-06-13
Posts: 154

Re: Feh and xinitrc [Solved]

Ok It worked like a charm. Well it was a misunderstanding problem. gnome-session-properties solved my day.

Thanks for your help Karol and Heleos for explaining why it didn't work.

BR

Offline

Board footer

Powered by FluxBB