You are not logged in.

#1 2010-05-04 00:31:24

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

system info on desktop

hi, i want the system info like uptime, ram and cpu useage etc to be on my desktop like in DSL as default, how do i add it?

Offline

#2 2010-05-04 00:32:14

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: system info on desktop

Conky?


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2010-05-04 00:34:33

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

that appears to be it, thank you!

Offline

#4 2010-05-04 00:37:13

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

one question, how do i edit the position of conky and the colors/transparency?

Offline

#5 2010-05-04 00:54:08

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: system info on desktop

supaflyx3 wrote:

one question, how do i edit the position of conky and the colors/transparency?

Its all done via a config file that is in your home directory.

Check out this thread for LOTS of examples:
http://bbs.archlinux.org/viewtopic.php?id=39906


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#6 2010-05-04 01:30:17

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

i've set up a conky "theme" but get boxes in random places, im pretty sure its a font issue but every single conky "theme" ive tried gives me that issue, see the screenshot below for an example

Last edited by supaflyx3 (2010-05-04 02:08:13)

Offline

#7 2010-05-04 01:45:15

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

Re: system info on desktop

Yes - use only fonts that are installed on your system. And please do not post full sized screen shots, use thumbnails:

http://wiki.archlinux.org/index.php/Forum_Etiquette


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2010-05-04 01:53:04

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

sorry >_> ive tried pacman -S *fontname* but nothing comes up sad guess i have to compile them myself, or...?

Offline

#9 2010-05-04 02:03:57

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

Re: system info on desktop

I tell you what, you replace that billboard with a thumbnail, and I'll tell you what the magic command is to install the fonts you need.

Note: you'll need to tell me the names of the fonts...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2010-05-04 02:10:25

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

openlogos & andale mono
congrats on the 1000th post btw smile

Offline

#11 2010-05-04 02:25:21

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

Re: system info on desktop

Openlogos: http://aur.archlinux.org/packages.php?ID=17219
Andale Mono:

pacman -S ttf-ms-fonts

congrats on the 1000th post btw

Thanks! That rolled around fast...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2010-05-04 02:32:46

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: system info on desktop

jasonwryan wrote:

Openlogos: http://aur.archlinux.org/packages.php?ID=17219
Andale Mono:

pacman -S ttf-ms-fonts

congrats on the 1000th post btw

Thanks! That rolled around fast...

I'm almost around to 500! big_smile

Anyway, I usually keep my conky config links in my signature. I think the one in there now is a config that accents dark themes well. You may want to check it out wink

Last edited by cesura (2010-05-04 02:33:06)

Offline

#13 2010-05-04 02:37:19

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

that didnt seem to work sad
still have random boxes, and those are the only fonts listed.

Offline

#14 2010-05-04 02:47:10

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

Re: system info on desktop

Did you reload your font cache?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2010-05-04 03:05:06

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

no i did not, how do i do that? sad

Offline

#16 2010-05-04 03:08:41

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

Re: system info on desktop

The wiki has a good page on fonts that explains that and more...

http://wiki.archlinux.org/index.php/Fonts


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2010-05-04 03:23:12

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

that didnt work either, would it have to do with xft?

Offline

#18 2010-05-04 03:36:04

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

Re: system info on desktop

I wouldn't think so: post your .conkyrc


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#19 2010-05-04 03:42:41

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

alignment top_right
background yes                          # fork process

color0 1C1C1C                           # section header

double_buffer yes                       # may reduce flicker
default_color BBBBBB
draw_outline no                         # draw text outline
draw_shades no                          # draw shades

gap_x 10                                # right (x) / top (y) screen-gaps
gap_y 45

own_window yes                          # required with nautilus
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

update_interval 3.0                     # update interval in seconds
use_spacer yes                          # prevent shifting when output changes

use_xft yes                             # font settings
xftalpha 0.8
xftfont andale mono:size=8
uppercase no

# Note: cpugraph, downspeedgraph, & upspeedgraph colors
# Gradient1: ffffff - white
# Gradient2: 00A2FF - bright / light blue

TEXT                                    # the following creates onscreen format

