You are not logged in.

#1 2016-09-11 01:45:20

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Quick Conky Question

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

#2 2016-09-11 01:55:09

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: Quick Conky Question

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

#3 2016-09-11 15:15:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Quick Conky Question

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

#4 2016-09-11 16:33:58

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,674

Re: Quick Conky Question

@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

Online

#5 2016-09-12 08:08:35

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: Quick Conky Question

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

#6 2016-09-12 18:18:20

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,709

Re: Quick Conky Question

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

#7 2016-09-13 05:30:36

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: Quick Conky Question

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

#8 2016-09-13 06:18:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Quick Conky Question

Dobbie03 wrote:

I worked out the transparency

What was the solution, if you don't mind me asking?

Offline

#9 2016-09-14 08:21:59

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: Quick Conky Question

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

Board footer

Powered by FluxBB