Page 4 of 7

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 10:12
by gapan
simone wrote: 12. Aug 2022, 10:05 with that file it does not give me any sleep option in xfce4-power-manager nor in xfce4-logout. If I remove it they reappear...
That doesn't make sense at all to me. Anyone else seeing this?

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 11:55
by gapan
gapan wrote: 12. Aug 2022, 10:12 That doesn't make sense at all to me. Anyone else seeing this?
Well, I did a fresh installation in a VM and I'm seeing this. simone, is that your installation on a VM or on real hardware?

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:01
by laprjns
gapan wrote: 12. Aug 2022, 09:03
Papasot wrote: 11. Aug 2022, 13:54 Downloaded and testing. Everything seems fine, easy and fast installation, all my libraries work as expected. Still testing other things. I noticed the little tool slkbuild-postgen is missing (useful for packagers). I am not sure if that's intentional, and it's not a big deal anyway, but I see no reason why it's not in the repos.
Because laprjns hasn't submitted it yet. But it probably needs no update and I can just use the package in 14.2. I'll see to it.
:shock: :oops:

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:05
by gapan
laprjns wrote: 12. Aug 2022, 12:01 :shock: :oops:
Oops! Sorry! I really thought it was yours... :oops:

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:08
by hugok
hugok wrote: 11. Aug 2022, 14:10 If I install Vlsub extension(VLC), we get a duplicate entry in VLC:

https://ibb.co/3hr7nQz
gapan wrote: 12. Aug 2022, 09:03 Are you using the salix package or the flatpak. I don't use VLC so I don't know, maybe the extension is already included? And could it be a bug with the extension?

Salix package.

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:09
by gapan
OK, so about the suspend/hibernate issue, create a /usr/share/polkit-1/rules.d/10-enable-freedesktop-suspend.rules with the following contents:

Code: Select all

polkit.addRule(
  function(action, subject) {
    if ( (action.id == "org.freedesktop.login1.suspend" ||
          action.id == "org.freedesktop.login1.hibernate")
          && subject.isInGroup("power") ) {
      return polkit.Result.YES;
    }
  }
);
and it should work. You don't have to delete the 40-org.xfce-power.rules file. I will update the salix-polkit-settings package accordingly.

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:17
by hugok
I also don't have suspend/hibernate option:

https://ibb.co/LtHDKKS

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 12:38
by laprjns
gapan wrote: 12. Aug 2022, 10:12
simone wrote: 12. Aug 2022, 10:05 with that file it does not give me any sleep option in xfce4-power-manager nor in xfce4-logout. If I remove it they reappear...
That doesn't make sense at all to me. Anyone else seeing this?
I see no icons for suspend or hibernate but loginctl suspend works from the command line. It does need a password to be invoked.
Image

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 13:49
by simone
gapan wrote: 12. Aug 2022, 12:09 OK, so about the suspend/hibernate issue, create a /usr/share/polkit-1/rules.d/10-enable-freedesktop-suspend.rules with the following contents:

Code: Select all

polkit.addRule(
  function(action, subject) {
    if ( (action.id == "org.freedesktop.login1.suspend" ||
          action.id == "org.freedesktop.login1.hibernate")
          && subject.isInGroup("power") ) {
      return polkit.Result.YES;
    }
  }
);
and it should work. You don't have to delete the 40-org.xfce-power.rules file. I will update the salix-polkit-settings package accordingly.
With this modification it works... Thanks

Re: Salix Xfce 15.0RC2

Posted: 12. Aug 2022, 16:32
by gapan
simone wrote: 12. Aug 2022, 13:49 With this modification it works... Thanks
Thank you for bringing it to my attention! I have already updated the salix-polkit-settings package in the repos.