conky-problem with transparent

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mr_talicni_tom

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

TEXT
${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 http://weather.noaa.gov/pub/data/observations/metar/stations/ 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/issue.net}  $machine
${color 339900}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}
here is look of my desktop:http://www.dodaj.rs/f/l/a3/JhKpZuc/1/ak ... adjem-.jpg

i got or saw this conky on:http://www.webupd8.org/2011/02/try-this ... 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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
grimdestripador
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.
Orbmiser

Re: conky-problem with transparent

Post by Orbmiser »

Running Linux Mint 14 Cinnamon and Metro Conky with no transparent problems.
screenshot-area.png
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.
.
homerscousin

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

Return to “Compiz, Conky, Docks & Widgets”