Re: XFCE upgraded to 4.16

2021-01-20 Thread Andrea Venturoli

On 1/4/21 6:02 PM, Guido Falsi wrote:

On 04/01/21 17:43, Andrea Venturoli wrote:

On 1/3/21 7:04 PM, Guido Falsi wrote:




Now, to raise the bar a little :)
I was also using sysutils/xfce4-kbdleds-plugin (since my laptop has no 
indicators): any replacement for this?


Please do some searches on freshports, I'm quite sure there are some 
ports there creating tray icons. Google is your friend too.


In case someone else is interested xfce4-genmon-plugin can do this with 
a sample script already on their site.


 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-09 Thread Andrea Venturoli

On 1/9/21 10:29 PM, Andrea Venturoli wrote:

Of course this should be fixed upstream, but in the meantime I'm 
attaching a patch that solves for me.


Sorry.
The patch was removed by the list.
Here it is as plain text:

files/patch-dialogs_appearance_settings_main.c:

--- dialogs/appearance-settings/main.c.orig 2021-01-09 18:02:18 UTC
+++ dialogs/appearance-settings/main.c
@@ -994,7 +994,7 @@ appearance_settings_install_theme_cb (GtkButton *widge
 gchar **uris;
 GtkFileChooser *chooser = GTK_FILE_CHOOSER (dialog);

-uris = g_new0 (gchar *, 1);
+uris = g_new0 (gchar *, 2);
 filename = gtk_file_chooser_get_filename (chooser);
 uris[0] = g_filename_to_uri (filename, NULL, NULL);
 install_theme (window, uris, builder);
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-09 Thread Andrea Venturoli

On 1/9/21 11:59 AM, Andrea Venturoli wrote:

Right now I reached an usable config on my desktop, but I will try and 
get suck a backtrace and I'll come back if I succeed.


Here it is:


(gdb) bt
#0  0x000800e95287 in g_filename_from_uri () at 
/usr/local/lib/libglib-2.0.so.0
#1  0x002103a7 in install_theme (widget=0x80361c3f0, uris=0x80463bf98, 
builder=0x802d504e0) at main.c:881
#2  0x0020f949 in appearance_settings_install_theme_cb 
(widget=0x803631180, builder=0x802d504e0) at main.c:1000
#3  0x000800db2486 in  () at /usr/local/lib/libgobject-2.0.so.0
#4  0x000800dc8488 in g_signal_emit_valist () at 
/usr/local/lib/libgobject-2.0.so.0
#5  0x000800dc8ee6 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#6  0x0008008ab72e in  () at /usr/local/lib/libgtk-3.so.0
#7  0x000800db2486 in  () at /usr/local/lib/libgobject-2.0.so.0
#8  0x000800dc8488 in g_signal_emit_valist () at 
/usr/local/lib/libgobject-2.0.so.0
#9  0x000800dc8ee6 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#10 0x0008008abd36 in  () at /usr/local/lib/libgtk-3.so.0
#11 0x000800b8dc18 in  () at /usr/local/lib/libgtk-3.so.0
#12 0x000800db2486 in  () at /usr/local/lib/libgobject-2.0.so.0
#13 0x000800dc8488 in g_signal_emit_valist () at 
/usr/local/lib/libgobject-2.0.so.0
#14 0x000800dc8ee6 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#15 0x0008009817f1 in  () at /usr/local/lib/libgtk-3.so.0
#16 0x000800db588c in g_cclosure_marshal_VOID__BOXEDv () at 
/usr/local/lib/libgobject-2.0.so.0
#17 0x000800db2486 in  () at /usr/local/lib/libgobject-2.0.so.0
#18 0x000800dc8488 in g_signal_emit_valist () at 
/usr/local/lib/libgobject-2.0.so.0
#19 0x000800dc8ee6 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#20 0x00080097f69e in  () at /usr/local/lib/libgtk-3.so.0
#21 0x000800983395 in  () at /usr/local/lib/libgtk-3.so.0
#22 0x00080094341c in gtk_event_controller_handle_event () at 
/usr/local/lib/libgtk-3.so.0
#23 0x000800b35d9c in  () at /usr/local/lib/libgtk-3.so.0
#24 0x000800b882c1 in  () at /usr/local/lib/libgtk-3.so.0
#25 0x000800db2486 in  () at /usr/local/lib/libgobject-2.0.so.0
#26 0x000800dc8488 in g_signal_emit_valist () at 
/usr/local/lib/libgobject-2.0.so.0
#27 0x000800dc8ee6 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#28 0x000800b35ad9 in  () at /usr/local/lib/libgtk-3.so.0
#29 0x0008009d1c5f in gtk_propagate_event () at /usr/local/lib/libgtk-3.so.0
#30 0x0008009d17ef in gtk_main_do_event () at /usr/local/lib/libgtk-3.so.0
#31 0x0008002e43a1 in  () at /usr/local/lib/libgdk-3.so.0
#32 0x000800319877 in  () at /usr/local/lib/libgdk-3.so.0
#33 0x000800eb9a7e in g_main_context_dispatch () at 
/usr/local/lib/libglib-2.0.so.0
#34 0x000800eb9e24 in  () at /usr/local/lib/libglib-2.0.so.0
#35 0x000800eba17a in g_main_loop_run () at /usr/local/lib/libglib-2.0.so.0
#36 0x0008009d111b in gtk_main () at /usr/local/lib/libgtk-3.so.0
#37 0x0020cb2d in main (argc=1, argv=0x7fffe660) at main.c:1307


In frame #1 (install_theme) we have:


static void
install_theme (GtkWidget *widget, gchar **uris, GtkBuilder *builder)
{
...
for (i = 0; uris[i] != NULL; i++)
{
   ...


However in the caller (at frame #2, i.e. 
appearance_settings_install_theme_cb):



gchar **uris;
GtkFileChooser *chooser = GTK_FILE_CHOOSER (dialog);

uris = g_new0 (gchar *, 1);
filename = gtk_file_chooser_get_filename (chooser);
uris[0] = g_filename_to_uri (filename, NULL, NULL);
install_theme (window, uris, builder);



So what I think happens is that the loop processes uri[0], which holds 
the filename, but fails to find a NULL after it, since it was never 
allocated.

Guess it should read:

 uris = g_new0 (gchar *, 2);




Of course this should be fixed upstream, but in the meantime I'm 
attaching a patch that solves for me.




 bye
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-09 Thread Andrea Venturoli

On 1/8/21 8:42 PM, Guido Falsi wrote:

I don't agree. Using a network file system for home directory if 
problematic at present. Most software uses sqlite databases for 
configurations which explicitly does not support networked file 
systems. and other problems could arise.

>>
>> Such a note should be attached to most software in the ports tree.
>> Firefox and thunderbird (and most other browsers AFAIK) just to name
>> two which use sqlite DBs heavily.

(This is going OT, but Sqlite, in their FAQ, only suggest against 
*multiple processes* accessing the same database over NFS.
ThunderBird works perfectly in such a setup as it's only one 
user/program accessing the database.)




ANyway, thinking about it, if the chflag errors are just warnings like 
you say above, then setting a custom TMPDIR will not be needed even with 
your setup. So there is no need for a warning anyway.


Guido, you are losing sight with the heart of the problem, i.e. without 
TMPDIR, xfce4-appearance-settings tries to create a temporary directory 
in / (and obviously fails).

This has nothing to do with where home is or what filesystem it's using.

IMVVHO, if TMPDIR is something a FreeBSD will most probably NOT have, 
then it should be changed into something else. Or at least the user 
should know it must be set.


 bye
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-09 Thread Andrea Venturoli

On 1/8/21 8:33 PM, Guido Falsi wrote:

So, in the end, I think the messages about chflags were just warnings 
and could be ignored; the problem lies elsewhere.




I agree. There is no way then to diagnose this any further without a 
backtrace.


Right now I reached an usable config on my desktop, but I will try and 
get suck a backtrace and I'll come back if I succeed.


 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-08 Thread Andrea Venturoli

On 1/8/21 4:00 PM, Guido Falsi wrote:


My home is on NFS4 in case it matters.
If you want other info or would like me to do some tests, just ask.


It definitely matters. chflags is not supported by NFS.


I thought so...



But I have no idea why and where chflags is performed. I suspect it's 
mv(1) doing that


Does mv ever change flags?
There's no mention of it in the man page and I thought it didn't.

In any case I'd be curious which flags the script would want to set.




what kind of FS is your /tmp?


ZFS.



COuld you try creating a temporary directory in your home and pointing 
TMPDIR there?


Sure.
Now it just dumps core without giving any message.
A subfolder briefly appears in TMPDIR, but then it's gone.
~/.themes gets populated (as it did when TMPDIR was on local ZFS).
The theme is then selectable in "Window Manager" settings, but doesn't 
appear in xfce4-appearance-settings' list.


So, in the end, I think the messages about chflags were just warnings 
and could be ignored; the problem lies elsewhere.




The script does require a change to accomodate for not having any of the 
variables it checks set, but you will need to define TMPDIR anyway in 
your setup most probably to have it working.


I've got no problem with that, altough I suggest specifying this in 
pkg-message.




 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-08 Thread Andrea Venturoli

On 1/8/21 3:37 PM, Guido Falsi wrote:


Well, I just proposed what I use daily, everyone has his own preferences.


Of course :)
That doesn't mean I didn't appreciate your suggestion.



Looking at sources xfce4-settings uses a script to perform the operation 
at one point it executes this line of code:


tmpdir=`TMPDIR="${XDG_CACHE_HOME:-$TMPDIR}" mktemp -d`

Could you check with env in a terminal if you have any of those two env 
vars set?


I have none.


I tried "env TMPDIR=/tmp xfce4-appearance-settings", that brings me a 
step further, but in the terminal I see:

(xfce4-appearance-settings:7941): Gtk-WARNING **: 15:49:23.317: Content added 
to the action area of a dialog using header bars

(xfce4-appearance-settings:7941): Gtk-WARNING **: 15:49:23.317: Content added 
to the action area of a dialog using header bars
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/menu-prelight.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-5-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-3-active.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-toggled-prelight.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-4-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/close-prelight.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/shade-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/hide-prelight.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/bottom-right-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/menu-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/right-active.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-toggled-prelight.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/top-left-active.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/shade-toggled-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/close-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-2-inactive.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/bottom-left-active.xpm: Operation 
not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-3-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-pressed.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-1-inactive.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-toggled-pressed.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/bottom-inactive.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/hide-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-4-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/title-1-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-prelight.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-toggled-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/top-right-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-pressed.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/close-pressed.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-toggled-pressed.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/shade-pressed.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-prelight.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/bottom-active.xpm: 
Operation not supported
mv: chflags: /home/andrea/.themes/Snowblind-Sunset/xfwm4/menu-inactive.xpm: 
Operation not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/stick-toggled-active.xpm: Operation 
not supported
mv: chflags: 
/home/andrea/.themes/Snowblind-Sunset/xfwm4/maximize-toggled-inactive.xpm: 
Operation not 

Re: XFCE upgraded to 4.16

2021-01-08 Thread Andrea Venturoli

On 1/4/21 6:02 PM, Guido Falsi wrote:

I was also using sysutils/xfce4-kbdleds-plugin (since my laptop has no 
indicators): any replacement for this?


Please do some searches on freshports, I'm quite sure there are some 
ports there creating tray icons. Google is your friend too.


I din't find anything, but I'll try again.




In the meantime I upgraded my desktop:

For this kind of stuff (and also the previous point) I'm using 
sysutils/conky


Doesn't conky show a widget on the desktop? I want that on a panel.

So I ended up using xfce4-genmon-plugin, instead.




Now one more question:

I can't quite cope with the deafult themes (Clearlooks which I was using 
previously, now has changed in some way), so I downloaded some extra 
ones and I'm trying to install them.
However, when I press "+ Add" in xfce4-appearance-settings and choose 
the tarball, it tries to create a temporary directory in / (e.g. 
"mktemp: mkdtemp failed on /tmp.G9yLe4V3: Permission denied").

Is this normal???
Is it a bug? Or am I trying to do things the wrong way?

 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-05 Thread Andrea Venturoli

On 1/4/21 10:57 PM, Guido Falsi wrote:



_ sysutils/xfce4-kbdleds-plugin was left untouched.


This one builds fine and links with gtk3, are you sure it is not 
working? AFAIK it should work correctly.


It doesn't for me.
I thought about opening a bug report, but, then again, if you say it 
works, maybe it's something in my setup?
Notice I'm on 2021Q1 branch, but AFAICT that should make no difference, 
should it?




It fails at the configure stage when it calls "pkgconf ... 
libxfce4ui-1", as, after the XFCE upgrade, we have libxfce4ui-2.


That's easy to patch, but the same applies to libxfce4panel-1.0, then, 
as we now have libxfce4panel-2.0.


Again, patching that does not solve, since it searches for 
"", which seems to be gone from 
x11-wm/xfce4-panel.




If you say it should compile, I've got something weird going on.

 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-04 Thread Andrea Venturoli

On 1/4/21 6:51 PM, Guido Falsi wrote:

They are marked BROKEN, so not being build anyway. At least in theory 
port rules require a deprecation period for ports before removal, 
including BROKEN ones.


Sorry, this makes sense, they should have been marked BROKEN, not removed.
However, of the ports I cited:
_ audio/xfce4-mixer was removed
_ deskutils/xfce4-generic-slider was marked BROKEN;
_ sysutils/xfce4-kbdleds-plugin was left untouched.

