You are not logged in.

#1 2011-06-29 08:48:31

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

I've finally got XFCE4.8 all dressed up the way I want it to look.
Only problem left is Conky:

1.It simply doesn't show on the desktop.
2.It keeps asking for a password?

If i start conky via terminal i get this:

=========================================================

[sven@myhost ~]$ conky
Conky: desktop window (1400003) is subwindow of root window (15d)
Conky: window type - override
Conky: drawing to created window (0x2000001)
Conky: drawing to double buffer
Password:

=========================================================

My .conkyrc looks like this:

=========================================================

own_window yes
own_window_colour 0F0D0D

use_spacer right
use_xft yes


# 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 no
own_window_type override
own_window_hints undecorate,below,skip_taskbar,sticky)

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


#colour
default_color  808080
own_window_colour 333333

#font
use_xft yes
xftfont Droid Sans:pixelsize=11

# Stippled borders?
stippled_borders 0

# border margins


# border width
border_width 1



alignment top_left
gap_x 5
gap_y 5
 
# --- Colours, Sizes, Fonts & Margins --- #

minimum_size 1356 0

#stippled_borders 3
#border_inner_margin 9


# --- Text --- #
draw_outline no
draw_borders no

uppercase no
draw_shades no

# --- if-up_strictness --- #
if_up_strictness link
 
TEXT
${color}CPU0: ${color ffffff}  ${execi 5 sensors | grep -A 0 'Core 0' | cut -c15-21} | ${color}CPU1: ${color ffffff} ${execi 5 sensors | grep -A 0 'Core 1' | cut -c15-21} | ${color}HDD: ${color ffffff} ${execi 60 sudo hddtemp /dev/sda | grep -A 0 '/dev/sda' | cut -c24-29} | ${color}RAM: ${color ffffff} $mem | ${color} Total Down: ${color ffffff} ${if_up eth0}${totaldown eth0}${else}${if_up wlan0}${totaldown wlan0}${endif}${endif} | ${color}Total Up: ${color ffffff}${if_up eth0}${totalup eth0}${else}${if_up wlan0}${totalup wlan0}${endif}${endif} | ${color} Down Speed: ${color ffffff} ${if_up eth0}${downspeed eth0}${else}${if_up wlan0}${downspeed wlan0}${endif}${endif}| ${color}Up Speed: ${color ffffff} ${if_up eth0}${upspeed eth0}${else}${if_up wlan0}${upspeed wlan0}${endif}${endif} ${alignr} ${color} Battery: ${color ffffff} ${battery_percent}% ${color} | ${color ffffff}${time %A} ${time %e} ${time %B} ${time %G} - ${time %H:%M:%S}

=========================================================

Any help is appreciated!

Sven

Last edited by killerturtle (2011-06-29 15:30:40)

Offline

#2 2011-06-29 08:56:55

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

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

Please use tags when pasting code: https://wiki.archlinux.org/index.php/Fo … s_and_Code

You have a sudo in there...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-06-29 09:12:20

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

Fixed the code tags (sorry)!

If i execute hddtemp without sudo is doesn't work, any way to fix this?

If I comment out the sudo part, conky still doesn't show sad

Offline

#4 2011-06-29 09:33:03

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

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

You should look at using visudo to make this script run with the hddtemp call...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2011-06-29 09:36:38

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

jasonwryan wrote:

You should look at using visudo to make this script run with the hddtemp call...

Ok, thx; I'll look into that.
Now still to solve the first problem....

Offline

#6 2011-06-29 14:46:47

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

Comment own_window_hints and change own_window_type to dock


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-06-29 15:22:36

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

Inxsible wrote:

Comment own_window_hints and change own_window_type to dock

YES! Thank you, that did the trick!!!

SOLVED!!!

Offline

#8 2011-06-29 15:24:59

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

please mark thread as solved by editing first post and appending/prepending [SOLVED] in the thread title. This helps others to quickly see if there is a solution provided in the thread without having to go into each thread.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB