PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : XMMS in Conky



DerMoench
02.03.06, 23:46
Hi,
bin neu hier im forum und hab gleich mal ne frage vielleicht kann mir hier einer helfen, komm da nämlich net weiter.
Allso mein Anliegen ist, dass ich in conky gern den aktuell laufenden Song sehen würde, den xmms abspielt, weil bei 6 arbeitsflächen vergisst man leicht wo man gerade in der playlist ist :->
Der Befehl ist xmms_filename, so steht jedenfalls in den conky variabeln auf der site von conky:http://conky.sourceforge.net/variables.html, nur leider funktioniert das nicht, wenn einer weiss wie das geht bitte helft mir, verscuh das schon seit ner geschlagenen woche zum laufen zu kriegen.

Danke schon mal im voraus,
Gruß DerMoench

Hier mal die conkyrc: (Das Fette is das wichtige)


double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no $
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$nodename
${color cyan}Uptime: $uptime
${color cyan}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color cyan}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color cyan}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color cyan}Processes:$color $processes ${color grey}Running:$color $running_processes
${color cyan}Networking:
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
${color red}Song: ${color blue}${xmms_filename}
${color cyan}File systems:
${color white}Home $color${fs_used /home/jens}/${fs_size /home/jens} ${fs_bar /home/jens}
${color white}D $color${fs_used /mnt/D}/${fs_size /mnt/D} ${fs_bar /mnt/D}
${color white}E $color${fs_used /mnt/E}/${fs_size /mnt/E} ${fs_bar /mnt/E}
${color white}F $color${fs_used /mnt/F}/${fs_size /mnt/F} ${fs_bar /mnt/F}
${color white}G $color${fs_used /mnt/G}/${fs_size /mnt/G} ${fs_bar /mnt/G}
${color white}H $color${fs_used /mnt/H}/${fs_size /mnt/H} ${fs_bar /mnt/H}
${color white}X $color${fs_used /mnt/X}/${fs_size /mnt/X} ${fs_bar /mnt/X}
${color white}Y $color${fs_used /mnt/Y}/${fs_size /mnt/Y} ${fs_bar /mnt/Y}
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color cyan} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color cyan} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color cyan} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color cyan} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color cyan} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color cyan} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color cyan} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color cyan} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}

fuffy
03.03.06, 09:34
Hi!

Du hast xmms_player nicht definiert.

Gruß
fuffy

DerMoench
03.03.06, 10:54
danke schon mal für die antwort, aber wie mach ich das?

Gruß DerMoench

fuffy
03.03.06, 12:19
danke schon mal für die antwort, aber wie mach ich das?
Schreib xmms_player xmms zu den Konfigurationseinstellungen, also in eine Zeile vor "TEXT".

Ich gehe mal davon aus, dass du conky mit XMMS-Support kompiliert hattest.

Gruß
fuffy

DerMoench
03.03.06, 12:24
joap ich danke idr so gehts auch, hatte unterdessen noch ne andere möglichkeit gefunden!