Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-12-30 07:38:11

pancho
Member
Registered: 2014-12-29
Posts: 3

[Solved] Window button (Close, Maximize, ...) size

Hi,

I have installed Xfce on Linux Mint 17.1 on my parent's computer (they have almost 80 years old).
I have suceeded to increase the size of most of the items on the desktop, but I have not found how to increase the buttons on the top right of the windows (close button, maximize button, ...).

Does anyone know if it is possible to resize those buttons and how to do it ?

Thanks for you support
Pancho

Offline

#2 2014-12-30 11:14:14

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Window button (Close, Maximize, ...) size

you need an image editor and maybe a text editor to edit(stretch) the xpm/png files

https://wiki.xfce.org/howto/xfwm4_theme

to just make them double you can use convert(but keep in mind that images (esp the xpms) are pixel based, so this isn't really a good idea)

for name in `find . -maxdepth 1 -type f -name "*.xpm"`; do convert "$name" -alpha on -scale 200% $name; done
for name in `find . -maxdepth 1 -type f -name "*.png"`; do convert "$name" -alpha on -resize 200% $name; done

Last edited by sixsixfive (2017-12-09 17:54:12)

Offline

#3 2014-12-31 07:28:17

pancho
Member
Registered: 2014-12-29
Posts: 3

Re: [Solved] Window button (Close, Maximize, ...) size

Hi,
Thanks for your answer. I need to dig into how xfwm4 is working.

Pancho

Offline

#4 2014-12-31 13:45:06

Jerry3904
Member
Registered: 2013-11-09
Posts: 853

Re: [Solved] Window button (Close, Maximize, ...) size

I wonder if it would help to go to Settings Manager > Accessibility > Assistive Technologies tab, and check "Enable assistive technologies" (needs at-spi (Debian name) installed).


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#5 2015-01-02 06:33:51

pancho
Member
Registered: 2014-12-29
Posts: 3

Re: [Solved] Window button (Close, Maximize, ...) size

Hi,

I have now suceeded to resize the window buttons and more.
Here are the detailed steps :

1- In the folder /usr/share/themes create a new theme 'mytheme' by copying the theme 'Mint-X'
2- Install imagemagick (sudo apt-get install imagemagick) to get the linux command convert
3- Go to folder /usr/share/themes/mytheme/xfwm4
4- Modify title* and top* files with convert command as suggested by sixsixfive with scale 200%
5- Modify close*, hide* and maximize* files with convert command with scale 150%
6- Modify file /usr/share/themes/mytheme/xfwm4/themerc with following options :
             button_offset=15
             button_spacing=2
             maximized_offset=10
7- Go to Parameters --> Window manager (I am not sure about the english name as I am using french version) and change the theme to 'mytheme'; I also changed the font of the title to 20.
8- I also changed the color of the close* images to red using Gimp.

To Jerry3904, I changed the settings as you suggested, but did not find any change.

Offline

Board footer

Powered by FluxBB