MPD, Conky, And Ratpoison

One thing I have noticed in my testing of Ratpoison is that it supports echoing messages to the screen via its statusbar. Does anyone know if it would be possible to have this work with MPD and Conky, so that track changes are announced via Ratpoison's statusbar?

Haven't used ratpoison for a while now, but I used to bind the function keys to conky scripts like so
F1 = conky -i 1 -c ~/.conky_mem | ratpoisonremote
Sorry I can't remember the ratpoison commands syntax etc, but you get the idea
conkys -i option lets you specify how may times conky will output in this case once.  You will also need to specify "out_to_console yes" in your conky config

Similar Messages

  • [solved] Issue with conky and Kde 4

    I have a small issue with conky and KDE 4.2. I start conky with a script which I stored under ~/.kde/Autostart. The script is simple and looks like this..
    conky -c ~/.conkyrc_kde4
    This works fine. But when I restart the first KDE and check with ps, I have 2 instances of conky running. The instances keep on growing with the number of restarts.
    I think kde tries to restart all the apps which were running when the session was terminated. Is there a way to change this behavior in general or all the programs or for only a specific program like conky ?
    Last edited by rangalo (2009-07-28 19:02:17)

    I did
    Systemsettings > Advanced > Session Manager > Start with an empty session
    and put everything you want in Autostart

  • Conky and top reporting differently

    Here are some screen caps of conky and terminal running top command. The part I am interested in is the processes, one says 85 while the other says 105?
    I question this because when I had gnome-system-monitor installed it would always show gnome-keyring-daemon as being open multiple times when I would logout and log back in. But, a fresh reboot would fix the issue.
    what exactly is going on? How can I keep uninstalling things and when I reboot my processes in conky keep going up and up?
    I am now running xfce and trying to rid myself of things I don't need like gnome based programs. The only thing stopping me from ridding myself of this gnome-keyring is GDM? But what login manager would I use if I don't use GDM, Any suggestions?
    How do I post pictures?
    Last edited by jacko (2007-12-03 17:37:30)

    jacko wrote:I am now running xfce and trying to rid myself of things I don't need like gnome based programs. The only thing stopping me from ridding myself of this gnome-keyring is GDM? But what login manager would I use if I don't use GDM, Any suggestions?
    I use Xfce and Slim.  Search the wiki for slim.

  • Conky and frequency scaling

    Hello.
    I have couple of computers with conky and cpufreq working. All fine there. It was so also on my notebook, which had Ubuntu 9.04 installed. I reinstalled to 9.10 and since then my conky reports full frequency.
    There was a lot of other issues, so I decided to finally remove Ubuntu and take the time to install Arch. Things are much better with Arch on this notebook, but I did not get rid of the frequency scaling problem. It is Thinkpad X31 btw.
    According to powertop and cpufreq-info, the frequency scaling is working. Conky reports 1400Mhz all the time.
    Here is my cpufreq-info:
    cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
    Report errors and bugs to [email protected], please.
    analyzing CPU 0:
    driver: acpi-cpufreq
    CPUs which need to switch frequency at the same time: 0
    hardware limits: 600 MHz - 1.40 GHz
    available frequency steps: 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz, 600 MHz
    available cpufreq governors: ondemand, performance
    current policy: frequency should be within 600 MHz and 1.40 GHz.
    The governor "ondemand" may decide which speed to use
    within this range.
    current CPU frequency is 600 MHz.
    cpufreq.conf
    #configuration for cpufreq control
    # valid governors:
    # ondemand, performance, powersave,
    # conservative, userspace
    governor="ondemand"
    # valid suffixes: Hz, kHz (default), MHz, GHz, THz
    min_freq="0.5GHz"
    max_freq="3GHz"
    lsmod | grep freq
    cpufreq_ondemand 7400 1
    acpi_cpufreq 8648 0
    freq_table 3740 2 cpufreq_ondemand,acpi_cpufreq
    processor 36076 2 acpi_cpufreq
    Running this script clearly shows that freq is changing
    #!/bin/bash
    while [ "1"=="1" ]; do
    echo `cpufreq-info | grep "current CPU frequency"`
    sleep 2
    done
    conkyrc
    update_interval 2
    background yes
    use_spacer left
    double_buffer yes
    short_units yes
    pad_percents 3
    own_window yes
    own_window_type normal
    own_window_transparent yes
    gap_x 4
    gap_y 30
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 10
    color0 black
    color1 white
    default_shade_color white
    default_outline_color white
    own_window_hints undecorated, below, skip_taskbar, skip_pager
    alignment bottom_left
    TEXT
    ${alignc}${color1}$nodename
    ${alignc}$sysname $kernel on $machine
    ${color1}$hr
    ${color1}CPU: $color0${cpu cpu0}%
    ${color0}${cpugraph cpu0 15}
    ${cpubar cpu0 4}
    ${color1}RAM :$color0 $memperc% ${membar 4}
    ${color1}Swap :$color0 $swapperc% ${swapbar 4}
    ${color1}Processes :$color0 ${exec printf "%3d" `ps -A | wc -l`}/$running_processes ${color1}Uptime :$color0 $uptime_short${color1}
    ${color1}Frequency :$color0 ${exec cpufreq-info | grep "current CPU frequency" | cut -c28-35} ${freq}${color1} ${if_existing /sys/class/power_supply/BAT0}${if_existing /sys/class/power_supply/BAT0/present 1}
    ${color1}$hr
    Battery : $color0${battery_bar 4 BAT0}
    ${battery_time}${alignr}${battery}${endif}${endif}
    ${color1}$hr
    ${if_existing /sys/class/net/eth0/operstate up}${color1}IP :${alignr}${color0}${addr eth0}${color1}
    Wired connection
    ${color0}${downspeedgraph eth0 12,108} ${upspeedgraph eth0 12,108}
    ${color1}Down : $color0${downspeed eth0} ${color1} Up: $color0${upspeed eth0}${color1}k/s ${else}${if_existing /sys/class/net/wlan0/operstate up}${color1}IP :${alignr}${color0}${addr wlan0}${color1}
    Wifi :$color0${wireless_link_qual wlan0}% ${wireless_link_bar 4,0 wlan0}
    ${color0}${downspeedgraph wlan0 12,108} ${upspeedgraph wlan0 12,108}
    ${color1}Down : $color0${downspeed wlan0} ${color1} Up : $color0${upspeed wlan0}${color1}${else}
    ${endif}${endif}
    ${color1}$hr
    ${color1}CPU :$color0 ${ibm_temps 0} ${color1}C HDD :$color0 ${ibm_temps 2}${color1} C
    ${color1}GPU :$color0 ${ibm_temps 3} ${color1}C BAT :$color0 ${ibm_temps 4} ${color1}/${color0} ${ibm_temps 6} ${color1}C
    ${color1}$hr
    ${color1}Top: PID CPU% MEM%
    ${color0 white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color0 white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color0 white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${color0 white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    As you can see I even put that part of script, which takes values from cpufreq-info into conky, but it still does show wrong values.
    When I manually set frequency to 600Mhz, it shows up in conky.
    With Ubuntu 9.04 this was working fine, so I wonder what has recently changed that could have resulted in this behaviour.

    Archiee wrote:[...]
    - Frequency step size is configurable (default to 100MHz/step) (cpufreq doesn't support this)
    If I'm not mistaken it's the CPU that tells the utility what frequencies it can switch to; not the other way around. Remember each frequency has a voltage tied to it. Also, he's not asking about a way to manage his cpuf requency management, just about a glitch in actualy frequency reporting.
    @ topic starter: why are you grepping cpufreq-info if you can have conky just read it out for you? It's a hardcoded conky feature...
    From their documentation:
    freq    (n)    Returns CPU #n's frequency in MHz. CPUs are counted from 1. If omitted, the parameter defaults to 1
    @ Archiee: I checked with powernowd:
    root@hermes # powernowd -v
    powernowd: PowerNow Daemon v1.00, (c) 2003-2008 John Clemens
    powernowd: Settings:
    powernowd: verbosity: 1
    powernowd: mode: 1 (AGGRESSIVE)
    powernowd: step: 100 MHz (100000 kHz)
    powernowd: lowwater: 20 %
    powernowd: highwater: 80 %
    powernowd: poll interval: 1000 ms
    powernowd: about to return count = 1
    powernowd: Found 2 scalable units: -- 1 'CPU' per scalable unit
    powernowd: cpu0: 800Mhz - 1200Mhz (2 steps)
    powernowd: step1 : 1200Mhz
    powernowd: step2 : 800Mhz
    powernowd: cpu1: 800Mhz - 1200Mhz (2 steps)
    powernowd: step1 : 1200Mhz
    powernowd: step2 : 800Mhz
    root@hermes # cpufreq-info
    cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
    Report errors and bugs to [email protected], please.
    analyzing CPU 0:
    driver: acpi-cpufreq
    CPUs which run at the same hardware frequency: 0 1
    CPUs which need to have their frequency coordinated by software: 0
    maximum transition latency: 10.0 us.
    hardware limits: 800 MHz - 1.20 GHz
    available frequency steps: 1.20 GHz, 800 MHz
    available cpufreq governors: userspace, powersave, ondemand, performance
    current policy: frequency should be within 800 MHz and 1.20 GHz.
    The governor "userspace" may decide which speed to use
    within this range.
    current CPU frequency is 800 MHz (asserted by call to hardware).
    analyzing CPU 1:
    driver: acpi-cpufreq
    CPUs which run at the same hardware frequency: 0 1
    CPUs which need to have their frequency coordinated by software: 1
    maximum transition latency: 10.0 us.
    hardware limits: 800 MHz - 1.20 GHz
    available frequency steps: 1.20 GHz, 800 MHz
    available cpufreq governors: userspace, powersave, ondemand, performance
    current policy: frequency should be within 800 MHz and 1.20 GHz.
    The governor "userspace" may decide which speed to use
    within this range.
    current CPU frequency is 800 MHz (asserted by call to hardware).

  • [SOLVED]Serious frustrations with MPD-Pulse and ncmpcpp

    There are a couple of problems I'm having.  First and foremost, I can't access any sort of flash video without mpd stopping and not working until a full system reboot, I've tried "sudo mpd --kill && sudo mpd --no-create-db" as well as "sudo /etc/rc.d/mpd restart" and they don't work.  I've noticed several people with this problem while using alsa, I've tried normal mpd and tried some of the suggestions that I found for mpd.conf but to no avail and got the added bonus of play on startup which annoys me (mpd-pulse for whatever reason doesn't do that) so I was wondering if there exist any sort of work around for mpd-pulse or pulse in general (I'll take whatever).
    Moving onto the more minor problem with ncmpcpp, there was an update today and upon installing I've noticed a serious decrease in speed, particularly when scrolling through the library and stumbling upon a certain artist that has a lot of albums/songs, but also when first playing a song after a system boot ncmpcpp will wait ~6 seconds before playing any sound (while the progress bar for the song is moving forward).  The first issue is more important as I have several discographies and going from one end of my library to another is rather difficult at present, but the latter is still really annoying.
    I'm mainly trying to see if any one has a suggestion for my mpd-pulse issues with flash, and I'm curious if the ncmpcpp things are something everyone is experiencing or if it's just me.
    Thank you in advance,
    --Wes
    Last edited by Wesman26 (2010-06-19 03:52:55)

    About flash:
    If I'm correct in saying that all audio is out after using flash in a browser, and nothing works until the browser is closed, then the problem is indeed OSS. Here's what you do: before starting any audio applications, (as root)
    # rmmod snd-pcm-oss
    # rmmod snd-mixer-oss
    # rmmod snd-seq-oss
    Add these into your /etc/rc.conf module list, with a ! before them (this blacklists them):
    MODULES=( <...other modules...> !snd_pcm_oss !snd_seq_oss)
    I found this thread because of ncmpcpp is gone really slow for me too. Gonna have to try this unix socket stuff. I don't really understand it if I'm honest B-)

  • Xcompmgr messing with openbox windows (conky and kde apps only)

    here's the involved packages:
    openbox 3.4.7.2-1
    nvidia 177.82-1
    xorg-server 1.5.3-3
    xcompmgr 1.1.4-1
    kdelibs3 3.5.10-2
    conky 1.6.1-2
    now the issue is primarily with xcompmgr.  when it's running (default options or the whole -cCfF... stuff doesn't make a difference).  i have the following:
    whenever a kde apps window opens.  (i.e. i start amarok or k3b; k3b opens new windows during burn start/stop process) my conky will disappear only to flicker and reappear a few seconds later. (this only happens with kde apps)
    when i'm tweaking my conky i will often `pkill conky; sleep 3; conky` to see my changes.  when i kill conky, ALL of my active windows on the current desktop disappear and only reappear if a) they are redrawn because of an update to their contents on their own accord, or b) (kinda the same thing) i grab a window and drag it all over the screen resetting whatever i pass over to it's correct visual state.  (this only happens when killing conky)
    this is annoying me, i love the shadows/fading from xcompmgr but this flickering makes my whole experience feel unstable and i have to turn it off after a few minutes.  turn off xcompmgr and it's rock solid just as before... snappier too i think.
    this behavior started immediately after the recent xorg update (i saved that for last because i know were all sick of _that_).  i changed nothing, but for the -Syu when this happened.
    anyways, your thoughts and help is much appreciated.

    so i'm resurrecting this thread because i hoped, and  prayed, that xorg 1.6 in testing would fix this problem.  i've been working my ass off to keep my system back in xorg 1.4.  my desktop just looks so oldfashioned w/o shadows and transparency. 
    ok so to re-outline, i'm running:
    pacman -Q stuff
    xorg-server 1.6.0-1
    nvidia 180.29-3
    openbox 3.4.7.2-1
    xcompmgr 1.1.4-1
    with this gpu:
    hwd -s | grep video
    Video : GeForce 7150 / nForce 630i server: XFree86 (vesa)
    i created a minimal xorg.conf via nvidia-xconfig an added a few suggested options (although they _really_ don't seem to affect this bug...):
    cat /etc/X11/xorg.conf
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder62) Thu Feb 5 00:08:50 PST 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "TripleBuffer" "True"
    Option "BackingStore" "False"
    Option "DamageEvents" "True"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    now, here's what happens:
    i startx, .xinitrc or autostart.sh bring up xcompmgr, bmpanel, and conky
    if i open amarok or k3b, conky and bmpanel (both using transparency) vanish while the splash screen(s) show.
    when i burn something with k3b (and new windows appear) i see similar behavior
    sometimes it's just for a sec and then it's back, sometimes conky comes back with part of itself missing
    also, if you execute `pkill conky` from an xterm, all windows are 'destroyed' until you [blindly] grab that xterm window and move it about your desktop 'revealing' the desktops contents.  please see this screenshot for this in action.
    killing xcompmgr fixes all this... but it's so ugly.  the problems go away if i downgrade to xorg-server 1.4 (and also adjust any related/dependant packages to match).
    please please, tell me i'm not alone!  a fix would be nice too .
    thanks in advance... again
    Last edited by brisbin33 (2009-03-05 01:30:10)

  • Conky and high CPU usage

    I originally posted this in the Newbie Corner, as I consider myself a newbie, but got no answers there and I think my issue is pretty kernel-HW-related, excuse me for re-posting.
    I was editing an old peaceful Conky and it somewhen started making high use of the CPU (around 30-40% avg.). As I couldn't figure out where the problem was, took out every configuration line in the conky file and ended up with the few following lines, which are by themselves triggering the same high CPU usage. I don't have much experience with Conky, could anyone explain me if this behaviour would be expected from this simple code or is there something else?
    Thank you.
    own_window yes
    minimum_size 400 600
    maximum_width 400
    alignment bottom_right
    gap_x -120
    gap_y -200
    TEXT
    ${voffset 105}${offset 85}${font Helvetica:size=20}${time %H:%M}${font}

    no please do not cross-post. If you feel that a mistake has been made, Report the post and ask a mod to move it to the appropriate section for you.
    Continue discussion here :  https://bbs.archlinux.org/viewtopic.php?id=124315
    Closing...

  • [SOLVED]Compton, Conky and RXVT-Unicode not playing nicely

    Hello. I'm having some problems making my desktop how I want it. My window manager is fluxbox.
    First problem is just a minor inconvenience, but annoying. When I login, a transparent terminal spawns to my specification, but it is skewed.
    http://i.imgur.com/hrEEh3H.jpg
    However, as soon as I open any window it fixes itself
    http://i.imgur.com/WXQZ9e3.jpg
    Second problem is that I can't figure out how to remove the shadow under conky. I know that it is coming from the slit, but it just won't go away. I can get it to go away if I set conky to desktop instead of panel, but then when I launch any window it overlaps with the conky bar, and that is unaceptable. Maybe there is a fluxbox configuration option that reserves some space so nothing can overlap it? But I couldn't find anything.
    Here are the config files I think are relevant:
    .Xdefaults:
    urxvt*.transparent:true
    urxvt*scrollBar:false
    urxvt*borderLess:true
    urxvt*foreground:blue
    urxvt*.highlightColor: yellow
    urxvt*.colorUL: #4682B4
    urxvt*.cursorBlink: 1
    urxvt*font: xft:Terminus:pixelsize=12
    urxvt*.perl-ext-common: default,matcher,tabbedex,readline,clipboard
    urxvt*.url-launcher: /usr/bin/firefox
    urxvt*.matcher.button: 1
    URxvt.tabbed.autohide:true
    .conkyrc:
    #avoid flicker
    double_buffer yes
    #own window to run simultanious 2 or more conkys
    own_window yes
    own_window_transparent yes
    own_window_class conky
    own_window_type panel
    own_window_hints undecorate,above,sticky,skip_taskbar,skip_pager
    #borders
    draw_borders no
    #shades
    draw_shades no
    #position
    gap_x 6
    gap_y 6
    alignment top_left
    #behaviour
    update_interval 1
    #colour
    default_color 8f8f8f
    wn_window_colour 262626
    #font
    use_xft yes
    xftfont terminus:pixelsize=10
    #to prevent window from moving
    use_spacer left
    minimum_size 1600 0
    short_units yes
    pad_percents 2
    #mpd
    #mpd_host localhost
    #mpd_port 6600
    imap localhost [email protected] xxxxxxx -i 120
    #color = e0e0e0
    TEXT
    ${voffset -1} Cpu: ${color 000000}${font}${cpu}% ${color} Mem: ${color 000000}${font}${mem} ${color} | ${color} Uptime: ${color 000000}${font}${uptime_short}${color} | ${color} Download Speed: ${color 000000}${font}${downspeed wlp0s26u1u4}/s ${color}Total Downloaded: ${color 000000}${totaldown wlp0s26u1u4} ${color} | ${color} Upload Speed: ${color 000000}${upspeed wlp0s26u1u4}/s ${color} Total Uploaded: ${color 000000}${totalup wlp0s26u1u4} ${color} | ${color}Root: ${color 000000}${font}${fs_free /} ${color} Home: ${color 000000}${font}${fs_free /home} ${color} | ${color} Arch-pkg: ${color 000000}${font}${execi 300 perl /home/lucas/.scripts/conky-updates.pl}${color} | Email: ${color 000000}${imap_unseen} new messages ${color} | ${color} Weather: ${color 000000} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SBBR temperature}°C ${color}
    .compton
    shadow = true;
    no-dnd-shadow = true;
    no-dock-shadow = true;
    clear-shadow = true;
    shadow-radius = 7;
    shadow-offset-x = -7;
    shadow-offset-y = -7;
    shadow-exclude = [ "name = 'Notification'", "class_g = 'URxvt'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
    shadow-ignore-shaped = false;
    # Opacity
    menu-opacity = 0.8;
    inactive-opacity = 0.8;
    frame-opacity = 0.7;
    inactive-opacity-override = false;
    alpha-step = 0.06;
    blur-kern = "3x3box"
    blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
    opacity-rule = [ ]
    # Fading
    fading = true;
    fade-in-step = 0.03;
    fade-out-step = 0.03;
    fade-exclude = [ ];
    # Other
    backend = "glx"
    mark-wmwin-focused = true;
    mark-ovredir-focused = true;
    detect-rounded-corners = true;
    detect-client-opacity = true;
    refresh-rate = 0;
    vsync = "opengl-swc";
    dbe = false;
    paint-on-overlay = true;
    focus-exclude = [ "class_g = 'Cairo-clock'" ];
    detect-transient = true;
    detect-client-leader = true;
    invert-color-include = [ ];
    # GLX backend
    glx-no-stencil = true;
    glx-copy-from-front = false;
    glx-no-rebind-pixmap = true;
    glx-swap-method = "undefined";
    # Window type settings
    wintypes:
    tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
    Last edited by Chetyre (2014-04-10 16:51:23)

    using lowercase conky in compton doesn't change anything. I'm pretty sure that shadow is not from conky, but from the slit. When I set the slit to autohide in the init file, the shadow hides as well. And there is no shadow in any other conky window type I've tried, except type panel. Unfortunately, it is the only one so far with the behavior I want.
    I would like to use true transparency in urxvrt, since that does solve the skew issue and I think it looks better. However, in doing so the terminal is quite useless since there is a lot of text that I can't see, because the font becomes the same color as certain backgrounds. Unless there is a way to separate it? I want it to look like the one on the left (left = fake transparency, right = true transparency).
    http://i.imgur.com/lUwk4F4.jpg
    Last edited by Chetyre (2014-04-09 02:50:27)

  • Conky and gcal problem

    Hi all
    I have a conky sidebar with gcal shown in the bottom like this:
    http://picasaweb.google.com/nielsrasmus … 9567347298
    The problem is that gcal isn't aligned properly
    I've tried with cal also with the same problem, and in urxvt both cal and gcal is shown the way it should too!
    What have to be done to show gcal aligned as intended ??
    This is my .conkyrc:
    http://pastebin.com/m6bf30e71
    Cheers,
    Last edited by niller (2008-04-15 18:59:08)

    Well,I have 3 scripts for dwm,~/.bin/dwm-start ; ~/.bin/dwm-status and ~/.xinitrc.
    This is my dwm-start:
    #!/bin/sh
    while true;do
    "$HOME/.bin/dwm-status" &
    sleep 1s ;
    done &
    dzconky &
    trayer --widthtype request --edge bottom --align right --height 20 --transparent true &
    pidgin &
    parcellite &
    wicd-client &
    while true ; do
    dwm
    done
    And this is my .xinitrc:
    #!/bin/sh
    export DE=xfce
    xrdb ~/.Xdefaults &
    wmname LG3D
    xset +fp /usr/share/fonts/artwiz-fonts/
    xset fp rehash
    unclutter -idle 5 &
    #fc-cache -vf &
    sh ~/.fehbg
    mpd ~/.mpd/mpd.conf
    urxvtd -q -f -o
    /usr/bin/xscreensaver -no-splash &
    # exec ck-launch-session openbox-session
    # xsetroot -cursor_name left_ptr &
    # exec ck-launch-session xmonad
    # nitrogen --restore
    # xrdb ~/.Xresources &
    # xset +fp /usr/share/fonts/local &
    # xset fp rehash &
    # sudo dropboxd start &
    exec ck-launch-session $HOME/.bin/dwm-start
    Here is how it looks
    http://ompldr.org/vOHF0MA
    The bottom bar is dzconky.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by nixfag (2011-05-22 05:59:35)

  • [SOLVED] Need help with dzen2, conky and xmonad.

    Hey all. I've recently been using XMonad and have found it to be a really useful tool, especially when it comes to keeping me on task and dealing with screen real-estate. However, I've been having difficulty setting up a dzen2 status bar that displays what conky pipes into it.
    Here is my xmonad.hs file :
    import XMonad
    import IO
    import XMonad.Util.Run
    import XMonad.Hooks.ManageDocks
    import XMonad.Hooks.DynamicLog
    import XMonad.Layout.NoBorders
    import XMonad.Util.EZConfig
    main = do
    bar <- spawn myConkyBar
    xmonad $ defaultConfig
    borderWidth = 2
    , terminal = "urxvt"
    , normalBorderColor = "#343434"
    , focusedBorderColor = "cyan"
    , workspaces = ["www","lp","letter","else"]
    , manageHook = manageDocks <+> manageHook defaultConfig
    , layoutHook = avoidStruts $ layoutHook defaultConfig
    } `additionalKeys`
    [ ((0, xK_F12), spawn "urxvt")
    , ((mod4Mask.|. 0, xK_w), spawn "firefox")
    , ((mod4Mask .|. shiftMask, xK_w), spawn "scrot -s")
    , ((0, xK_Print), spawn "scrot -d 2")
    myConkyBar = "conky -c .conkyrc | dzen2 -fn 'Clean' -bg #343434 -x 0 -y 768"
    And the relevant .conkyrc file:
    out_to_console yes
    text_buffer_size 512
    mpd_host localhost
    mpd_port 6600
    update_interval 1.0
    cpu_avg_samples 2
    net_avg_samples 2
    TEXT
    ^fg(cyan)^i(/home/greg/.icons/mpd.xbm) ^fg(#E0EEEE)$mpd_smart ^fg(#343434)| ^fg(cyan)^i(/home/greg/.icons/cpu.xbm) ^fg(#FF69B4)${cpu cpu1}% ^fg(cyan)^i(/home/greg/.icons/cpu.xbm) ^fg(#FF69B4)${cpu cpu2}% ^fg(#343434)| ^fg(cyan)^i(/home/greg/.icons/mem.xbm) ^fg()$mem ^fg(#343434)| ^fg(cyan)^i(/home/greg/.icons/down.xbm) ^fg(#FF69B4)${downspeed wlan0} ^fg(cyan)^i(/home/greg/.icons/up.xbm) ^fg(#FF69B4)${upspeed wlan0} ^fg(#343434)| ^fg(red)${battery_percent BAT0}% ^fg(#343434)| ^fg(red)$acpitemp C ^fg(#343434)| ^fg(#CD5555)$kernel ^fg(#343434)| ^fg(cyan)${time %m-%d-%y %l:%M%p}
    The main problem I'm having is that Xmonad will make the space for dzen, but conky will write to the root window, and not dzen. So the long string of text is written on the root window without any formatting, and dzen is (usually) just a black bar. I'm not the best with Haskell, but I am im
    proving, so any help would be appreciated.
    Also, I've noticed that dzen2 only updates when switching workspaces. Was I supposed to define an update interval somewhere?
    Last edited by camphor (2009-12-23 04:53:35)

    i think you have to use the logHook,
    this is part of my configuration, although i'm not using Xmonad anymore (haven't found the time to really configure it)
    -- XMonad:
    main = do
    xmobar <- spawnPipe myStatusBar
    dynHooksRef <- initDynamicHooks
    xmonad $ myUrgencyHook $ defaultConfig
    { terminal = myTerminal
    , focusFollowsMouse = myFocusFollowsMouse
    , borderWidth = myBorderWidth
    , modMask = myModMask
    --, numlockMask = myNumlockMask
    , workspaces = myWorkspaces
    , normalBorderColor = myNormalBorderColor
    , focusedBorderColor = myFocusedBorderColor
    , layoutHook = myLayout
    , manageHook = myManageHook <+> manageDocks <+> dynamicMasterHook dynHooksRef
    , handleEventHook = myEventHook
    , logHook = dynamicLogWithPP $ myXmobarPP xmobar
    , startupHook = myStartupHook
    is using Xmobar, but the config from where i took this was using dzen, maybe you can use that:
    http://haskell.org/haskellwiki/Xmonad/C … _xmonad.hs
    ps: sorry for the awful english.

  • [SOLVED] Problem With conky and or xcompmgr

    So I tried to search for this issue but i don't know quite how to explain through words on what is going on. basically i got corky installed. and so when i login my screen all around corky doesn't refresh. and i believe this to be because of xcompmgr. because thats when I installed it that is when my problem started. so here is a screenshot
    Last edited by Sicariuxs (2012-11-14 21:13:45)

    no i don't have the problem when xcompmgr is running (lol didn't mean corky!! kept thinking about league of legends xD) but the problem is that if i don't have xcompmgr running that i don't have true trnasparancy on guake or any of my other applications. what i believe it to be is that maybe conky doesn't do so well with compositing. because this also has happened to me with compiz. but i know it has to be possible to combine the two! i've seen it done all over youtube. but i keep getting this problem. any suggestions? and thanks for the quick response

  • [Solved]Conky and word wrapping - Is there a way?

    So I have a very limited area to work with, something like 176x360 (+/- a few pixels), and I want the ability to show an RSS feed. Well, the feed works of course, but due to the limited width, I'm in great need of word wrapping, and for that problem I have found no solution and going on for 2-3 hours straight, my head hurts
    Anyway, here's my .conkyrc, not that it's needed of course.
    # ~/.conkyrc
    double_buffer yes
    use_xft yes
    xftfont Bitstream Vera Sans Mono:size=8
    xftalpha 0.8
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_colour hotpink
    own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
    minimum_size 176 360
    maximum_size 176 360
    maximum_width 176
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    border_margin 0
    border_width 0
    default_color green
    default_shade_color green
    default_outline_color green
    alignment bottom_right
    gap_x 16
    gap_y 16
    no_buffers yes
    uppercase no
    TEXT
    $alignc${nodename}
    $alignc${sysname} ${kernel}
    $hr
    CPU:$alignr$cpu% ${cpubar 10,106}
    RAM:$alignr$memperc% ${membar 10,106}
    HDD:$alignr${fs_used_perc /}% ${fs_bar 10,106 /}
    BAT:$alignr${battery_percent}% ${battery_bar 10,106}
    $hr
    Download: Upload:
    eth0 ${downspeed eth0} $alignr${upspeed eth0}
    wlan0 ${downspeed wlan0} $alignr${upspeed wlan0}
    $hr
    ${alignc}ARCH NEWS
    ${rss http://www.archlinux.org/feeds/news/ 1 item_titles 10 }
    I know this looks confusing and probably is full of critical error, but that simple because I'm a conky noob. I basically just downloaded a profile I liked and completely changed it over the course of a few hours.
    Anyway, I'm rambling again, but if you've got any idea's, please do let me know.
    Best regards.
    Last edited by zacariaz (2012-08-27 17:19:35)

    Okay, so I've found sort of a solution to part of the problem, so what I have so far look like this:
    wget -quiet -O - archlinux.org/feeds/news/ | fmt -w 25 -g 25
    It works as long as there are no words longer than 25 character, which I should think is rare, even including package names and such.
    However there's still the issue parsing the xml so I get only what I want:
    <item><title>$content</title><link>
    This may be solved using some sort of terminal rss parser, but I would rather prefer not to.
    Then there's the issue with reloading.
    My current conky is set to reload every second, but of course one can't just pull the feed every second and I'm not convinced that conky has any built in solution for that problem. Of course I can always start a cronjob and save it all to a file, but portability would be nice.
    anyway, I'll return later.

  • My conky and rox layout:

    hello,
    this thread answers some questions from this thread http://bbs.archlinux.org/viewtopic.php?id=36457
    yes, the statistics line at the top is conky. it's a pretty simple setup. just everything written in line w/ "|" as separators.
    the .conkyrc:
    # Conky sample configuration
    # the list of variables has been removed from this file in favour
    # of keeping the documentation more maintainable.
    # Check http://conky.sf.net for an up-to-date-list.
    # set to yes if you want Conky to be forked in the background
    background yes
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    #xftfont Tahoma:size=10
    #xftfont arial:size=11
    xftfont architecture:size=15
    # Text alpha when using Xft
    xftalpha 1.0
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 2.0
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window no
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type normal
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    # If own_window_transparent is set to no, you can set the background colour here
    own_window_colour hotpink
    # If own_window is yes, these window manager hints may be used
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 3 3
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Draw borders around graphs
    draw_graph_borders yes
    # Stippled borders?
    stippled_borders 8
    # border margins
    border_margin 4
    # border width
    border_width 1
    # Default colors and also border colors
    default_color 080808
    default_shade_color 213129
    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 2
    gap_y 15
    # 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 yes
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no
    # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
    #max_port_monitor_connections 256
    # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
    #max_specials 512
    # Maximum size of buffer for user text, i.e. below TEXT line.
    #max_user_text 16384
    # 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
    ${time %d.%m.%y %H:%M:%S} | $loadavg | Proc: $processes/$running_processes | CPU: $cpu % | RAM: $mem/$memmax | Swap: $swap/$swapmax | DiskIO: $color$diskio | In: ${downspeed eth0} k/s ${upspeed eth0} k/s | Ex: ${upspeed eth1} k/s ${downspeed eth1} k/s | Cpu:$color ${exec expr `cat /sys/bus/i2c/devices/0-002d/temp2_input` / 1000} C Mb:$color ${exec expr `cat /sys/bus/i2c/devices/0-002d/temp1_input` / 1000} C
    $color slash ${color grey} $color${fs_used /} ${color grey} - $color${fs_free /}
    $color var ${color grey} $color${fs_used /var} ${color grey} - $color${fs_free /var}
    $color vlad ${color grey} $color${fs_used /home/vlad} ${color grey} - $color${fs_free /home/vlad}
    font is architecture:size=15. i don't know where i got it from. i collect fonts since my windows days, which are long gone....
    the icons are called concept or somehow similar and i got the from (where all good icons come from) http://search.deviantart.com .
    i've searched them a little, but i can't find them again... (i think j3concepts made them)
    Could u also elaborate this line < pixmap_path "~/.icons/panel_icons/icons_2" > ?
    you tell rox to search in this directory for icons. the directory (panel_icons/icons_2) is an arbitrary dir for putting my own icon themes together.
    the panel at bottom is wbar. a brilliantly small panel for light-weight desktops/wm. http://freshmeat.net/projects/wbar/?bra … _id=259132
    some more screens:
    http://img444.imageshack.us/my.php?imag … 24aqd0.png
    i'm running openbox3.4, wallpaper from desktopography.
    i think that's all, folks!
    vlad
    ps:
    i forgot the gtk2 and openbox theme is dyne:
    http://www.gnome-look.org/content/show. … tent=61936
    http://www.box-look.org/content/show.ph … tent=62000
    the openbox theme is tweaked by my for my likings. i _really_ like the stuff made by lyrae:
    http://www.box-look.org/usermanager/sea … n=contents
    i think that's all, folks!
    Last edited by DonVla (2007-08-24 19:05:39)

    DonVla wrote:
    hello,
    yes, the statistics line at the top is conky. it's a pretty simple setup. just everything written in line w/ "|" as separators.
    the .conkyrc:
    <snip>
    One suggestion I'd like to make for the .conkyrc you posted is that using:
    use_spacer yes
    is very helpful, especially in single-line / horizontal conky set-ups* where monitors' changing width can be more visually apparent / displeasing. Of course, this is only helpful with monospace fonts.
    Also, if I may, I normally use a vertical conky layout which allows for much more information / monitors to be used. With single-line horizontals, you are much more limited in what will fit across the screen. As such, I created this script which toggles between various "conkyrc" files:
    #!/bin/sh
    ##Script Name: toggle_conky
    ##Description of Script: toggle launch / close of conky
    ##Date: 2007 0826
    conkypid="$(pidof -s conky)"
    conkyrc_1="$HOME/.conkyrc"
    conkyrc_2="$HOME/.conkyrc_HORIZMain"
    conkyrc_3="$HOME/.conkyrc_HORIZHwStatus"
    conkyrc_4="$HOME/.conkyrc_HORIZDisks"
    tmpfile="/tmp/myconky_status"
    # run conkyrc default
    function conky_1 {
    conky -c $conkyrc_1 &
    echo '2' > $tmpfile
    # run alternate 2 conkyrc
    function conky_2 {
    kill -15 $conkypid
    conky -c $conkyrc_2 &
    echo '3' > $tmpfile
    # run alternate 3 conkyrc
    function conky_3 {
    kill -15 $conkypid
    conky -c $conkyrc_3 &
    echo '4' > $tmpfile
    # run alternate 3 conkyrc
    function conky_4 {
    kill -15 $conkypid
    conky -c $conkyrc_4 &
    echo '100' > $tmpfile
    # quit conky
    function conky_100 {
    kill -15 $conkypid
    rm -f $tmpfile
    if [ -z "$conkypid" ] ; then
    conky_status="1"
    elif [ -n "$conkypid" ] && [ -f "$tmpfile" ] ; then
    conky_status=$(cat $tmpfile)
    fi
    case "$conky_status" in
    1)
    conky_1
    2)
    conky_2
    3)
    conky_3
    4)
    conky_4
    100)
    conky_100
    esac
    exit
    Just create a desktop or panel launcher (or whatever you might use for a particular DE) pointing to the script. In this example, clicking the launcher:
    - the first time = launching default conky w / default conkyrc
    - the second time = launching horizontal conky w / .conkyrc_HORIZMain
    - the third time = launching horizontal conky w / .conkyrc_HORIZHwStatus
    - the fourth time = launching horizontal conky w / .conkyrc_HORIZDisks
    - the fifth time = quitting conky
    By using the script, you can keep the minimalist horizontal set-up while retaining flexibility of switching monitors simply by clicking the launch icon (of course you have to also prepare separate conkyrc files). By creating more conkyrc files and modifying the script to accommodate them, you could "rotate" between any number of conky layouts to suit your needs.
    Just thought I'd throw this out there.
    * Note: I realize that you aren't using a single-line horizontal layout based on your posted conkyrc, but from the screenshot in the original post, it appeared that way to viewers of the screenshot because you had open windows covering the other areas.
    Last edited by MrWeatherbee (2007-08-26 20:28:51)

  • Dzen, conky and wmii statusbar...

    Hi,
    [What I need]
    I'm trying to get a system info statusbar working on my wmii setup.
    [What I've done so far]
    1. Using wmii's statusbar directly is too difficult for me as I don't have enough knowledge about my system to get all the information I need and I a feel *a bit* unconfortable to work with sed and awk.
    2. Then I tried to pipe conky into wmii statusbar but it is not straightforward at all, as the only working way I found, posted on the wmii thread, makes conky write a file and then wmii status bar to continuosly 'cat' that file. This way my hard disk is always active as wmii is always reading conky's output file.
    3. I finally decided not to use wmii's stausbar and "replace" it with conky piped into dzen2. The major problem is that dzen initially displays conky's output correctly but the whole bar disappears as soon as I switch to another workspace.
    Can someone point me to a solution?
    Here's my dzen_conky.sh script:
    #!/bin/bash
    FG='#999999'
    BG='#181818'
    FONT='-xos4-terminus-medium-r-*--12-*-*-*-*-*-iso10646-1'
    conky | dzen2 -ta r -h 12 -y 787 -fg $FG -bg $BG -fn $FONT
    Many thanks!

    rent0n wrote:
    Hi,
    [What I need]
    I'm trying to get a system info statusbar working on my wmii setup.
    [What I've done so far]
    1. Using wmii's statusbar directly is too difficult for me as I don't have enough knowledge about my system to get all the information I need and I a feel *a bit* unconfortable to work with sed and awk.
    2. Then I tried to pipe conky into wmii statusbar but it is not straightforward at all, as the only working way I found, posted on the wmii thread, makes conky write a file and then wmii status bar to continuosly 'cat' that file. This way my hard disk is always active as wmii is always reading conky's output file.
    3. I finally decided not to use wmii's stausbar and "replace" it with conky piped into dzen2. The major problem is that dzen initially displays conky's output correctly but the whole bar disappears as soon as I switch to another workspace.
    Can someone point me to a solution?
    Here's my dzen_conky.sh script:
    #!/bin/bash
    FG='#999999'
    BG='#181818'
    FONT='-xos4-terminus-medium-r-*--12-*-*-*-*-*-iso10646-1'
    conky | dzen2 -ta r -h 12 -y 787 -fg $FG -bg $BG -fn $FONT
    Many thanks!
    hmmm...i think you'll need to add -p at the end of the dzen2 options line..it means persist or something like that.i hope that helps

  • Conky and ROX --pinboard [solved]

    Right now my background is being set by ROX. I want Conky to be transparent, but it only shows up as a black background (the backround w/o ROX). How can I set Conky to be transparent to the ROX backbround?

    Nevermind. I figured it out, I just used feh to also set the background, andded it to my .xinitrc. Works fine.

Maybe you are looking for

  • I want to change my Apple ID email but it won't let me.

    The original email I put as my Apple ID has been deavtivaed because I haven't used it in a while, so I want to change my Apple ID email to my current email. However, when I go online to change it, it tells me "this email address is already verified f

  • How can i encrypt a zfs partition

    I have the need to encrypt a zfs file system in solaris 11. and solaris 11 disk. any ideas? Solaris 11 is installed in a laptop.

  • Audio from X1 box to bluetooth speakers

    how do i get the audio to my bluetooth spreakers?

  • Monitor Calibration & Use Of Smart Fix In PSE 10

    Hi, I have a couple of questions about using PSE 10. First, I have an Iiyama ProLite E2409HDS monitor and it has a setting to put it into sRGB mode which I have read is better for viewing/editing photos. I use my computer for lots of different things

  • How to batch load multi data files  to several tables

    Hi, One customer have such data structure and have large number of data(arround 10 Million). I think it's proper to convert them to data that SQL loader can recognize and then insert into Oracle 8 or 9. The question is how to convert? Or maybe to ins