You are not logged in.

#1 2009-04-25 00:41:32

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

[SOLVED!] Conky won't run undecorated, please assist.

Greetings,

As suggested in my other thread, I have been working on customizing a conky script that simply shows the time, date, calendar, current weather, and forecast, and I have completed it.

However I have ran into a problem. Up until I basically had it completed, it would run fine undecorated without any window borders and the like. But now it won't, and it laughs at me instead. If I want to see my conky, I have to have it decorated in the window border, which is a pain and something I don't want. I want it to simply blend in with my desktop.

Anyways, I am hoping someone can help me solve this. I know it runs. If I set it to decorate, it pops up, info and all. If I set it to undecorate, it laughs at me, but shows up lxtask and htop.

Here's my .conkyrc

# Use Xft?
use_xft yes
xftfont cure:size=6

# 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 widget
own_window_hints undecorate,sticky,above,skip_taskbar,skip_pager 

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

maximum_width 187

# 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 0

# Default colors and also border colors
default_color 4d4d4d
#default_shade_color white
#default_outline_color black
own_window_colour 262626

# 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 1180
gap_y 24

# 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 yes

#Email:
#${pop3_unseen  **SERVER NAME**  **USERNAME**  **PASSWORD**} new messages

TEXT

${offset 100}${alignc}${font openlogos-archupdate:size=40}${color blue}B${font}${color}
${color FFFFFF}${font DejaVu Sans:style=Bold:pixelsize=25}${alignc}${time %r}${font Snap.se:size=8}
${color FFFFFF}${alignr}${time %A, %B %e %G}
${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}CALENDAR${font Snap.se:size=8}${hr 1}
${color FFFFFF}${font DejaVu Sans Mono :size=12}${pre_exec cal}
${color FFFFFF}${font DejaVu Sans Mono :size=6}${pre_exec cal -3 | cut -c23-44 --complement}

${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}WEATHER${font Snap.se:size=8}${hr 1}
${color FFFFFF}${alignr 43}${font DejaVu Sans:size=12}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=CN}${font}
${color FFFFFF}${alignr 43}${font Weather:size=46}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=WF -i}${font} 
${color EE6363}${voffset -30}${font Aerial:style=Bold:pixelsize=12}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i}${font}

${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=1 --endday=1} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=1 --endday=1}
${color 00AEED}Conditions: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=CC -i}
${color 00AEED}Wind: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=WS -i}
${color 00AEED}Humidity: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HM -i}
${color 00AEED}Chance of Precipitation: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=PC -i}
${color FAF519}Sun Rise: ${color FFFFFF}}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=1 --endday=1} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=1 --endday=1}

${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}FORECAST${font Snap.se:size=8}${hr 1}
${color FF0000}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=DW -i --startday=1 --endday=1}
${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=2 --endday=2} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=2 --endday=2}
${color FAF519}Sun Rise: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=2 --endday=2} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=2 --endday=2}

${color FF0000}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=DW -i --startday=2 --endday=2}
${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=3 --endday=3} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=3 --endday=3}
${color FAF519}Sun Rise: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=3 --endday=3} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=3 --endday=3}

Again, all I need help with is having it run undecorated without any window decoration. I am running Fluxbox as my WM. If you need any other info, please let me know. Thanks.

Last edited by mythus (2009-04-25 01:02:23)


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#2 2009-04-25 00:45:37

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED!] Conky won't run undecorated, please assist.

mine runs undecorated fine with this:

own_window yes
own_window_transparent yes
own_window_type desktop

no own_window_hints required, and i've never heard of widget; that must be new.

Offline

#3 2009-04-25 01:02:01

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Conky won't run undecorated, please assist.

Yes that works! Thanks!

About the widget; I used Sid's conky script from the conky screenshot as my base, it was the first conky I had tried. Though I only ended up keeping the forecast portion after editing it massively...

I think it must have been the own_window_hints throwing me off.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

Board footer

Powered by FluxBB