You are not logged in.

#1 2012-03-20 19:37:51

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

conky in .xinitrc ?

Hi all,

i'm trying to autostart conky. I've added:

conky &

to ~/.xinitrc

but it won't load. I also added a xrandr option to ~/.xinitrc and this one does work.

here a sample:

xrandr --output DVI-0 --auto --left-of DisplayPort-0 --output DVI-1 --auto --right-of DisplayPort-0 
exec startxfce4 
conky &

PoC || GTFO

Offline

#2 2012-03-20 19:42:29

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: conky in .xinitrc ?

man exec

last line should be the exec, so the conky & should be before it.


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#3 2012-03-20 19:43:14

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

Re: conky in .xinitrc ?

conky will call a file in ~/.conkyrc
If you didn't gave that name to your config file you must start ir like this:

conky -c path/filename

Offline

#4 2012-03-20 19:43:36

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: conky in .xinitrc ?

Meyithi wrote:

man exec

last line should be the exec, so the conky & should be before it.

Ok, thanks, but will conky start before xfce4 is started ?, conky needs the gui right ?


PoC || GTFO

Offline

#5 2012-03-20 19:48:13

DerFlob
Member
From: Munich, Germany
Registered: 2011-09-18
Posts: 21

Re: conky in .xinitrc ?

This is how I do it. Just add it before the exec startxfce4

(sleep 10; conky -q) &

Offline

#6 2012-03-20 19:48:50

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: conky in .xinitrc ?

DerFlob wrote:

This is how I do it. Just add it before the exec startxfce4

(sleep 10; conky -q) &

nice tip. thanks


PoC || GTFO

Offline

Board footer

Powered by FluxBB