[Solved] Conky - On Top

Is it possible to set up conky to be on top of every other application that is running like this?
I tried many scripts, but when I opened firefox, everything was covered with it's window.
Thank's.
Last edited by dudko (2010-11-04 09:14:48)

Andrwe: Reloged, rebooted...
I tried it with yours conkyrc, but instead of bottom midlle adligment I used top left. Here is me rc.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
<followMouse>no</followMouse>
<!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
<underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window -->
</focus>
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor>Active</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is -->
<primaryMonitor>1</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
<theme>
<name>Moka</name>
<titleLayout>NLIMC</titleLayout>
<!--
available characters are NDSLIMC, each can occur at most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
-->
<keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="OnScreenDisplay">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</theme>
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them
during a session
these are default values to use when other ones are not already set
by other applications, or saved in your session
use obconf if you want to change these without having to log out
and back in -->
<number>4</number>
<firstdesk>1</firstdesk>
<names>
<!-- set names up here if you want to, like this:
<name>desktop 1</name>
<name>desktop 2</name>
-->
</names>
<popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. -->
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center', 'Top', or 'Fixed' -->
<popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x>
<!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' -->
<y>10</y>
<!-- positive number for distance from top edge, negative number for
distance from bottom edge, or 'Center' -->
</popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other
cases. -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Left</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
<action name="DesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="DesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="DesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="De sktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Left">
<action name="SendToDesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Right">
<action name="SendToDesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Up">
<action name="SendToDesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Down">
<action name="SendToDesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-F1">
<action name="Desktop">
<desktop>1</desktop>
</action>
</keybind>
<keybind key="W-F2">
<action name="Desktop">
<desktop>2</desktop>
</action>
</keybind>
<keybind key="W-F3">
<action name="Desktop">
<desktop>3</desktop>
</action>
</keybind>
<keybind key="W-F4">
<action name="Desktop">
<desktop>4</desktop>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow"/>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="C-A-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Terminal</name>
</startupnotify>
<command>gnome-terminal</command>
</action>
</keybind>
<keybind key="C-A-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Firefox</name>
</startupnotify>
<command>firefox</command>
</action>
</keybind>
<keybind key="C-A-g">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Geditl</name>
</startupnotify>
<command>gedit</command>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/>
</mousebind>
<mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<!-- Menus -->
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
<context name="MoveResize">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
</context>
</mouse>
<menu><!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>menu.xml</file><hideDelay>200</hideDelay><!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again --><middle>no</middle><!-- center submenus vertically about the parent entry --><submenuShowDelay>200</submenuShowDelay><!-- time to delay before showing a submenu after hovering over the parent
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on --><submenuHideDelay>400</submenuHideDelay><!-- time to delay before hiding a submenu when selecting another
entry in parent menu -->
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<applicationIcons>yes</applicationIcons>
<!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu>
<application name="Conky">
<decor>no</decor>
<desktop>all</desktop>
<layer>above</layer>
<skip_taskbar>yes</skip_taskbar>
</application>
</openbox_config>
Last edited by dudko (2010-03-05 17:05:37)

