Why you dont try with the "Autostart Applications" for your desktop and put this command :
sh -c 'sleep 45;sh -c "conky"'
this is very simple
open apostrophe "sh -c program" with this launch the "sleep" , with the " ; " its for start another comand its the same like " && " , and again i use sh -c "program" close apostrophe , and now with this works.
]]>This works:
edit
~/.config/autostart/conky.desktop
like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=conky
Comment=
Exec=conky -p 10
StartupNotify=false
Terminal=false
Hidden=falseThe
-p 10
gives conky a 10 seconds break so that it starts drawing after the desktop is up. You can increase this pause if needs be.
Thank You so much! it worked for me!
]]>This works:
edit
~/.config/autostart/conky.desktop
like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=conky
Comment=
Exec=conky -p 10
StartupNotify=false
Terminal=false
Hidden=falseThe
-p 10
gives conky a 10 seconds break so that it starts drawing after the desktop is up. You can increase this pause if needs be.
Sorry for bumping an old thread but this answer fixed the problem for me if anyone else is having the same problem. It seems that if you start Conky at the same time as XFCE 4.10 then the XFCE desktop draws over the top of the Conky window. Adding the delay ensures that Conky is displayed on top as it should be.
]]>edit
~/.config/autostart/conky.desktop
like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=conky
Comment=
Exec=conky -p 10
StartupNotify=false
Terminal=false
Hidden=false
The
-p 10
gives conky a 10 seconds break so that it starts drawing after the desktop is up. You can increase this pause if needs be.
]]>Conky fails to autostart with XFCE. This happens here as well on XFCE 4.10 with Conky 1.9.0. The wiki suggests setting own_window to override but this does not work.
Conky works fine when manually started.
Any suggestions?
]]>Has anyone ever had problems with transparency?
After I start up conky in xfce it draws itself into its own window as normal, but the full transparency doesn't kick in until I attempt to logout. This isn't a big issue and I don't have my arch laptop with me at the moment so I can't post my rc file, but I was curious if this is something that anyone else has seen before.
what DE do you use?
]]>After I start up conky in xfce it draws itself into its own window as normal, but the full transparency doesn't kick in until I attempt to logout. This isn't a big issue and I don't have my arch laptop with me at the moment so I can't post my rc file, but I was curious if this is something that anyone else has seen before.
]]>so, if you're using lxde, it would be like
exec ck-launch-session dbus-launch startlxde && sleep <number> && conky
background yes
use_xft yes
xftfont monospace:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
double_buffer yes
minimum_size 1 1
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color 000000
default_outline_color d9d7d6
alignment middle_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 red
color2 gray
##############################################
# Output
##############################################
TEXT
CPU: ${cpubar cpu0}
RAM: $membar${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${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 sans-serif:bold:size=8}SHORTCUT KEYS ${hr 2}
${font sans-serif:normal:size=8}Alt+F2$alignr Run Dialog
Alt+F3$alignr Dmenu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+q$alignr Force Quit
Super+g$alignr Character Map
Super+l$alignr Lock
Super+u$alignr System Upgrade
Super+r$alignr Read the DOC
Super+x$alignr Tiling Keybinds
Conky: forked to background, pid is 21461
Conky: desktop window (1000003) is subwindow of root window (15a)
Conky: window type - desktop
Conky: drawing to created window (0x1800002)
Conky: drawing to double buffer
Note: I DO fork conky to the background, and you don't so that will be different.
]]>Try to err on the side of caution to start, with "sleep 60 && conky" which will wait a full minute before starting conky, then shorten the sleep command until it stops working and go back to last working value.
]]>$ conky
Conky: desktop window (1600003) is subwindow of root window (379)
Conky: window type - override
Conky: drawing to created window (0x2200001)
Conky: drawing to double buffer
or (idk) if the xfce autostart utility is like the gnome autostart app,
you can just create an bash script like
#!/bin/bash
sleep 20 && conky
adjust the sleep value to your needs so that it starts after the desktop is started.
]]> own_window_type desktop
this link may help you
conky objects
Edit: that was a typo in code
]]>