Author Topic: [xfce-openrc] Replacing some packages  (Read 689 times)

0 Members and 1 Guest are viewing this topic.

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
[xfce-openrc] Replacing some packages
« on: 06. June 2015, 21:57:42 »
Hi,

A while ago, it was reported that xfce4-session (without recompiling) was working with consolekit; today I had a talk on the #xfce-dev channel and was told that there was runtime support for consolekit or logind, so recompiling was not required.

So the xfce4-session-consolekit package could be replaced with the xfce4-session package:
Code: [Select]
$ sudo pacman -S xfce4-session
resolving dependencies...
looking for conflicting packages...
:: xfce4-session and xfce4-session-consolekit are in conflict. Remove xfce4-session-consolekit? [y/N] y

Packages (2) xfce4-session-consolekit-4.12.1-1 [removal]
             xfce4-session-4.12.1-2.1

Total Installed Size:  2.52 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]

However, there is a catch involved: the xfce4-session package depends on polkit-gnome and installs a file that autostarts it by default, while the Xfce+Ob OpenRC ISOs have had lxpolkit which also gets autostarted by default.

Since only one graphical polkit agent is required, lxpolkit (from the lxsession package) could be removed:
Code: [Select]
$ sudo pacman -Rs lxsession
checking dependencies...

Packages (2) libunique-1.1.6-6  lxsession-1:0.5.2-1.1

Total Removed Size:  1.74 MiB

:: Do you want to remove these packages? [Y/n]

Those that use Openbox can edit ~/.config/openbox/autostart and change:
Quote
# Polkit agent
#/usr/bin/lxpolkit & # started automatically
to
Quote
# Polkit agent
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: [xfce-openrc] Replacing some packages
« Reply #1 on: 06. June 2015, 21:58:37 »
Reserved for instructions on possibly replacing more packages like xfce4-power-manager-upower and upower-pm-utils.
« Last Edit: 06. June 2015, 22:02:21 by aaditya »