Originally Posted by
WinEunuchs2Unix
My DE is Ubuntu 14.04 but soon might be Ubuntu Utopic Unicorn Unity-8 (ie 14.10 alpha-2).
Your panel applet is very cool. I was thinking the same at the bottom of the screen about 3 times higher than the system tray. It would sit below other windows but they could be resized upwards to reveal.
I think a lot of conky users would love to see how you coded the conky config file to put it in the system tray / panel applets. I haven't seen that done yet in my web surfing.
This is the basic conky.
Just add your own variables and position with goto.
I've highlighted the main settings.
Code:
###### Use XFT? Required to Force UTF8 (see below).
#
use_xft yes
xftfont ubuntu:size=10
xftalpha 0.8
text_buffer_size 1024
####
## Force UTF8? Requires XFT (see above).
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes
####
## Daemonize Conky, aka 'fork to background'.
#
background no
####
## Update interval in seconds.
#
update_interval 1.0
####
## 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_colour 676767 ## use gtk-theme-config to set unity panel color then in terminal run "zenity --color-selection" to get your panel color
own_window_title panelconky
own_window_type panel
own_window_transparent no
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
default_color dim gray
own_window_argb_visual no ## change to no if problems
own_window_argb_value 255
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
####
## Draw shades?
#
draw_shades no
default_shade_color 000000
####
## Draw outlines?
#
draw_outline no
#default_outline_color 000000
####
## Draw borders around text?
#
draw_borders no
####
## Draw borders around graphs?
#
draw_graph_borders no
####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no
####
## Text alignment.
#
alignment tm
####
## Minimum size of text area.
#
minimum_size 850 22
maximum_width 850
####
## Gap between text and screen borders.
#
gap_x 0
gap_y 1
####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes
####
## Pad % symbol spacing after numbers.
#
pad_percents 0
####
## Pad spacing between text and borders.
#
border_inner_margin 0
border_outer_margin 0
border_width 0
####
## Limit the length of names in "Top Processes".
#
top_name_width 10
####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
no_buffers yes
####
## Set to yes, if you want all text to be in UPPERCASE.
#
uppercase no
####
## Number of cpu samples to average.
## Set to 1 to disable averaging.
#
cpu_avg_samples 2
####
## Number of net samples to average.
## Set to 1 to disable averaging.
#
net_avg_samples 2
####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right
####
## My colors (suit yourself).
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 FF4040
color5 FCE3BB #text colour
color6 Gray
color7 AntiqueWhite4
color8 F9A41E
#color9 red
color9 FFDB58 #icon
#lua_load ~/conky/lua/bargraph_smallcpu.lua
#lua_draw_hook_post main_bars
TEXT
${color5}Use ${goto 200}goto to ${goto 400}position info
Originally Posted by
WinEunuchs2Unix
It would sit below other windows but they could be resized upwards to reveal.
In other configs I have given the conky window a title and then used wmctrl to toggle above/below.
eg with these settings in the config
Code:
own_window yes
own_window_type normal
own_window_title myconky
own_window_hints undecorated,below,skip_taskbar,skip_pager
Then you can set a keyboard shortcut or create a .desktop launcher to toggle the conky window above/below with this command.
See the attached mp4(164kb) to see in action.
Code:
wmctrl -a myconky -b toggle,above
You need to install wmctrl.
Bookmarks