conky-problem with transparent

Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 34
Joined: Thu Jul 28, 2011 7:57 am
Location: Novi Sad.Serbia

conky-problem with transparent

Post by mr_talicni_tom »

hellow guys.
im not so new user like im normal user i mean that im playing games and useing internet.
i saw one conky which i thought is cool.i installed it.all went fine until i saw when u ran it. its not invisible(backgraund of conky is black and not invisible like i want to!)

here is sorce of conky:

Code: Select all

# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 200 250
maximum_width 200

alignment tr
gap_x 35
gap_y 70

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius

default_color FFFFFF

# Lua Load  #
lua_load ~/.lua/scripts/clock_rings.lua
lua_draw_hook_pre clock_rings

${voffset 8}${color 339900}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color 339900}${hr}
${voffset 140}${font caviar dreams:size=10}${alignr}HOME${font}
${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather LYBE temperature temperature 30} °C${font}
${image ~/.conky/linuxmint_main_logo.png -p 60,120 -s 81x27}

${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%
${color 339900}${goto 25}CPU
${color FFFFFF}${goto 50}${voffset 23}${memperc}%
${color 339900}${goto 50}RAM
${color FFFFFF}${goto 75}${voffset 23}${swapperc}%
${color 339900}${goto 75}Swap
${color FFFFFF}${goto 100}${voffset 23}${fs_used_perc /}%
${color 339900}${goto 100}Disk
${color FFFFFF}${goto 125}${voffset 25}${downspeed eth0}
${color FFFFFF}${goto 125}${upspeed eth0}
${color 339900}${goto 125}Net

${color FFFFFF}${font caviar dreams:size=8}Uptime: ${uptime_short}
${color FFFFFF}${font caviar dreams:size=8}Processes: ${processes}
${color FFFFFF}${font caviar dreams:size=8}Running: ${running_processes}

${color 339900}${font caviar dreams:size=8}${alignr}${nodename}
${color 339900}${font caviar dreams:size=8}${alignr}${pre_exec cat /etc/}  $machine
${color 339900}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}
here is look of my desktop: ... adjem-.jpg

i got or saw this conky on: ... y-lua.html(i did everything liek they said)
can some1 help me pls :(

p.s. i know that conky was posted like problem on this forum but problem was to start conky not its transparent :@

p.s. im not native speaker so have understanding foe evenualy misstakes
Last edited by xenopeek on Thu Jan 24, 2013 4:32 pm, edited 1 time in total.
Reason: Moved to Conky section.
The quieter you become,the more you will be able to hear.

User avatar
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: conky-problem with transparent

Post by grimdestripador »

I have these same problems.
The show off your conky thread has some spiffy results. Except they don't work with new LM.
Not even conky. The only way it ran for me was in windowed mode.

I'm all for making my own conky scripts. Until then I use 'sudo apt-get install xosview' and 'sudo apt-get install gkrellm' for system stats.

Level 6
Level 6
Posts: 1487
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: conky-problem with transparent

Post by Orbmiser »

Running Linux Mint 14 Cinnamon and Metro Conky with no transparent problems.
screenshot-area.png (58.59 KiB) Viewed 1407 times
Differences in my conky.rc and yours added <----- to 2 lines.

Code: Select all

# Window specifications #
own_window yes
own_window_class conky  <---- Have this you don't
own_window_transparent yes
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager

# Text settings #
use_xft yes
xftalpha 0  <---- Have 0 yours is 0.5
text_buffer_size 2048
Only other thing I can think that would affect is propriety vs. open drivers. Have Ati 4350 and using default open driver and not specific ati propriety ones.

Level 5
Level 5
Posts: 531
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

Re: conky-problem with transparent

Post by homerscousin »

Maybe this will give you some ideas. I had to do a fair amount of experimenting before I got conky to display transparently with only a slight backgroung color. Can't seem to change the background color though. It always comes up as a shade of black.

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_color e9967a
#own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 25
#own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

I used the own_window_argb.... entries instead of the own_window_transparent yes(or no) entry. Notice also I remarked out the own_window_type line.
This worked for me using KDE desktop.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.

Post Reply

Return to “Compiz, Conky, Docks, & Widgets”