LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to set conky to load at startup? (https://www.linuxquestions.org/questions/slackware-14/how-to-set-conky-to-load-at-startup-843348/)

gunzzz5930 11-09-2010 08:52 PM

How to set conky to load at startup?
 
How to set conky to load at startup?


MORE POWER LNXQ!!

bnguyen 11-09-2010 09:30 PM

This totally depends on DE/WM. Which one you are using?

gunzzz5930 11-09-2010 10:29 PM

Quote:

Originally Posted by bnguyen (Post 4154275)
This totally depends on DE/WM. Which one you are using?

What is DE/WM?

I use xfce slackware 13.1

bnguyen 11-09-2010 11:06 PM

Desktop Environment (like KDE, GNOME, XFCE) / Window Manager (like Openbox, Fluxbox)

In XFCE, you go to Settings > Session and Startup > Application Autostart, then add an entry there.

gunzzz5930 11-10-2010 12:56 AM

Quote:

Originally Posted by bnguyen (Post 4154343)
Desktop Environment (like KDE, GNOME, XFCE) / Window Manager (like Openbox, Fluxbox)

In XFCE, you go to Settings > Session and Startup > Application Autostart, then add an entry there.

I see conky load, but when wallpaper is loaded it desappears...

Daedra 11-10-2010 01:27 AM

change your conky config file

own_window_type desktop
own_window_type normal

This should fix your disappearing conky.

gunzzz5930 11-10-2010 01:38 AM

Quote:

Originally Posted by Daedra (Post 4154442)
change your conky config file

own_window_type desktop
own_window_type normal

This should fix your disappearing conky.


Fixed!!! But display in window mode that user able to close the application..

Thanks!

own_window_type desktop - would be prefereable...
Any idea?

Daedra 11-10-2010 02:37 AM

The only way I know of to get desktop mode to work is to disable xfce from drawing the wallpaper by killing the xfdesktop process. Then I use compiz wallpaper plugin to draw my wallpaper. the trade off though is that you lose the ability to have icons on your desktop. I have yet to find a permanent fix for this with KDE or Xfce.

CincinnatiKid 11-10-2010 10:43 AM

I have this working in KDE, with the ability to have desktop icons, etc... It took me days to figure out how to configure it properly. It was all in the conkyrc configuration. I don't have that computer with my right now, but when I get home from work, I will post my conkyrc, maybe my configuration will work in xfce also.

2handband 11-10-2010 12:09 PM

Quote:

Originally Posted by lewisforlife (Post 4154867)
I have this working in KDE, with the ability to have desktop icons, etc... It took me days to figure out how to configure it properly. It was all in the conkyrc configuration. I don't have that computer with my right now, but when I get home from work, I will post my conkyrc, maybe my configuration will work in xfce also.

That would be great... I was going to install conky for my kde desktop.

Daedra 11-10-2010 04:03 PM

Quote:

Originally Posted by lewisforlife (Post 4154867)
I have this working in KDE, with the ability to have desktop icons, etc... It took me days to figure out how to configure it properly. It was all in the conkyrc configuration. I don't have that computer with my right now, but when I get home from work, I will post my conkyrc, maybe my configuration will work in xfce also.

I didn't word that right, what I meant was I have never been able to use
own_desktop_type desktop with default KDE settings. Conky always disappears behind the plasma desktop unless I use own_desktop_type normal. I use compiz to draw my wallpaper so its not an issue anymore, but I am still interested if someone has a fix.

CincinnatiKid 11-10-2010 11:13 PM

Here is my KDE set up. I have some stuff in there detecting my CPU temp, so you may want to take that out because it is specific to my comp, but other than that, try this and see if it works in XFCE:

Code:

alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_argb_visual yes
own_window_class Conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${scroll 35 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
 /home $color${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
${color grey}Networking:
 Up:$color ${upspeed wlan0} ${color grey} - Down:$color ${downspeed
wlan0}
${color grey}Temperature
 $color ${execi 1 sed 's/ [ ]*/ /' /proc/acpi/thermal_zone/ATF0/temperature}
 $color ${execi 1 sed 's/ [ ]*/ /' /proc/acpi/thermal_zone/DTS0/temperature}
 $color ${execi 1 sed 's/ [ ]*/ /' /proc/acpi/thermal_zone/DTS1/temperature}

$hr
${color grey}Name              PID  CPU%  MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}



All times are GMT -5. The time now is 06:36 AM.