after rebuilding all Pwidgets scripts, I still managed to get it to run
Trying to run Pwidgets
Moderator: Forum moderators
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Trying to run Pwidgets
- Attachments
-
- Снимок экрана от 2023-04-15 19-02-03.png (484.01 KiB) Viewed 1286 times
-
- Снимок экрана от 2023-04-15 17-37-59.png (466.59 KiB) Viewed 1306 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 7038
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 3159 times
- Been thanked: 2941 times
- Contact:
Re: Trying to run Pwidgets
@Sofiya could you share the Pwidget modified script(s)? Take a look and see if it's good for KLV.
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
rockedge wrote: Sat Apr 15, 2023 4:42 pm@Sofiya could you share the Pwidget modified script(s)? Take a look and see if it's good for KLV.
Doesn't work in KLV-Airedale xfce.
The window manager plays a big role.
- Attachments
-
- Screenshot.jpg (123.49 KiB) Viewed 1271 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- fredx181
- Posts: 3386
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 438 times
- Been thanked: 1485 times
- Contact:
Re: Trying to run Pwidgets
Can you explain a bit more ?
Is it about transparency or ... or gtk or xfce version ..
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
fredx181 wrote: Sat Apr 15, 2023 7:16 pmCan you explain a bit more ?
Is it about transparency or ... or gtk or xfce version ..
about transparency.
we also take into account that xfce has its own composite manager
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 7038
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 3159 times
- Been thanked: 2941 times
- Contact:
Re: Trying to run Pwidgets
I have a machine that is picky about the kernel when running the XFCE4 compositor. It freezes the display when in a "Lock Screen" condition. So I turn it off and start picom at boot instead. Works pretty good.
KLV has picom
built in. For a test, disable the XFCE4 compositor and start picom. In this state Pwidget might work for the test.
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
It turns out that the xonclock program is needed, which is no longer being developed, it is needed in order for the analog clock to work in Pwidgets
The issue is resolved by compiling https://github.com/01micko/xonclock
- Attachments
-
- Снимок экрана.png (463.92 KiB) Viewed 1197 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- fredx181
- Posts: 3386
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 438 times
- Been thanked: 1485 times
- Contact:
Re: Trying to run Pwidgets
Experimented a little to get transparency with the conky from Void repo (v1.13) and found that this is required (for KLV) in the conky config:
(edit: added new syntax below too)
own_window_transparent yes
new syntax: own_window_transparent = true,
own_window_argb_visual yes
new syntax: own_window_argb_visual = true,
But note: compositing needs to be enabled (builtin compositor or picom)
And also I'd recommend:
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
Attached tar.gz with 2 configs:
- modified default config (/etc/conky/conky.conf (new syntax)
- modified Clock_digital (from pwidgets)
I think that with the "conky_pwidgets" included in the pwidgets package, transparency on KLV is not possible because it doesn't support option own_window_argb_visual
- mikeslr
- Posts: 3083
- Joined: Mon Jul 13, 2020 11:08 pm
- Has thanked: 179 times
- Been thanked: 991 times
Re: Trying to run Pwidgets
fredx181, "I think that with the "conky_pwidgets" included in the pwidgets package, transparency on KLV is not possible because it doesn't support option own_window_argb_visual."
I kind-of remembered that the conky version used by pwidgets might be replaceable. But, as I've often pointed out, my memory can be flaky and when possible I don't depend on it. There was a simple experiment. Rename conky-widgets so that it wouldn't be use and so that a duplicate of conky could be named conky-widgets. [FYI, the experiment was run under F-96]. I expected either failure or success. The result was neither.
Restarting-x, only one of the widgets I had chosen under pwidgets was displayed: the analog clock using xonclock. But pwidgets' GUI also could be started.
As you know, what information pwidgets displays is the result of the various bash-scripts it employs, chosen by the user via the GUI. So perhaps editing the code of those scripts could produce an application which employs a different version of Conky.
The information conky and pwidgets displays are different and I prefer that displayed by pwidgets. But what each displays depends on the scripts each uses. Some time ago I unsuccessfully searched for conky-plugins that would produce the display I have under pwidgets. Writing or modifying scripts are 'above my paygrade.'
- fredx181
- Posts: 3386
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 438 times
- Been thanked: 1485 times
- Contact:
Re: Trying to run Pwidgets
mikeslr wrote:I kind-of remembered that the conky version used by pwidgets might be replaceable
Thanks, yes, tried some widgets with newer conky renamed to conky_pwidgets, rather problematic, I think, most pwidget configs need modifying for to work properly on KLV (with the XFCE Desktop).
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
working with Pwidgets helped me find the missing utilities
In general, it turned out beautiful
- Attachments
-
- Снимок экрана.jpg (138.79 KiB) Viewed 1225 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- mikeslr
- Posts: 3083
- Joined: Mon Jul 13, 2020 11:08 pm
- Has thanked: 179 times
- Been thanked: 991 times
Re: Trying to run Pwidgets
In a previous post I noted that I had been unsuccessful finding the widgets for Conky which were the equivalents to those I use in pwidgets. Re-initiating that search indicated that they do exist. But note, all I want to display is a calendar, a clock, the local weather and --since my desktop requires wifi two floors below the router-- wifi strength. This however, suggests that widgets sought by others may also exist.
Of course, my very minimal understanding of scripting means that while the ones I'd want do exist, I won't be able to use them. And while I'm happy to learn that Sofiya was able to figure out how to add widgets and was pleased with the result, I'd want to know how to have Conky NOT display most of the information it was originally designed to display. I rarely need to know that information; there are easily and/or alternate ways of obtaining it when I do want to know it, and having it always displayed creates what I consider a busy desktop.
On the other hand, some of the possibilities of Conky --I believe employing lua-- would really be interesting, e.g. https://www.gnome-look.org/p/1287775/
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
mikeslr wrote: Mon Apr 17, 2023 1:37 amIn a previous post I noted that I had been unsuccessful finding the widgets for Conky which were the equivalents to those I use in pwidgets. Re-initiating that search indicated that they do exist. But note, all I want to display is a calendar, a clock, the local weather and --since my desktop requires wifi two floors below the router-- wifi strength. This however, suggests that widgets sought by others may also exist.
Of course, my very minimal understanding of scripting means that while the ones I'd want do exist, I won't be able to use them. And while I'm happy to learn that Sofiya was able to figure out how to add widgets and was pleased with the result, I'd want to know how to have Conky NOT display most of the information it was originally designed to display. I rarely need to know that information; there are easily and/or alternate ways of obtaining it when I do want to know it, and having it always displayed creates what I consider a busy desktop.
On the other hand, some of the possibilities of Conky --I believe employing lua-- would really be interesting, e.g. https://www.gnome-look.org/p/1287775/
Pwidgets this same Conky only modified for widgets, Conky c lua definitely has more possibilities, at one time it was interesting to me, Conky c lua.
Due to the possibility of creating different effects that are not in the usual Conky.
You also need to take into account the fact that you need to write the script for Conky yourself, taking into account your equipment, video card,processor, network since the script written for AMD will not show some sensors in NVIDIA and vice versa
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
mikeslr wrote: Mon Apr 17, 2023 1:37 amI'd want to know how to have Conky NOT display most of the information it was originally designed to display.
This is done by simply cutting out the code from the script, leaving only what we need.
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
- Attachments
-
- Снимок экрана.jpg (134.55 KiB) Viewed 1161 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
Yes, it's a shame that there is a problem with transparency in xfce
interesting on KLA-xfce will be the same
- Attachments
-
- Screenshot.png (385.37 KiB) Viewed 1126 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
there is an option to make it transparent in xfce for Pwidgets
- Attachments
-
- Screenshot.png (340.24 KiB) Viewed 1039 times
-
- Screenshot(1).png (364.24 KiB) Viewed 1054 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
- Attachments
-
- Screenshot.png (380.55 KiB) Viewed 1032 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- pp4mnklinux
- Posts: 1317
- Joined: Wed Aug 19, 2020 5:43 pm
- Has thanked: 684 times
- Been thanked: 330 times
Conky at F96CE_XFCE_FUSILLI 4.4
CONKY...
And you can configure it the way you want to show some system information.
In my case:
Code: Select all
- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
${scroll 16 $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 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$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}
FILE LOCATED AT etc/conky
Have a nice day u all.
PP4MNK
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
Pwidgets
The new version pwidgets-2.7_2.x86_64.xbps is at the link - viewtopic.php?t=8572
- Attachments
-
- Screenshot.png (331.19 KiB) Viewed 1345 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- fredx181
- Posts: 3386
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 438 times
- Been thanked: 1485 times
- Contact:
Re: Trying to run Pwidgets
pp4mnklinux wrote:And you can configure it the way you want to show some system information.
In my case:
...
Your post could have value if you posted the conky config for what you showed in the screenshot.
Btw, besides that the code you posted has no originality (as it's the default conky config), it is not correct (doesn't work, not complete).
- pp4mnklinux
- Posts: 1317
- Joined: Wed Aug 19, 2020 5:43 pm
- Has thanked: 684 times
- Been thanked: 330 times
Re: Trying to run Pwidgets
?
PP4MNK
- pp4mnklinux
- Posts: 1317
- Joined: Wed Aug 19, 2020 5:43 pm
- Has thanked: 684 times
- Been thanked: 330 times
Re: Trying to run Pwidgets
@fredx181 , for sure you know better than me the content of my conky.
I'm sorry because my post had no value for you, I hope it could be useful for others (thanks god this is a "forum").
Excuse me again , have a nice day.
fredx181 wrote: Sun Apr 23, 2023 8:13 pmpp4mnklinux wrote:And you can configure it the way you want to show some system information.
In my case:
...Your post could have value if you posted the conky config for what you showed in the screenshot.
Btw, besides that the code you posted has no originality (as it's the default conky config), it is not correct (doesn't work, not complete).
PP4MNK
- fredx181
- Posts: 3386
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 438 times
- Been thanked: 1485 times
- Contact:
Re: Trying to run Pwidgets
pp4mnklinux wrote: Mon Apr 24, 2023 4:11 am..... I hope it could be useful for others (thanks god this is a "forum").
How can a posted code that doesn't work be useful for anyone ?
(try it and you'll see it doesn't work)
EDIT: Not a big deal btw, I just wanted to inform you.
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
I can't sleep if something doesn't start for me. And so I found dependencies for Xonclock. Everything started up. It would seem that everything is fine, but it wasn’t there, the clock can only be displayed if the script says "# keep clock on top - top = true", and if "top = false" then the clock is invisible.
But it's ugly when another window hits them, or when a browser is open.Wherever you look, pitfalls with xfce.
Everything I can, my ship ran aground.It's very difficult to go with the flow with Xfce.
xonclock-0.9_3.x86_64.xbps -- https://drive.google.com/file/d/19uSZzN ... share_link
- Attachments
-
- Screenshot.png (273.27 KiB) Viewed 1123 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
- Attachments
-
- Screenshot.png (308.26 KiB) Viewed 1055 times
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free
- Sofiya
- Posts: 2475
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1532 times
- Been thanked: 1691 times
Re: Trying to run Pwidgets
fredx181 wrote: Sun Apr 23, 2023 8:13 pmpp4mnklinux wrote:And you can configure it the way you want to show some system information.
In my case:
...Your post could have value if you posted the conky config for what you showed in the screenshot.
Btw, besides that the code you posted has no originality (as it's the default conky config), it is not correct (doesn't work, not complete).
Code: Select all
conky.config = {
alignment = 'top_right',
background = false,
border_inner_margin = 15,
border_width = 5,
default_color = 'ffffff', --ffffff # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
double_buffer = true,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
gap_x = 30,
gap_y = 60,
maximum_width = 650,
double_buffer = true,
override_utf8_locale = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_transparent = false,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_argb_visual = true,
own_window_argb_value = 0,
text_buffer_size = 8000,
total_run_times = 0,
update_interval = 1,
uppercase = false,
use_xft = true,
xftalpha = 1,
short_units = false,
font = 'Mintysys:style=regular:pixelsize=16',
color1 = '505139',
color2 = '005929',
color3 = '005929',
}
conky.text = [[
${font SAOUI:weight=Light:size=78}${alignc}${time %I:%M}${font}
${goto 15}${font SAOUI:weight=Light:size=28}${alignc} ${time %A %B %d}${font}
${alignc}${voffset 6}${offset 12}${font Mintysis:pixelsize=14}${color ffffff}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color ffffff}RAM ${offset 9}$color$mem / $memmax${offset 30}${color ffffff}CPU ${offset 9}$color${cpu cpu0}%
${alignc} __________________________________________________________________________
${font Mintysis :pixelsize=20}${alignc}${color ffffff} KLA - OT2{color}
]]
KL-Linux https://sofijacom.github.io
KL LINUX Simple fast free