${color0}${font openlogos:bold:size=20}B$font $nodename > ${uptime} ${hr 1}$color
$sysname $kernel / $machine
${if_running gmpc}
${color0}MPD - Status: <${mpd_status}> PCM Vol: ${mpd_vol}% ${hr 1}$color 
Artist  : ${mpd_artist}
Album   : ${mpd_album}
Track   : ${mpd_track}
Title   : ${mpd_title}
${mpd_bar 15}
            Progress: ${mpd_percent}%  |  ${mpd_elapsed} / ${mpd_length}
${endif}
${color0}CPU  > ${freq}MHz ${hr 1}$color
Avg. Load Over 1, 5, 15 minutes: ${loadavg}
Current Load: $cpu% $cpubar
${cpugraph 15,310 ffffff 00A2FF}

${color0}PROCESSES  > ${processes} / ${running_processes} ${hr 1}$color
NAME                     PID       CPU%      MEM%
${top name 1}         ${top pid 1}   ${top cpu 1}    ${top mem 1}
${top name 2}         ${top pid 2}   ${top cpu 2}    ${top mem 2}
${top name 3}         ${top pid 3}   ${top cpu 3}    ${top mem 3}
${top name 4}         ${top pid 4}   ${top cpu 4}    ${top mem 4}

${color0}MEMORY / SWAP > $memmax / $swapmax ${hr 1}$color
RAM :  $mem / $memperc%${alignr}${membar 6,130}
Swap:  $swap / $swapperc%${alignr}${swapbar 6,130}
I/O :  ${diskio}${alignr}${diskiograph 6,130}

${color0}DISK > /dev/sdc ${hr 1}$color
/home ${fs_free /home} / ${fs_free_perc /home}%  ${fs_bar 6 /home}
/usr ${fs_free /usr} / ${fs_free_perc /usr}%  ${fs_bar 6 /usr}

${color0}NETWORK > ${addr eth0} ${hr 1}$color
${downspeedgraph eth0 15,150 ffffff 00A2FF}  ${upspeedgraph eth0 15,150 ffffff 00A2FF}
Down / Up Speed:  ${downspeed eth0} k/s  /  ${upspeed eth0} k/s
Down / Up Bytes:  ${totaldown eth0}  /  ${totalup eth0}
Inbound / Outbound / Total: ${tcp_portmon 1 32767 count}  /  ${tcp_portmon 32768 61000 count}  /  ${tcp_portmon 1 65535 count

${execi 60 tail -1 ~/.zzlog/smart/sda.log}
${execi 60 tail -1 ~/.zzlog/smart/sdb.log}
${execi 60 tail -1 ~/.zzlog/smart/sdc.log}

${execi 30 sensors |grep VCore |cut -c1-18}
${execi 30 sensors |grep Graphics |cut -c1-18}

Offline

#20 2010-05-04 03:56:33

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

Re: system info on desktop

Try it with

xftfont: Liberation sans:size=8

To see if that works...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2010-05-04 04:02:27

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

nope that doesnt work sad

Offline

#22 2010-05-04 04:19:34

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

Re: system info on desktop

I am assuming that you have gmpc/mpd installed - otherwise, there is nothing in the conkyrc that suggests why it would be doing it. If that is the case, I'd start from a very vanilla conky, and build it up bit-by-bit until you have the functionality that you want...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#23 2010-05-04 04:26:23

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

gmpc? sad

Offline

#24 2010-05-04 04:31:26

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

Re: system info on desktop

There is a section in your conkyrc about displaying music:

${if_running gmpc}
${color0}MPD - Status: <${mpd_status}> PCM Vol: ${mpd_vol}% ${hr 1}$color 
Artist  : ${mpd_artist}
Album   : ${mpd_album}
Track   : ${mpd_track}
Title   : ${mpd_title}
${mpd_bar 15}
            Progress: ${mpd_percent}%  |  ${mpd_elapsed} / ${mpd_length}
${endif}

While it is a conditional, I asked because -in cases where people copy other conkyrc- it is important that they are calling functions that exist on that machine. You really should read all the conky documentation and then build a script that satisfies your needs for the machine that you are running.

http://conky.sourceforge.net/documentation.html


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#25 2010-05-04 04:37:48

supaflyx3
Member
Registered: 2010-05-02
Posts: 27

Re: system info on desktop

i removed that, still getting the boxes sad

Offline

Board footer

Powered by FluxBB