[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Whonix XFCE Development

Rich source of XFCE settings manipulation:

https://www.linuxsecrets.com/archlinux-wiki/wiki.archlinux.org/index.php/Xfce.html

Anything useful for us there?

1 Like

It’s not clear to me yet how folder /etc/xdg/xfce4/xfconf/xfce-perchannel-xml (or more generally folder /etc/xdg/xfce4/) works. It may be a superior solution to folder /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml.

Progress on disable removable drives auto-mounting - XFCE only (https://phabricator.whonix.org/T902) was made.

1 Like

/etc/xdg/xfce4/xfconf/xfce-perchannel-xml looks better in any case. Going to port to it.

1 Like

Debian /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="string" value="Failsafe"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe" type="empty">
      <property name="IsFailsafe" type="bool" value="true"/>
      <property name="Count" type="int" value="5"/>
      <property name="Client0_Command" type="array">
        <value type="string" value="xfwm4"/>
      </property>
      <property name="Client0_PerScreen" type="bool" value="false"/>
      <property name="Client1_Command" type="array">
        <value type="string" value="xfsettingsd"/>
      </property>
      <property name="Client1_PerScreen" type="bool" value="false"/>
      <property name="Client2_Command" type="array">
        <value type="string" value="xfce4-panel"/>
      </property>
      <property name="Client2_PerScreen" type="bool" value="false"/>
      <property name="Client3_Command" type="array">
        <value type="string" value="Thunar"/>
        <value type="string" value="--daemon"/>
      </property>
      <property name="Client3_PerScreen" type="bool" value="false"/>
      <property name="Client4_Command" type="array">
        <value type="string" value="xfdesktop"/>
      </property>
      <property name="Client4_PerScreen" type="bool" value="false"/>
    </property>
  </property>
  <property name="splash" type="empty">
    <property name="Engine" type="string" value=""/>
  </property>
</channel>

Whonix:

Preparing to unpack .../whonix-xfce-desktop-config_1.4-1_all.deb ...
Unpacking whonix-xfce-desktop-config (3:1.4-1) ...
dpkg: error processing archive /mnt/initialdeb/pool/main/w/whonix-xfce-desktop-config/whonix-xfce-desktop-config_1.4-1_all.deb (--unpack):
 trying to overwrite '\''/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml'\'', which is also in package xfce4-session 4.12.1-6
Errors were encountered while processing:
 /mnt/initialdeb/pool/main/w/whonix-xfce-desktop-config/whonix-xfce-desktop-config_1.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)       '
+ apt_get_exit_code=100

After removing the xfce4 meta package:

The following packages were automatically installed and are no longer required:
gtk2-engines-xfce libkeybinder-3.0-0 libwnck-common libwnck22
libxfce4ui-utils xfce4-appfinder xfce4-panel xfce4-pulseaudio-plugin
xfce4-session xfce4-settings xfdesktop4 xfdesktop4-data xfwm4

The following packages were not installed by default anyhow:

  • tango-icon-theme
  • gtk3-engines-xfce
  • xfce4-power-manager
  • xfce4-goodies

System would work well without the following packages:

  • gtk2-engines-xfce

List of packages we depend on from other packages anyhow:

  • thunar

List of packages we would keep for sure (manually add Depends:):

  • thunar-volman
  • xfce4-appfinder
  • xfce4-pulseaudio-plugin
  • xfconf
  • xfce4-settings
  • xfconf
  • xfce4-panel
  • xfwm4
  • xfdesktop4
  • xfce4-session

In conclusion, dependencies by https://packages.debian.org/buster/xfce4 by look very good. At most package https://packages.debian.org/buster/gtk2-engines-xfce and https://packages.debian.org/buster/libxfce4ui-utils would be avoidable. Really not worth the effort. Keeping meta package xfce4.

Any suggestions for the background image? Any background image available from any packages sourced from packages.debian.org?

The only two backgrounds images installed currently (non-removable [as long as we want to use XFCE] dependency package xfdesktop4-data)

  • /usr/share/backgrounds/xfce/xfce-blue.jpg
  • /usr/share/backgrounds/xfce/xfce-teal.jpg

Could be changed here:
https://github.com/Whonix/whonix-xfce-desktop-config/blob/master/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml#L12

2 posts were split to a new topic: Whonix XFCE Background Image

Without thunar-volman, there is a non-helpful error in thunar settings when clicking on volume management.

thunar -> edit -> preferences -> advanced -> shows missing dependencies, links to:

Say trash won’t work but trash is functional. The other features described above actually do not look important to Whonix.

Related to livecheck:

More livecheck improvements:

1 Like

sudoers exception for livecheck /etc/sudoers.d/whonix-xfce-desktop-config is insufficient. Currently only works for user user. Does not work for any other user account such as user2.

Would it be an issue if we allowed ALL, i.e.

ALL ALL=NOPASSWD: /bin/lsblk --noheadings --all --raw --output RO

?

%sudo would be safe, but that doesn’t help in all cases. I.e.

%sudo ALL=NOPASSWD: /bin/lsblk --noheadings --all --raw --output RO

What other alternatives are there to permit desktop login users too?

1 Like
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]