Increase the resizing space for the windows in XFCE4?

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
sunrat
Posts: 636
Joined: Mon Mar 28, 2016 9:54 pm

Re: Increase the resizing space for the windows in XFCE4?

#11 Post by sunrat »

asqwerth wrote: Thu Jan 17, 2019 8:06 amIn MX15 (gtk3.14), he created a modified greybird gtk theme (or was it the accompanying window manager theme?) called MX-greybird-thick with thicker borders. Not sure how he did that or what entries he changed.
Maybe
http://sevkeifert.blogspot.com/2014/12/ ... buntu.html

User avatar
Paul..
Posts: 1777
Joined: Sun Mar 18, 2007 6:34 pm

Re: Increase the resizing space for the windows in XFCE4?

#12 Post by Paul.. »

Turns out the only way create bigger borders is to patch each set of theme files individually which is kind of...well...ugly.

For example, the relevant Greybird-MX17 Window Manager theme files are located in /usr/share/themes/Greybird-17/xfwm4/

To change the border thickness, you need to edit certain .xpm files which are a kind of ASCII art file. Adjusting these files is trial-and-error...

If you just want a quick way to increase the border size, go to Settings -> Window Manager -> select Daloa. I think it has a border of 3 or more pixels.

Here's a reference: http://sevkeifert.blogspot.ca/2014/12/i ... buntu.html

Ideal solution? Find a way to have a master Window Manager theme that other themes "inherit" (I suppose).

xfce gurus, please chime in here if you understand how that might be possible!

Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: Increase the resizing space for the windows in XFCE4?

#13 Post by Jerry3904 »

Does the old theme still work, and is it available?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
asqwerth
Developer
Posts: 7230
Joined: Sun May 27, 2007 5:37 am

Re: Increase the resizing space for the windows in XFCE4?

#14 Post by asqwerth »

Our current wm theme is not greybird wm but arc dark wm theme.

But the older wm theme for greybird might still work. Wm themes aren't really affected by gtk changes unlike the gtk themes.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
oops
Posts: 1619
Joined: Tue Apr 10, 2018 5:07 pm

Re: Increase the resizing space for the windows in XFCE4?

#15 Post by oops »

Paul.. wrote: Thu Jan 17, 2019 9:13 am ...
xfce gurus, please chime in here if you understand how that might be possible!
... An "invisible and magnetic" solution to catch the mouse of about 1 pixel or so, more or less, would probably be the best.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
Paul..
Posts: 1777
Joined: Sun Mar 18, 2007 6:34 pm

Re: Increase the resizing space for the windows in XFCE4?

#16 Post by Paul.. »

Quick and Dirty: I could cut and paste the relevant .xpm files from Doloa wm theme to Arc-Dark...and call it Arc-Dark-Thick

Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)

User avatar
oops
Posts: 1619
Joined: Tue Apr 10, 2018 5:07 pm

Re: Increase the resizing space for the windows in XFCE4?

#17 Post by oops »

Paul.. wrote: Thu Jan 17, 2019 9:41 am Quick and Dirty: I could cut and paste the relevant .xpm files from Doloa wm theme to Arc-Dark...and call it Arc-Dark-Thick
... Will be my default theme as workaround. :number1:
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

philotux
Posts: 280
Joined: Sun Apr 22, 2018 12:57 pm

Re: Increase the resizing space for the windows in XFCE4?

#18 Post by philotux »

Paul.. wrote: Thu Jan 17, 2019 9:41 am Quick and Dirty: I could cut and paste the relevant .xpm files from Doloa wm theme to Arc-Dark...and call it Arc-Dark-Thick
Paul..

If it is not to much of a hassle, would you mind giving some step by step instruction as how to accomplish this. I have no idea where to look for to begin with.

User avatar
Paul..
Posts: 1777
Joined: Sun Mar 18, 2007 6:34 pm

Re: Increase the resizing space for the windows in XFCE4?

#19 Post by Paul.. »

Here is a modified version of Arc-Dark Window Manager theme with thicker borders.

Name: Arc-Dark-Thick

https://drive.google.com/file/d/1TSL-DR ... sp=sharing

To test:

1. Download and extract the .tar.gz file to create the folder Arc-Dark-Thick
2. As root, copy the Arc-Dark-Thick folder to /usr/share/themes
3. As user, go to Settings->Window Manager and select Arc-Dark-Thick

EDIT: You can trigger a refresh with: "xfwm4 --replace" from user terminal...or select another Window Manager and then go back

Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)

User avatar
oops
Posts: 1619
Joined: Tue Apr 10, 2018 5:07 pm

Re: Increase the resizing space for the windows in XFCE4?

#20 Post by oops »

Paul.. wrote: Thu Jan 17, 2019 11:00 am Here is a modified version of Arc-Dark Window Manager theme with thicker borders.

Name: Arc-Dark-Thick

https://drive.google.com/file/d/1TSL-DR ... sp=sharing

To test:

1. Download and extract the .tar.gz file to create the folder Arc-Dark-Thick
2. As root, copy the Arc-Dark-Thick folder to /usr/share/themes
3. As user, go to Settings->Window Manager and select Arc-Dark-Thick

EDIT: You can trigger a refresh with: "xfwm4 --replace" from user terminal...or select another Window Manager and then go back
I will try but:

#theme_switch_clear-dark.desktop

Code: Select all

[Desktop Entry]
Version=1.0
Type=Application
Name=Switch Theme
Comment=Switch between dark and light themes
# by fehlix:
# based on the idea by richb
# https://forum.mxlinux.org/viewtopic.php?f=23&t=44584#
# Light
# Exec=xfconf-query -c xsettings -p /Net/ThemeName -s "Greybird-mx17"
# Dark
# Exec=xfconf-query -c xsettings -p /Net/ThemeName -s "Arc-Dark"
Exec=bash -c 'A=Arc-Dark;B=Greybird-mx17;declare -A T;T=([$A]=$B [$B]=$A);tn() { xfconf-query -c xsettings -p /Net/ThemeName "$@";};tn -s ${T[$(tn)]}'
Icon=view-private
Path=
Terminal=false
StartupNotify=false
Categories=perso;
... I also use this switch_clear-dark.desktop theme, so I now need 2 themes modified.
A=Arc-Dark-Thick
B=Greybird-mx17-Thick
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

Post Reply

Return to “Tips & Tricks by users”