(N.B. I'm not complaining, Just trying to help reaching a coherent result).



Someone could step in and fix them, for example, this is easier if the 
port is not actually removed.


The way I understand it, they are not fixable (of course short of a 
major rewriting).
If they are supposed to be fixable, I might even try and see if I can 
help (although I won't promise anything).



 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-04 Thread Andrea Venturoli

On 1/4/21 6:22 PM, Guido Falsi wrote:

On 04/01/21 18:02, Guido Falsi wrote:

On 04/01/21 17:43, Andrea Venturoli wrote:

P.S.
Just out of curiosity: why weren't these ports removed, since we all 
know they were going to stop working?


Why remove them while they are still working fine?



BTW, some already had a deprecation notice.


I know.

What I meant was not to remove them early; I was just curious why they 
weren't removed at the same time XFCE 4.16 was introduced, since they 
stopped working on that same day.


Rationale is: don't waste time trying to build them, since it's useless.

 bye
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-04 Thread Andrea Venturoli

On 1/3/21 7:04 PM, Guido Falsi wrote:

With the update to the new XFCE libraries the mixer plugin fails to 
compile. it requiress GTK2 support, which was dropped from the panel. 


I understand.



 and I would not be surprised if 
pulsed is actually running in the background on your system without you 
even noticing.


It's not: neither on my desktop, nor on my laptop.
The latter is quite resource-constrained, so I'd really rather leave it 
as it is.




I see audio/volumeicon which should put an icon in 
your system tray with which to set various audio parameters.


audio/gtmixer also provides a tray icon.


I'll see if one of these can suit my needs.
Thanks.



Now, to raise the bar a little :)
I was also using sysutils/xfce4-kbdleds-plugin (since my laptop has no 
indicators): any replacement for this?


And finally, I'm using deskutils/xfce4-generic-slider, which is also 
broken to monitor the temperature of my desktop.

Any suggestion here for a replacement?


 bye & Thanks
av.

P.S.
Just out of curiosity: why weren't these ports removed, since we all 
know they were going to stop working?

___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: XFCE upgraded to 4.16

2021-01-03 Thread Andrea Venturoli

On 1/2/21 5:42 PM, Guido Falsi via freebsd-xfce wrote:

Hi,

I have just committed the update to xfce 4.16 as r559953 [1]


Hello Guido and, first off, thanks for your work.

Just a question (while I'm choosing which packages to build with 
Poudriere)...


I used audio/xfce4-mixer: I see it's gone.
audio/xfce4-pulseaudio-plugin is suggested as a replacement.
Does this mean I have to run pulseaudio daemon on my laptop just to be 
able to set the volume???

If so, is there any other alternative?

 bye & Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: Welcome XFCE 4.14

2019-09-25 Thread Andrea Venturoli

On 2019-09-24 19:46, Olivier Duchateau wrote:


I think the linuxkpi is too old with 12.0-RELEASE (or switch to
-CURRENT). Gtk3 is not able to operate properly with OpenGL libraries.


Not sure what you mean here; maybe I'm not getting it...

I've upgraded two 11.3 systems (one with ATI Radeon HD 4250 and one 
Intel(R) HD Graphics 2000) and I'm seeing no such problems.


The Radeon one seems to feel slightly slower (than it was with XFCE 
4.12), but, then again, it might just be an impression.

I've yet to test the Intel one properly.