Similar Messages

  • [Solved]Conky says it's 3 hours in the future...

    I'm using a straight up OpenBox desktop and I have been fiddling with conky for a little while. For some reason (and yes, I did a locale-gen, and checked to see that my timezone was set to US/Eastern in rc.conf) Conky, and only Conky, seems to think it is currently 5 pm, when it is just 2 pm.
    Here's my ~/.conkyrc
    #= Conky Options =#
    #=================#
    ## Behaviour
    double_buffer yes
    #no_buffers yes
    update_interval 0.75
    cpu_avg_samples 2
    total_run_times 0
    ## Look
    background no
    draw_borders no
    draw_shades no
    border_margin 8
    border_width 0
    draw_graph_borders yes
    draw_outline no
    default_color black
    default_outline_color black
    default_shade_color black
    color0 4c4c4c
    ## Position & Size
    alignment top_left
    gap_x 50
    gap_y 50
    maximum_width 275
    minimum_size 1250
    ## Font
    #use_xft yes
    #xftalpha 1.0
    #xftfont Vibrocentric:pixelsize=12
    font Sans
    ## Window options
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    #= Displayed Text =#
    #==================#
    TEXT
    ${alignc}$sysname $kernel ($machine)
    ${alignc}${exec whoami} @ $nodename
    ${color0}${alignc}${time %B %d. %Y} | ${color0}${alignc}${time %I:%M:%S}${color}
    $hr
    ${color0}${alignc}-[ sysinfo ]-${color}
    ${color0}UPTIME: ${color}$uptime
    ${color0}CPU: ${color}${freq}MHz (${freq_g}GHz)
    ${color0}RAM: ${color}${memmax}
    ${color0}CPU: ${color}${cpu}% ${cpubar}$
    ${color0}RAM: ${color}${mem}/${memmax}(${memperc}%) ${membar}$
    ${color0}SWP: ${color}${swap}/${swapmax} (${swapperc}%) ${swapbar}$
    $hr
    ${color0}${alignc}-[ battery info ]-${color}
    ${color0} AC: ${color0}${acpiacadapter}
    ${color0} Charge: ${color}${battery_percent BAT0} %
    ${color0} Time remaining: ${color}${battery_time BAT0}
    $hr
    ${color0}${alignc}-[ filesystems ]-${color}
    ${color0}/-------- ${color}${fs_free /}${tab 20}/${tab 5}${fs_size /} ${fs_bar /}
    ${color0}/home---- ${color}${fs_free /home}${tab 20}/${tab 5}${fs_size /home} ${fs_bar /home}
    ${color0}/boot---- ${color}${fs_free /boot}${tab 20}/${tab 5}${fs_size /boot} ${fs_bar /boot}
    ${color0}/Windows- ${color}${fs_free /media/disk}${tab 20}/${tab 5}${fs_size /media/disk} ${fs_bar /media/disk}
    $hr
    ${color0}${alignc}-[ network ]-${color}
    ${color0}Hostname: ${color}${nodename}
    ${color0}Network Name: ${color}${wireless_essid wlan0}
    ${color0}Link Quality: ${color}${wireless_link_qual_perc wlan0}
    ${color0}currin: ${color}${downspeedf wlan0} kB/s${alignr}${color0}total-in: ${color}${totaldown wlan0}
    ${color0}currout: ${color}${upspeedf wlan0} kB/s${alignr}${color0}total-out: ${color}${totalup wlan0}
    $hr
    ${color0}${alignc}-[ processes ]-${color}
    ${color0}total: ${color}${processes}${alignr}${color0}running: ${color}${running_processes}
    ${color0}top 3 (cpu):${color}
    ${top name 1}${tab 15}${top pid 1}${tab 25} ${top cpu 1}%
    ${top name 2}${tab 15}${top pid 2}${tab 25} ${top cpu 2}%
    ${top name 3}${tab 15}${top pid 3}${tab 25} ${top cpu 3}%
    ${color0}top 3 (mem):${color}
    ${top_mem name 1}${tab 15}${top_mem pid 1}${tab 25} ${top_mem mem 1}%
    ${top_mem name 2}${tab 15}${top_mem pid 2}${tab 25} ${top_mem mem 2}%
    ${top_mem name 3}${tab 15}${top_mem pid 3}${tab 25} ${top_mem mem 3}%
    The time code was originally {time %B %d. %Y | %I:%M:%S} I expanded it to see if it might have been the issue.  It wasn't, so in the course of writing this post, I swapped it back.
    Tint2 doesn't have this issue, but I feel that the time off to the side disrupts the look of the bar. I haven't tinkered with it enough to put the time in the center, between the two desktop bars, if it is even possible. 
    Ok.. I just double checked myself to make sure that tint2 wasn't displaying incorrectly, and it is, so this is something other than just conky. Hmm... I did just reset my locale, maybe a restart would help. (That sounds like typical Windows advice!)
    I will report back after the reboot.
    BRB
    Update:
    Restart did not fix the issue. I do find this a little strange that my clock is telling me that I am sitting in the center of the Atlantic Ocean, and I have no way of resetting it.
    Ok...   easiest  solve ever. I feel like an idiot.
    sudo date MMDDhhmm
    Got it here http://www.linuxsa.org.au/tips/time.html#wrongtime
    Last edited by LeoSolaris (2009-01-12 19:33:19)

    dhave wrote:
    LeoSolaris wrote:Conky says it's 3 hours in the future...
    Hmm. This could be a good thing. What does Conky say about the Dow Jones Industrial Average three hours from now? And I'd like to check back with you on Superbowl Sunday, if I may....
    Dow 1.53% down.  I am sure the Superbowl's scores will be coming in on schedule.
    Thanks for the note about time sync'ing. I may just do that.
    Last edited by LeoSolaris (2009-01-13 00:45:19)

  • [SOLVED] Conky troubles with Gnome

    I don't know if I am making some obvious, easily correctable mistake, or if this is a known bug. I have looked on the wiki and all I could find about Conky on Gnome was a short little thing that caused this problem:
    http://imgur.com/jQPBsDq
    Here is my .conkyrc file:
    # Conky, a system monitor, based on torsmo
    # Any original torsmo code is licensed under the BSD license
    # All code written since the fork of torsmo is licensed under the GPL
    # Please see COPYING for details
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>.
    own_window yes
    own_window_type conky
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    alignment lower_right
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont DejaVu Sans Mono:size=12
    gap_x 5
    gap_y 60
    minimum_size 5 5
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    TEXT
    ${scroll 16 $nodename - $sysname $kernel on $machine | }
    $hr
    ${color grey}Uptime:$color $uptime
    ${color grey}Frequency (in MHz):$color $freq
    ${color grey}Frequency (in GHz):$color $freq_g
    ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
    ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
    ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
    ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
    $hr
    ${color grey}File systems:
    / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
    ${color grey}Networking:
    Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
    $hr
    ${color grey}Name PID CPU% MEM%
    ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    Has anyone else discovered a way to make conky work transparently with Gnome as a DE?
    Thanks for the help!
    Last edited by treeman1111 (2013-02-17 22:21:02)

    treeman1111 wrote:All you do is follow me around and tell me what I am doing wrong.
    Thats because you keep exhibiting the same behaviours, despite being asked not to.
    I'll link you (again) to the Forum Etiquette. Please read all of it.
    Don't expect that help vampirism will be tolerated here, it won't.
    I'll also remind you of the Arch Way
    This user-centric design necessarily implies a certain "do-it-yourself" approach to using the Arch distribution. Rather than pursuing assistance or requesting a new feature to be implemented by developers, Arch Linux users have a tendency to solve problems themselves and generously share the results with the community and development team – a "do first, then ask" philosophy.

  • [Solved]Conky causes desktop icons to dissappear

    I decided to fool around with conky, since I saw the thread lower down in the forums.  I kinda mashed some code together and I have a conky I like (though I cant get all the modules working...) but, activating conky causes my desktop icons to dissapear (and re-appear if I mouse over).  It's my frist time actually using conky...so I might have messed up something in my (well, a mash of other's) code.
    # set to yes if you want tormo to be forked in the background
    background yes
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font *mintsmild.se*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8
    # Text alpha when using Xft
    xftalpha 0.8
    # mail spool
    #mail_spool $MAIL
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window no
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 230 5
    maximum_width 250
    # Draw shades?
    draw_shades no
    # 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
    # Gap between borders of screen and text
    gap_x 13
    gap_y 25
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${color #88aadd}$nodename - $sysname$kernel $machine
    $hr
    ${color lightgrey}
    ${execp ~/.conkycalendar.sh}
    #$hr
    #${execi -l ~/.conkyforecast.py}
    $hr
    ${color #88aadd}System Info:
    ${color lightgrey}CORE 0:${color} ${cpu 0}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 0} ${color lightgrey}Ghz
    ${color lightgrey}CORE 1:${color} ${cpu 1}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 1} ${color lightgrey}Ghz
    ${color lightgrey}CORE 2:${color} ${cpu 2}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 2} ${color lightgrey}Ghz
    ${color lightgrey}Uptime: ${color}$uptime
    ${color lightgrey}Processes:$color $running_processes/$processes ${offset 6}${color lightgrey}Load:$color ${loadavg 3}
    ${color lightgrey}RAM:$color $mem${color lightgrey} /${color}$memmax ( $memperc% )
    ${color lightgrey}Swap:$color $swap${color lightgrey} / ${color}$swapmax ( $swapperc% )
    $hr
    ${color #88aadd}Top CPU:
    ${color lightgrey}Name CPU%
    ${color lightgrey}${top name 1} ${top cpu 1}%
    ${color lightgrey}${top name 2} ${top cpu 2}%
    ${color lightgrey}${top name 3} ${top cpu 3}%
    ${color lightgrey}${top name 4} ${top cpu 4}%
    $hr
    ${color #88aadd}Top Memory:
    ${color lightgrey}Name PID CPU% MEM%
    ${color}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    $hr
    ${color #88aadd}Network:
    ${color lightgrey}Net: $color${addr eth0}${offset 6}${color lightgrey}
    #Essid: ${color}${exec sudo iwconfig eth0 | grep "ESSID" | cut -c 32-45}
    ${color lightgrey}Up:${color} ${upspeedf eth0} k/s${color lightgrey}${alignr}${color lightgrey}Tot:${color} ${totalup eth0} ${color lightgrey}
    ${color lightgrey}Down: ${color}${downspeedf eth0} k/s ${alignr}${color lightgrey}Tot:${color} ${totaldown eth0}
    Local Ip ${alignr}${addr eth0}
    Public Ip ${alignr}${execp ~/.conkyip.sh}
    $hr
    ${voffset 5}${color #88aadd}Disks:
    / $color${fs_used /} / ${fs_size} (${fs_free /})${fs_used_perc /}${color lightgrey}%${offset 5}
    ${color #88aadd}Win7 $color${fs_used /media/Windows7} / ${fs_size /media/Windows7} (${fs_free /media/Windows7})${fs_used_perc /media/Windows7}${color lightgrey}%${offset 5}
    ${color #88aadd}DataI $color${fs_used /media/DATA} / ${fs_size /media/DATA} (${fs_free /media/DATA})${fs_used_perc /media/DATA}${color lightgrey}%${offset 5}
    ${color #88aadd}DataII $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
    ${color #88aadd}Win7 $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
    #$hr
    #${color #88aadd}Banshee - ${execi 15 ~/conkyshee.py --status}${alignr}#${offset -22}
    # $color artist: ${color #88aadd}${execi 15 ~/conkyshee.py --artist}
    # $color track: ${color #88aadd}${execi 15 ~/conkyshee.py --title}${voffset 5}
    Last edited by JerichoKru (2010-02-01 06:55:18)

    Maybe try:
    double_buffer yes
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager

  • [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.

  • [SOLVED] Conky, LM-sensors and hwmon

    Hi,
    I used the guide found at the forum thread http://bbs.archlinux.org/viewtopic.php?id=43397 (post #4) to get my GPU and CPU temperature shown in conky by using LM-sensors. It all works fine, except for a single little error...
    My conky-setup for the temperatures says
    ${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
    but when showing in conky, the "°C" part becomes "Å°C"??
    Can anyone see why this happens? I've attached my whole .conkyrc below:
    # set to yes if you want Conky to be forked in the background
    background no
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=7
    own_window_type desktop
    own_window_transparent yes
    own_window_colour hotpink
    # Text alpha when using Xft
    xftalpha 0.8
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    # Shows the time range covered by a graph.
    show_graph_range yes
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    #minimum_size 280 5
    maximum_width 310
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 10
    # border margins
    #border_margin 2
    # border width
    border_width 1
    # Default colors and also border colors
    default_color 424de5
    default_shade_color 0b0b0b
    default_outline_color white
    # Text alignment, other possible values are commented
    #alignment top_left
    #minimum_size 10 10
    gap_x 10
    gap_y 0
    #alignment top_right
    #alignment bottom_left
    alignment bottom_right
    # Gap between borders of screen and text
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer none
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
    # Konfiguration fra Arch Forum:
    # http://bbs.archlinux.org/viewtopic.php?id=56421
    background yes
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
    double_buffer yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    stippled_borders 0
    border_margin 0
    border_width 0
    TEXT
    $sysname $kernel on $nodename
    #${color lightgrey}Desktop: $color$desktop_name ($desktop/$desktop_number)
    ${color 00043d}$stippled_hr
    ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
    ${color lightgrey}CPU Usage:${color #424de5} ${cpu}% ${cpubar}
    ${color 091124}${cpugraph lightgrey 00043d}
    ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
    ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% $swapbar
    ${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
    ${color 00043d}$stippled_hr
    ${color lightgrey}Networking (cable) - $color IP: ${addr eth0}
    ${color lightgrey} Down:$color ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed eth0} k/s
    ${color 091124}${downspeedgraph eth0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph eth0 32,150 lightgrey 00043d}
    ${color lightgrey}Networking (wireless) - $color IP: ${addr wlan0}
    ${color lightgrey} Down:$color ${downspeed wlan0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed wlan0} k/s
    ${color 091124}${downspeedgraph wlan0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph wlan0 32,150 lightgrey 00043d}
    ${color lightgrey}Wireless link quality: $color$wireless_link_qual $wireless_link_bar
    ${color lightgrey}Wireless ESSID: $color${wireless_essid}
    ${color 00043d}$stippled_hr
    ${color lightgrey}Battery: $color${battery BAT0} ${battery_bar BAT0}
    ${color 00043d}$stippled_hr
    ${color lightgrey}XMMS $xmms2_status
    $color$xmms2_elapsed/$xmms2_duration $xmms2_bar
    $color$xmms2_smart
    ${color lightgrey}Mixer: $color${mixer} ${mixerbar}
    ${color 00043d}$stippled_hr
    ${color lightgrey}Disk read: $color$diskio_read ${color lightgrey}- Disk write: $color$diskio_write
    ${color 091124}${diskiograph sda lightgrey 00043d}
    ${color lightgrey}File systems:
    ${color lightgrey} / $color${fs_used /}/${fs_size /} ${fs_bar /}
    ${color lightgrey} data $color${fs_used /mnt/data}/${fs_size /mnt/data} ${fs_bar /mnt/data}
    ${color lightgrey} vista $color${fs_used /mnt/vista}/${fs_size /mnt/vista} ${fs_bar /mnt/vista}
    ${color lightgrey} xp $color${fs_used /mnt/xp}/${fs_size /mnt/xp} ${fs_bar /mnt/xp}
    ${color 00043d}$stippled_hr
    ${color lightgrey}System temperatures:
    ${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
    ${color 00043d}$stippled_hr
    ${color}Name PID CPU% MEM%
    ${color #308ffd} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${color}Mem usage
    ${color #308ffd} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    EDIT: Found the error: I had edited the file in mousepad, which couldn't save the "°"'s right..
    Last edited by bozack (2009-09-09 12:45:21)

    nTia89 wrote:
    try to append in the .conkyrc
    the setting:
    override_utf8_locale
    It didn't work - but I might have to say - my locale is danish (in my locale.gen I have the two lines "da_DK.UTF-8 UTF-8" and "da_DK ISO-8859-1" uncommented)..
    Does this make any difference?

  • [SOLVED]Conky Forecast problems

    I upgraded OpenOffice yesterday and for some reason everytime I run Conky, this error message shows up
    /usr/bin/conkyForecast: line 3: :/usr/lib/openoffice/basis-link/program/:/usr/lib/guake: No such file or directory
    If anyone knows how to solve that problem, any help would be appreciated.
    Last edited by uzi304 (2010-04-07 23:50:44)

    Oh right, I'm sorry.
    # Possible variables to be used:
    # Variable Arguments Description
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # battery (num) Remaining capasity in ACPI or APM
    # battery. ACPI battery number can be
    # given as argument (default is BAT0).
    # buffers Amount of memory buffered
    # cached Amount of memory cached
    # color (color) Change drawing color to color
    # cpu CPU usage in percents
    # cpubar (height) Bar that shows CPU usage, height is
    # bar's height in pixels
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # exec shell command Executes a shell command and displays
    # the output in torsmo. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execi interval, shell Same as exec but with specific interval.
    # command Interval can't be less than
    # update_interval in configuration.
    # fs_bar (height), (fs) Bar that shows how much space is used on
    # a file system. height is the height in
    # pixels. fs is any file on that file
    # system.
    # fs_free (fs) Free space on a file system available
    # for users.
    # fs_free_perc (fs) Free percentage of space on a file
    # system available for users.
    # fs_size (fs) File system size
    # fs_used (fs) File system used space
    # hr (height) Horizontal line, height is the height in
    # pixels
    # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
    # may be omitted if you have only one I2C
    # device. type is either in (or vol)
    # meaning voltage, fan meaning fan or temp
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # kernel Kernel version
    # loadavg (1), (2), (3) System load average, 1 is for past 1
    # minute, 2 for past 5 minutes and 3 for
    # past 15 minutes.
    # machine Machine, i686 for example
    # mails Mail count in mail spool. You can use
    # program like fetchmail to get mails from
    # some server using your favourite
    # protocol. See also new_mails.
    # mem Amount of memory in use
    # membar (height) Bar that shows amount of memory in use
    # memmax Total amount of memory
    # memperc Percentage of memory in use
    # new_mails Unread mail count in mail spool.
    # nodename Hostname
    # outlinecolor (color) Change outline color
    # pre_exec shell command Executes a shell command one time before
    # torsmo displays anything and puts output
    # as text.
    # processes Total processes (sleeping and running)
    # running_processes Running processes (not sleeping),
    # requires Linux 2.6
    # shadecolor (color) Change shading color
    # stippled_hr (space), Stippled (dashed) horizontal line
    # (height)
    # swapbar (height) Bar that shows amount of swap in use
    # swap Amount of swap in use
    # swapmax Total amount of swap
    # swapperc Percentage of swap in use
    # sysname System name, Linux for example
    # time (format) Local time, see man strftime to get more
    # information about format
    # totaldown net Total download, overflows at 4 GB on
    # Linux with 32-bit arch and there doesn't
    # seem to be a way to know how many times
    # it has already done that before torsmo
    # has started.
    # totalup net Total upload, this one too, may overflow
    # updates Number of updates (for debugging)
    # upspeed net Upload speed in kilobytes
    # upspeedf net Upload speed in kilobytes with one
    # decimal
    # uptime Uptime
    # uptime_short Uptime in a shorter format
    # seti_prog Seti@home current progress
    # seti_progbar (height) Seti@home current progress bar
    # seti_credit Seti@hoome total user credit
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048
    # Update interval in seconds
    update_interval 1
    # 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 yes
    own_window_transparent yes
    own_window_type override
    #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 180 0
    #maximum_width 200
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 5
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    #default_shade_color black
    #default_outline_color white
    own_window_colour white
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 35
    gap_y 50
    # 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 none
    TEXT
    SYSTEM ${hr 2}
    ${voffset 2}${font OpenLogos:size=16}B${font} Machine:${alignr}${kernel}
    ${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${font Webdings:size=16}~${font} Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
    ${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
    DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %Y}
    HD ${hr 2}
    ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
    ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
    ${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
    ${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    NETWORK ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Network Unavailable
    ${endif}
    WEATHER ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=USNJ0392 --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=USNJ0392 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
    ${endif}

  • [SOLVED] Conky Disappears!

    Check it.  I'll start conky, left click in irssi, then left click anywhere on my desktop.  Then, conky disappears!  It still running ofcourse..
    background no
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    double_buffer yes
    update_interval 1
    use_xft yes
    xftfont glisp:size=8
    xftalpha 0.5
    border_margin 2
    border_width 2
    alignment bottom_right
    gap_x 2
    gap_y 2
    TEXT
    ${color #606060}${time} | ${color #606060}${battery} | ${color #606060}${wireless_link_bar wlan0}
    Maybe it's something in my config?
    Thanks!
    //Changing own_window_type to root, and adding own_window_hints undecorate,sticky seems to work!
    Last edited by crispus (2008-10-14 05:34:39)

    I was going to suggest adding
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    but I see that you've already solved it.
    With own_window_hints, you should be able to leave own_window_type as "desktop".

  • [SOLVED]Conky cutting words off

    I've been working to set up conky on my Arch + Openbox installation, and I've run into a strange issue - conky is getting cut off at the end. See this picture, at far top-right - the seconds are cut off.
    I've tried adding various options, such as
    text_buffer_size 512
    but nothing I can find seems to fix it.
    My .conkyrc
    Anyone know how/if I can fix this?
    Last edited by DaimyoKirby (2013-11-10 16:00:11)

    Have you tried explicitly setting a width this way? You don't state what screen res you currently use - so adjust as necessary
    # width height
    minimum_size 1584 120
    # width
    maximum_width 1584
    It can help to leave a 1px border on your conky frame while building it to help debug this sort of thing as you can see where the otherwise transparent frame actually ends
    Last edited by satanselbow (2013-11-09 20:13:42)

  • (SOLVED) Conky and battery status

    How come this will not work on my system:
    ${color red}$alignc Battery Information
    ${color lightgrey} Currently: $battery
    ${color lightgrey}$stippled_hr
    I have tried a dozen scripts for battery status and nothing works. Does anyone have a sure fire way to get some status from my battery?
    I am using a netbook, pretty standard stuff. I don't know why it won't work. I tried other commands and one returned "U" for unknown battery status and what not. How can I find out what is going on?
    edit:
    Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0}
    This displays 0% and an empty bar.
    I went ahead into /proc/acpi/battery and found BAT1 and no BAT0, so I changed the script and I get a percent now...
    This may be solved, but I am going to try the other functions to see if I can get the output I wanted in the first place.
    Why does Conky hate batteries?
    Last edited by Google (2010-07-02 07:16:26)

    "$battery" does not work because it assumes as default BAT0, which you don't have so it will have to be "$battery BAT1". See "man conky" for more info....

  • [SOLVED] conky transparency fail

    On both my home and work desktop, my conky doesn't overlay my wallpaper correctly:
    It's been going on for many months, but I've finally decided to ask if anyone know's how to fix it? It's annoying
    Both machines are running Gnome, home is Arch, work is Fedora. My .conkyrc:
    background yes
    use_xft yes
    xftfont 123:size=8
    xftalpha 0.1
    update_interval 0.5
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 250 5
    maximum_width 400
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color gray
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 10
    gap_y 10
    no_buffers no
    uppercase no
    cpu_avg_samples 2
    net_avg_samples 1
    override_utf8_locale yes
    #use_spacer yes
    text_buffer_size 256
    TEXT
    ${font openlogos:size=24}N${font Arial:size=20}${color Tan1}Fedora${color Ivory}12${font openlogos:size=24}t
    ${voffset -90}
    ${color DimGray}
    ${font}
    ${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
    $font${color DimGray}$sysname $kernel $alignr $machine
    Intel Pentium D $alignr${freq_g cpu0}Ghz
    Uptime $alignr${uptime}
    ${font Arial:bold:size=10}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2}
    $font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
    CPU2 ${cpu cpu2}% ${cpubar cpu2}
    ${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
    $font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
    $font${color DimGray}SWAP $alignc $swap / $swapmax $alignr $swapperc%
    $swapbar
    ${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
    $font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    ${font Arial:bold:size=10}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
    ${color DimGray}$font${top_mem name 1}${alignr}${top mem 1} %
    $font${top_mem name 2}${alignr}${top mem 2} %
    $font${top_mem name 3}${alignr}${top mem 3} %
    $font${top_mem name 4}${alignr}${top mem 4} %
    $font${top_mem name 5}${alignr}${top mem 5} %
    ${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
    $font${color DimGray}IP on eth0 $alignr ${addr eth0}
    Down $alignr ${downspeed eth0} kb/s
    Up $alignr ${upspeed eth0} kb/s
    Downloaded: $alignr ${totaldown eth0}
    Uploaded: $alignr ${totalup eth0}
    ${font Arial:bold:size=10}${color Tan2}WORLD ${color DarkSlateGray}${hr 2}
    ${font}${color DimGray}New Zealand:$alignr ${tztime Pacific/Auckland %H:%M}hrs
    Hong Kong:$alignr ${tztime Asia/Hong_Kong %H:%M}hrs
    Amsterdam:$alignr ${tztime Europe/Amsterdam %H:%M}hrs
    London:$alignr ${tztime Europe/London %H:%M}hrs
    UTC:${alignr}${utime %H:%M}hrs
    New York:$alignr ${tztime US/Eastern %H:%M}hrs
    ${color Tan2} ${font :size=30}$alignc${time %H:%M}
    ${voffset -30}${font :bold:size=10}$alignc${time %A %d %b. %Y}
    Last edited by fukawi2 (2010-08-16 06:34:00)

    The only differences that I have (on a debian box), are:
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    You could experiment with those...

  • [SOLVED]Conky Align Text Center

    I am trying to align my conky so
    that the middle of the text is in the middle of the top of the screen. My screen is 1200x800. Any suggestions?
    use_xft yes
    xftfont cure:size=8
    update_interval 1
    own_window_colour black
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type desktop
    own_window yes
    double_buffer yes
    maximum_width 1680
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    border_margin 5
    border_width 1
    default_color 42c4d3
    alignment top_right
    gap_x 430
    gap_y 5
    no_buffers yes
    uppercase no
    override_utf8_locale yes
    use_spacer none
    TEXT
    ${time %A}, ${color ffffff}${time %B}${color} ${time %d}${color ffffff} // ${color}CPU0:${color ffffff} ${cpu cpu0}% ${color}CPU1:${color ffffff} ${cpu cpu1}% // ${color}RAM:${color ffffff} ${mem} // ${color}Root: ${color ffffff}${fs_free_perc /}% // ${color}Mac: ${color ffffff}${fs_free_perc /mnt/mac}% // ${color}Email:${color ffffff} ${execi 300 perl ~/.scripts/imap.pl n} // ${color}Arch:${color ffffff} ${texeci 300 perl ~/.scripts/updates2.pl}${color}
    ${color}External IP: ${color ffffff}${execi 3600 wget -O - http://ip.tupeux.com | tail} // ${color}Time:${color ffffff} ${time %R} // ${color}Battery:${color ffffff} ${battery BAT0} // ${color}Network: DOWN ${color ffffff}${downspeed wlan0} // ${color}UP${color ffffff} ${upspeed wlan0} // ${color}Uptime ${color ffffff} $uptime
    ${color}Title: ${color ffffff}$mpd_title // ${color}Artist: ${color ffffff}${mpd_artist 30} // ${color}Music Stats:${color ffffff} $mpd_elapsed/$mpd_length//$mpd_percent%
    Thanks
    Last edited by duke11235 (2010-10-25 00:16:54)

    Interestingly enough, instead of fixing the problem, It aligns it with the middle left corner. So half is now off the screen.
    use_xft yes
    xftfont cure:size=8
    update_interval 1
    own_window_colour black
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type desktop
    own_window yes
    double_buffer yes
    maximum_width 1680
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    #border_margin 5
    border_width 1
    default_color 42c4d3
    alignment top_middle
    gap_x 430
    gap_y 5
    no_buffers yes
    uppercase no
    override_utf8_locale yes
    use_spacer none
    TEXT
    ${alignc}${time %A}, ${color ffffff}${time %B}${color} ${time %d}${color ffffff} // ${color}CPU0:${color ffffff} ${cpu cpu0}% ${color}CPU1:${color ffffff} ${cpu cpu1}% // ${color}RAM:${color ffffff} ${mem} // ${color}Root: ${color ffffff}${fs_free_perc /}% // ${color}Mac: ${color ffffff}${fs_free_perc /mnt/mac}% // ${color}Email:${color ffffff} ${execi 300 perl ~/.scripts/imap.pl n} // ${color}Arch:${color ffffff} ${texeci 300 perl ~/.scripts/updates2.pl}${color}
    ${alignc}${color}External IP: ${color ffffff}${execi 3600 wget -O - http://ip.tupeux.com | tail} // ${color}Time:${color ffffff} ${time %R} // ${color}Battery:${color ffffff} ${battery BAT0} // ${color}Network: DOWN ${color ffffff}${downspeed wlan0} // ${color}UP${color ffffff} ${upspeed wlan0} // ${color}Uptime ${color ffffff} $uptime
    ${align_c} ${color}Title: ${color ffffff}$mpd_title // ${color}Artist: ${color ffffff}${mpd_artist 30} // ${color}Music Stats:${color ffffff} $mpd_elapsed/$mpd_length//$mpd_percent%
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code --

  • [SOLVED] conky gap problem

    Hello, in my conky window there is a huge gap at the bottom for some reason, I am trying to make it align in middle_right, but it's always above the middle line due to the gap.
    ~/.conkyrc
    use_xft yes
    xftfont DejaVu Sans:size=8
    update_interval 1
    total_run_times 0
    double_buffer yes
    text_buffer_size 512
    own_window yes
    own_window_type desktop
    own_window_transparent yes
    draw_shades yes
    default_color white
    alignment middle_right
    gap_x 12
    gap_y 0
    no_buffers no
    net_avg_samples 2
    TEXT
    System ${hr 2}
    ${voffset 4}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
    ${font FnT_BasicShapes1:size=12}p${font} CPU_1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font FnT_BasicShapes1:size=12}p${font} CPU_2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}D${font} RAM: ${memperc}% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}Q${font} Uptime: ${alignr}${uptime}
    Date ${hr 2}
    ${voffset -8}${alignc 58}${font Arial Black:size=24}${time %I:%M %P}${font}
    ${voffset 4}${alignc}${time %A %d, %B}
    ${font RsbillsDng:size=14}O${font}${font DejaVu Sans Mono:size=8}${execpi 3600 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color FCAF3E}'"$DJS"'${color0}'" "/}${font}
    Space ${hr 2}
    ${voffset 4}${font StyleBats:size=16}A${font} System: ${fs_used_perc /}% ${alignr}${fs_bar 8,60 /}
    ${font StyleBats:size=16}A${font} Stuff: ${fs_used_perc /home/Stuff}% ${alignr}${fs_bar 8,60 /home/Stuff}${voffset 4}
    Network ${hr 2}
    ${voffset 4}${font PizzaDude Bullets:size=12}O${font} Up: ${upspeed eth0} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
    ${font PizzaDude Bullets:size=12}U${font} Down: ${downspeed eth0} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
    ${font PizzaDude Bullets:size=12}N${font} Upload: ${alignr}${totalup eth0}
    ${font PizzaDude Bullets:size=12}T${font} Download: ${alignr}${totaldown eth0}
    ${font PizzaDude Bullets:size=12}a${font} Local IP: ${alignr}${addr eth0}
    ${font PizzaDude Bullets:size=12}b${font} Public IP: ${alignr}${execi 3600 wget -qO- http://riivo.eu/php/ip.php}${voffset 8}
    Notifications ${hr 2}
    ${voffset -6}${font Martin Vogel's Symbols:size=19}B${font} New e-mails: ${alignr} ${execi 120 conkyEmail -m IMAP -s imap.gmail.com -u xxxxxxxxxxxx -p xxxxxxxxxx -e}
    ${font PizzaDude Bullets:size=14}B${font} Packages: ${alignr} ${execi 10800 /home/kaizoku/.conky/pmupdate.sh}${voffset 4}
    Weather ${hr 2}
    ${alignc 55}Now:
    ${execpi 240 conkyForecast -l ASXX0075 -t /home/kaizoku/.conky/conkyForecast.template}
    Currency ${hr 2}
    ${execpi 3600 /home/kaizoku/.conky/currency.sh}
    Last edited by kaizoku (2009-11-18 06:17:42)

    Rede wrote:
    Please post the contents of /home/kaizoku/.conky/currency.sh
    As I think that is where you will find the problem
    /home/kaizoku/.conky/currency.sh
    #!/bin/bash
    data=`wget -qO- http://rss.timegenie.com/forex.txt | grep "AUD\|JPY\|USD\|VND" | cut -d '|' -f 3`
    i=0
    for item in $data
    do
    cur[$i]=$item
    ((++i))
    done
    eur=`echo "${cur[0]} 1" | awk '{print $2 / $1}'`
    jpy=`echo "${cur[0]} ${cur[1]}" | awk '{print $2 / $1}'`
    usd=`echo "${cur[0]} ${cur[2]}" | awk '{print $2 / $1}'`
    vnd=`echo "${cur[0]} ${cur[3]}" | awk '{print $2 / $1}'`
    echo "\${font Tahoma:size=14}€\${font} EUR: \${alignr}$eur"
    echo "\${font Tahoma:size=14}¥\${font} YEN: \${alignr}$jpy"
    echo "\${font Tahoma:size=14}\$\$\${font} USD: \${alignr}$usd"
    echo "\${font Tahoma:size=14}₫\${font} VND: \${alignr}$vnd"
    sand_man wrote:
    ${voffset 4}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
    *cough* Let me guess...Someone on the Ubuntu forums said you should ask the guys on the Arch forums, right?
    Anyway, this sentence I don't understand very well.
    I am trying to make it align in middle_right, but it's always above the middle line due to the gap.
    Well I posted here because it seems to have more support on conky
    Anyways I meant like due to the gap on the bottom, it doesn't vertically align properly; it looks like bottom part has more gap than top part. I am trying to align it middle vertically.
    Last edited by kaizoku (2009-11-18 06:01:00)

  • 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.

  • [SOLVED] Conky question

    Is there a way to show the gateway address in the conkyrc file just like you can with an eth0 address?
    Last edited by tyndallc (2010-03-11 21:35:59)

    1. Conky has a manual. It is made of win and text.
    2. If solved, mark thread as solved. Kthxbai.

Maybe you are looking for

  • Can a Stored Procedure be called from a Rule (not using Scripted JDBC Adap)

    Hello smart people, Question: Can a stored procedure be called from a Rule without using the Scripted JDBC Resource Adapter? What's Desired: The project has very strong sql developers and average at best Java developers. We have been successful at im

  • What is the "continue" char in SQL?

    If I'm writing a big like of code in SQL*Plus what is the char that I should use to break the line physically but not logically? Thanks. PB

  • Sales Quotation Pricing not Copying to Sales Order

    Hi, We are running SBO2007 PL42 and we have a problem where if we enter a discount percentage or a price other than default on a sales quotation, when we copy it to a sales order, the pricing does not copy, it reverts to the business partner's defaul

  • NoClassDefFoundError: O2

    Not many helpful responses on the beginner junk, file is O2.java Getting error: Exception in thread "main" Java.lang.NoClassDefFoundError: O2 CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> import java.util.*; public class O2 {      public void Comm

  • Only burning half the songs.

    When I burn cd's I only get half the songs. I get the first 70 seconds of a three minute song. I make sure I click audio cd and I have it on the lowest burn speed. I burn 5 songs or I burn 25 songs. Doesn't matter either way.