You are not logged in.

#1 2009-04-04 01:24:42

PvtVenom
Member
Registered: 2009-03-31
Posts: 13

Conky show xorg version number?

Hey all does anyone no a way to hve Conky show ur X.org version number? im on 1.6 btw

Offline

#2 2009-04-04 01:48:16

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

Re: Conky show xorg version number?

I guess technically you take the output of 'pacman -Qs xorg-server' and cut out the version number in between the spaces... But that's probably a hack around

Offline

#3 2009-04-04 02:04:44

PvtVenom
Member
Registered: 2009-03-31
Posts: 13

Re: Conky show xorg version number?

iono if that will work since it would also display the xserver utils package to

Offline

#4 2009-04-04 02:19:49

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Conky show xorg version number?

${texeci interval pacman -Q xorg-server | awk '{print $2}'}

Offline

#5 2009-04-04 03:33:17

PvtVenom
Member
Registered: 2009-03-31
Posts: 13

Re: Conky show xorg version number?

sorry Ronin-sage, ive got

TEXT
 $alignc -- ${texeci interval pacman -Q xorg-server | awk '{print $2}'} | $nodename - $sysname $kernel on $machine | Ram:$color $mem/$memmax | Swap:$color $swap/$swapmax | Root: $color${fs_used /}/${fs_size /} --

as the line of code to display stuff and i added ur code infront of the kernel info  but when i run conky it just shows ${texeci} | (rest of my conky info )

Offline

#6 2009-04-04 04:16:45

PvtVenom
Member
Registered: 2009-03-31
Posts: 13

Re: Conky show xorg version number?

ok sorry for the double post i got the correct code

${exec pacman -Q xorg-server}

smile

Offline

#7 2009-04-04 04:25:29

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Conky show xorg version number?

You have to actually change "interval" to whatever you want the...well, interval to be.

Offline

#8 2011-01-27 11:44:58

larvan
Member
Registered: 2010-11-15
Posts: 6

Re: Conky show xorg version number?

I know this is an old thread but here is an alternative code that I use:

${exec xdpyinfo | grep "X.Org version" | sed -n 's/.*: \([0-9.]*\)/\1/p'}

Pro: it is independent of distribution
Con: depends on xorg-xdpyinfo package

Offline

Board footer

Powered by FluxBB