Page 5 of 6

Posted: Thu 19 Feb 2015, 09:25
by Moat
battleshooter wrote:Wow, I haven't seen this thread in a long time.
Another one of those great threads that gets lost in the shuffle... :(
battleshooter wrote: I hope to one day come back to this and get a more modular system going.
In tinkering and thinking about this...

Turns out Pwidgets works quite well as a conky "manager" - for invoking/placing and saving conkies around the desktop. As far as I understand, the Pwidgets' devs have had to modify it's included conky, so as to allow "pseudo"-transparent conky backgrounds on the rox desktop.

With your approach (using feh) - that's no longer necessary. In fact, by including the Lua script I stumbled across - we can now have true transparency, opacity, and everything in between (semi-transparency)! I imagine not having to modify conky may make Pwidgets easier to maintain as Puppy evolves...?

I envision (ha! the easy part...) a complete .pet package that combines all of those elements into one - your four packages, the semi-transparent Lua script above, and Pwidgets (with it's included widget configs tweaked for these feh and Lua mods). Throw in some cool, complete conkies... sort of a "Pwidgets Pro". 8)

Ideally, an included script to automagically modify .xinitrc and set_bg would be wonderous... but I know just enough to realize that may be difficult/impossible, or likely dangerous.

It'd probably be fairly large, too (like between 1-2Mb?). But, ooooh... so cool! :shock:

Bob

Posted: Thu 19 Feb 2015, 09:49
by Moat
Doh... dumb mistake...

Posted: Mon 09 Mar 2015, 12:07
by Moat
Moat wrote:Downsides... now that there's so much "stuff" being loaded at boot time - it seems they may occasionally clash as the desktop "builds", and won't completely load. I.E. - one missing conky window here, maybe have to click on the desktop once to bring up the taskbar another time, etc.
Resolved this ^^ issue by moving the feh command 'feh --bg-scale /root/.background' to an earlier spot in .xinitrc - from about line 130 to 113 (as per pic attached). Now the desktop loads perfectly, 100% of the time.

Bob

Posted: Mon 09 Mar 2015, 12:20
by Moat
Also been searching a while for - and not finding - a simple screen pixel ruler, that wouldn't pull in a ton of dependencies. But with 'feh' now installed it was very easy to make my own - simply using feh to display a border-less ruler image.

Pet attached (my first... please go easy on me... :oops: :) ). Alt+left-click to drag it around the screen, right-click pops up a wee feh menu with options to rotate to vertical, exit and a few other things...

Bob

Conky on Tahrpup64.

Posted: Wed 28 Oct 2015, 04:30
by drunkjedi
So I installed Conky, liblua, libiconv, and feh from PPM and conky switcher pet from here.
I also made changes in both files you showed in op.

Well conky runs and switches themes nicely.
What I am not getting is transparent Background.

Any hint what I could do.

Thanks.

Edit: Conky "appears" transparent after I switch wallpaper.
I say "appears" because it mismatches with background. It's slightly off.
It seems due to my dual monitor setup.

Edit2: The slight mismatch is gone after changing "own_window_type desktop" to "own_window_type override" in conkyrc.
But it has a delay.


Any way to have true Transparency?

Posted: Wed 28 Oct 2015, 11:44
by solo
Perhaps this link may be of some help:

http://conky.pitstop.free.fr/wiki/index ... y_%28en%29

Posted: Fri 30 Oct 2015, 03:57
by drunkjedi
Thanks for the link.
I tried making sense of it.
But I am quit new to Linux.

What I came up is,
It uses composite Managers like xcompmgr or compton or compiz.
I don't know if they work with JWM I have and even if I install them how to make them work.

On other note, on very third line it says "it's good as long as you don't use LUA or IMLIB".
But all my conky use lua.
So I am not sure.

But I am just a novice.

Posted: Fri 30 Oct 2015, 08:48
by solo
No I think you've summed it up pretty well.

What I think you can distill out of it is that either you ditch JWM as a window manager and run OpenBox instead, so you can then run one of those composite managers,....orrr, you use the normal transparancy calls in Conky, but then you have to NOT run Lua.

The only other option for transparancy is the one you already have and do not want.

So I suppose you'll have to decide where to go from here. What do you use Lua for in Conky? Might there be a way to achieve the same effect in Conky without it? How important is JWM for you as a window manager? Questions.

Posted: Sat 31 Oct 2015, 05:29
by drunkjedi
solo wrote:The only other option for transparancy is the one you already have and do not want.
Nah I can live with this. The only thing that was hindering me was my own ignorance and impatience.
After I used "own_window_type override" in conkyrc the thing is nicely transparent, also the slight delay is only at conky start and when changing wallpaper.
Thanks for your help.
solo wrote:What do you use Lua for in Conky? Might there be a way to achieve the same effect in Conky without it?
The Lua is used for the rings of clock and other things. I will look if any other way is there to do that.
here is how my desktop looks
Image
solo wrote:How important is JWM for you as a window manager?
Actually it's not that important, but I have Fatdog so I won't change my wm here but will do experiments in Fatdog.

Thanks friend.

Posted: Sat 31 Oct 2015, 08:48
by solo
Yeah I think those rings are very much a Lua thing.

You have one slick looking desktop though I tell ya.

I would agree that a slight delay in appearance at startup should not be the reason to turn your whole config on its head.

In Conky, sometimes stuff like that may be caused by the loading order of elements in the conkyrc. I don't know how much room there is to experiment with that, but it's something to keep in mind.

Posted: Sun 01 Nov 2015, 05:23
by drunkjedi
Ahh thanks mate.

I just used Ken conky theme in conky switcher provided in OP.
Just changed colors of clock circles.

Posted: Tue 16 Feb 2016, 15:40
by Moat
Semi-transparent .png images can be added to the Pwidgets' conkies, using for example...

Code: Select all

${image /usr/local/pwidgets/widgets/drawButton.png -p -1,0 -s 190x374}
... placed at the very end of the config file. Takes a bit of fiddling with the image and conky position offset and size variables for everything to align properly, but can look awfully "classy", IMHO (unfortunately, it does seem to add about 2% CPU use @ idle, though, on this old Pentium D desktop :( ). Some glassy background images, with a bit of drop-shadow added to the clock .png -

Posted: Mon 28 Mar 2016, 06:28
by nilsonmorales
Puppy works fine with bargraphs here a little example
Documentation here http://n00by4ever.deviantart.com/art/co ... -401252985
need sao ui fonts http://fontmeme.com/freefonts/34787/sao_ui.font
conkyrc
#------------------------- Windows Settings
# Create own window instead of using desktop (required in nautilus)
alignment top_right
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
own_window_colour black
own_window_class Conky
own_window_title TEST
own_window_argb_visual yes
own_window_argb_value 0

double_buffer yes

#------------------------- Location
minimum_size 340 200
#gap_x 310
#gap_y 310

#------------------------- FONT
use_xft yes
xftfont SAO UI:bold:size=13
xftalpha 0.8 # Alpha of Xft font. Must be a value at or between 1 and 0 ###
override_utf8_locale yes
draw_shades no
default_shade_color black
draw_outline no
uppercase no

#------------------------- BORDER
draw_borders no
draw_outline no
stippled_borders 0
border_inner_margin 0
border_outer_margin 0
border_width 0

#------------------------- OTHER
background no
update_interval 1

lua_load /root/.config/conky/puppybars.lua
lua_draw_hook_post main_bars


draw_graph_borders no

TEXT
${font SAO UI:size=22}${alignc}${execi 300 date +"%A, %B %d"}
${alignc}$nodename
${font SAO UI:size=55}${voffset 12} ${offset 197}${font}CPU >>> ${cpu cpu0}%
${voffset 20} ${offset 90}MEM >>> ${memperc}%
${voffset 28} ${offset 170}ROOT >>> ${fs_used_perc /root}%
puppybars.lua file
http://paste.debian.net/419713/ just 90 days.
Image

Posted: Tue 29 Mar 2016, 00:34
by Subito Piano
Like Jedi, i have Lua on JWM. Transparency falters until i open up conkyswitcher, switch to a different conky, wait a second, then switch back to Lua. Then, voila! -- transparency ensues. In my conkyrc file, "own_window_type override" is NOT commented out. Any ideas?

Posted: Fri 27 May 2016, 21:57
by smokey01
Is anyone else having problems with Conky?

Mine has stopped working because:

Code: Select all

Connecting to ip.tupeux.com|212.129.25.14|:80...
seems to be down.

Posted: Fri 31 Mar 2017, 22:56
by spiritwild
I use to have a script with

wget http://ipinfo.io/ip -qO -


and ad to /.conkyrc file;
IP: ${exec sh ip.sh}

This use to work also

${exec curl -s http://ipinfo.io/ip -qO -}


I dont know if that still works, still displays IP in terminal though