You are not logged in.
Pages: 1
I'm writing a new conky config that uses a Lua background as a panel. I want an image in the conky which is the Arch A, which I have downloaded from the Arch site.
Basically the image sits in behind the conky/lua panel, how do I bring it to the front?
This is my config so far (and I'm using Gnome Shell):
alignment top_left
background yes
border_margin 0
border_width 1
default_color ffffff
double_buffer yes
draw_outline no
draw_graph_borders no
draw_borders no
draw_shades no
gap_x 0
gap_y 500
maximum_width 2560
minimum_size 2560 500
no_buffers yes
uppercase no
override_utf8_locale yes
own_window true
own_window_transparent true
own_window_title conky
own_window_color 000000
own_window_argb_visual yes
own_window_argb_value 155
own_window_type desktop
own_window_hints undecorated,below,skip_taskbar,skip_page
own_window_class conky
text_buffer_size 8000
total_run_times 0
update_interval 1
use_xft yes
xftalpha 1.0
xftfont Freesans:pixelsize=9
short_units yes
# -- Lua Load -- #
lua_load /home/dobbie/.draw_bg.lua
lua_draw_hook_pre draw_bg
#lua_load ~/.bargraph_small.lua
lua_draw_hook_post main_bars
own_window_colour 000000
TEXT
${image ~/.conky/arch.png -p 20,20 -s 150x150 -f 2}
Cheers
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Ok I have worked out what is happening, because of this requirement:
own_window true
own_window_transparent true
own_window_title conky
own_window_color 000000
own_window_argb_visual yes
own_window_argb_value 155
own_window_type desktop
own_window_hints undecorated,below,skip_taskbar,skip_page
own_window_class conky
The image is being made semi transparent, anyone know a work around in Gnome Shell?
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Thread moved to Help & Support (Other)
Have you tried https://wiki.archlinux.org/index.php/Co … with_GNOME?
own_window_argb_value 255 seems to be the salient difference.
EDIT: also, you should probably update your configuration the the new 1.10 syntax:
https://wiki.archlinux.org/index.php/Co … ax_changed
Last edited by Head_on_a_Stick (2016-09-11 15:16:37)
Offline
@dobbie03 -
maybe take a look through some of the conky weather threads - washed out weather icons is a running issue, and I think there are some solutions to get the weather icons to show better.
You must unlearn what you have learned.
-- yoda
Offline
Thanks Chaps, I'll look into it
Mr Stick, How do I use this script mentioned at the Arch Wiki https://github.com/brndnmtthws/conky/bl … onvert.lua
I'm so confused.
Cheers
Edit, I worked it out, I ran 'lua .luaconvert.sh .conkyrc conkyrc'
Still not getting transparency but I am sure I will work it out.
Last edited by Döbbie03 (2016-09-12 08:34:59)
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
The easiest way is to copy the script into the home to make it executable and convert the old .conkyrc:
$ lua convert.lua old.conkyrc .conkyrc
either
own_window true
own_window_transparent true
own_window_title conky
#own_window_color 000000
#own_window_argb_visual yes
#own_window_argb_value 155
own_window_type desktop
own_window_hints undecorated,below,skip_taskbar,skip_page
own_window_class conky
or
own_window true
own_window_transparent false
own_window_title conky
own_window_color 000000
own_window_argb_visual yes
own_window_argb_value 155
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_page
own_window_class conky
Last edited by unklar (2016-09-12 18:20:38)
Offline
Thanks mate, I worked out the transparency. It was rustiness on my part as I hadn't written a new config in so long.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
I worked out the transparency
What was the solution, if you don't mind me asking?
Offline
I found I still had to set 'own_window_argb_value' to something lower than the 255 to give the conky panel transparency.
I'm not sure this is still correct though.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Pages: 1