How to get csd back in xfce4
-
- White ninja
- Posts: 4
- Joined: 12 Jul 2022, 14:44
- Distribution: xubuntu
How to get csd back in xfce4
There is a huge bug in porteus xfce. The CSD window decoration doesn`t work so a third party custom start menu won`t work . What schould i do to fix this? How do i get csd decorations back???
What the heck happened with xfce. The csd decorations are als mssing from the settings application of xfce. How do i fix this and get the normal xfceui with csd windows?
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
How to get csd back in xfce4
ah, CSD .. some hate em, some love em.. D: (for those wondering: CSD = client side decorations, ie. window decorations determined by the app(client) and not the window manager)
so.. two things are going on here:
first, we've chosen to use a patched version of gtk+3 that disables a bunch of features, including CSD by default.. gtk3-classic
second, (afaiui) our xfce maintainer chose to compile xfce patched in such a way as to remove CSD as much as possible..
so, how much this fix will apply i can't guarantee, though i imagine your third party custom start menu should be okay.
the fix:
create (as root) /etc/profile.d/restore-csd.sh and put:
and make sure it's executable : chmod +x /etc/profile.d/restore-csd.sh
if you're using changes, this be enough (with reboot)
if not, here's script to make a module(run as root):
and if your want disappearing scrollbars; add export GTK_OVERLAY_SCROLLING=1 to that file too..
so.. two things are going on here:
first, we've chosen to use a patched version of gtk+3 that disables a bunch of features, including CSD by default.. gtk3-classic
second, (afaiui) our xfce maintainer chose to compile xfce patched in such a way as to remove CSD as much as possible..
so, how much this fix will apply i can't guarantee, though i imagine your third party custom start menu should be okay.
the fix:
create (as root) /etc/profile.d/restore-csd.sh and put:
Code: Select all
#!/bin/sh
export GTK_CSD=1
if you're using changes, this be enough (with reboot)
if not, here's script to make a module(run as root):
Code: Select all
#!/bin/bash
echo -e '#!/bin/sh\n\nexport GTK_CSD=1\n' > /etc/profile.d/restore-csd.sh
chmod +x /etc/profile.d/restore-csd.sh
mkdir /tmp/module
cp -a --parents /etc/profile.d/restore-csd.sh /tmp/module
dir2xzm /tmp/module /tmp/restore-csd.xzm
echo "restore-csd.xzm is in /tmp, move it to your modules folder and reboot"
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- White ninja
- Posts: 4
- Joined: 12 Jul 2022, 14:44
- Distribution: xubuntu
How to get csd back in xfce4
Thx that was a fast response. Now it works.
I had to extract libxfce4ui-4.16.1-x86_64-1.txz too. then it worked..
Ah its gtk classic.
The menu is from https://github.com/rozniak/xfce-winxp-tc .
I had to extract libxfce4ui-4.16.1-x86_64-1.txz too. then it worked..
Ah its gtk classic.
The menu is from https://github.com/rozniak/xfce-winxp-tc .