(On the Intel notebook I've always had some screen corruption here and 
there and I guess it won't go away with an XFCE upgrade; it's not what 
the OP described, though).


 bye
av.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: [CFT] sysutils/xfce4-power-manager 1.5.1

2015-06-10 Thread Andrea Venturoli

On 06/08/15 20:24, Olivier Duchateau wrote:

Hi,

In Xfce repository, there's an update of sysutils/xfce4-power-manager (1.5.1).

Some users encounter this bug [1]. I can't reproduce it. So I search someone 
which can test the patch (before upgrade read carefully comment #5), and 
affected by this behaviour.

Regards,

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199166



Hello.

Tried this and did not experience this bug.

I still wish I could invoke xscreensaver and lock my laptop when I close 
the lid (as it once did).


 bye  Thanks
av.
___
freebsd-xfce@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to freebsd-xfce-unsubscr...@freebsd.org


Re: [CFT] sysutils/xfce4-power-manager 1.4.2

2015-02-23 Thread Andrea Venturoli

On 02/21/15 18:16, Olivier Duchateau wrote:


The panel icon now shows correctly if I'm running on line power or
battery (as it did before upower 0.99).
An estimate is given about battery life and I also receive
notifications; the two however don't agree at all: e.g. panel gives
2h1', notification says 2' (60 times less).


What says 'upower -d'?


% upower -d
Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0
  native-path:  dev.battery.0
  vendor:   SANYO
  model:Li_Ion_4000mA
  serial:   0005
  power supply: yes
  updated:  Mon Feb 23 09:20:37 2015 (0 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
warning-level:   none
energy:  35.7272 Wh
energy-empty:1.0656 Wh
energy-full: 35.7272 Wh
energy-full-design:  37 Wh
energy-rate: 0 W
voltage: 14.8 V
percentage:  100%
capacity:96.56%
technology:  lithium-ion
icon-name:  'battery-full-charged-symbolic'
  History (charge):
1424679577  100.000 fully-charged
1424679546  0.000   unknown
  History (rate):
1424679546  0.000   unknown

Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline
  native-path:  hw.acpi.acline
  power supply: yes
  updated:  Mon Feb 23 09:20:37 2015 (0 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  yes
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated:  Thu Jan  1 01:00:00 1970 (1424679637 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   fully-charged
warning-level:   none
energy:  35.7272 Wh
energy-full: 35.7272 Wh
energy-rate: 0 W
percentage:  100%
icon-name:  'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.0
  on-battery:  no
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:   no
  critical-action: PowerOff
ventu@guardian:~ % upower -d
Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0
  native-path:  dev.battery.0
  vendor:   SANYO
  model:Li_Ion_4000mA
  serial:   0005
  power supply: yes
  updated:  Mon Feb 23 09:21:02 2015 (2 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   discharging
warning-level:   none
energy:  35.7272 Wh
energy-empty:1.0656 Wh
energy-full: 35.7272 Wh
energy-full-design:  37 Wh
energy-rate: 7.696 W
voltage: 14.8 V
time to empty:   4.6 hours
percentage:  100%
capacity:96.56%
technology:  lithium-ion
icon-name:  'battery-full-symbolic'
  History (charge):
1424679577  100.000 fully-charged
  History (rate):
1424679662  7.696   discharging

Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline
  native-path:  hw.acpi.acline
  power supply: yes
  updated:  Mon Feb 23 09:21:01 2015 (3 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  no
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated:  Thu Jan  1 01:00:00 1970 (1424679664 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   discharging
warning-level:   none
energy:  35.7272 Wh
energy-full: 35.7272 Wh
energy-rate: 7.696 W
time to empty:   4.6 hours
percentage:  100%
icon-name:  'battery-full-symbolic'

Daemon:
  daemon-version:  0.99.0
  on-battery:  yes
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:   no
  critical-action: PowerOff




Overall, this agrees with what the panel says; it's just notification 
bubbles that give absurd values.











Closing the lid does not lock the screen: this was working before (with
older upower).


Perhaps with UPower 0.99.2 [1]?

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196394


This only made things worse:
_ lid closing still does not lock;
_ panel plugin now crashes;
_ in addition I can't open Settings - Power Manager anymore (no errors, 
just nothing).




 bye  Thanks
av.
___