How do you increase the resize border thickness in Xubuntu 12.04?

13

5

I want to make the window resize border larger, but do not want to change the window manager or the desktop theme. How do I do so?

Stu

Posted 2012-06-13T21:24:39.197

Reputation: 1 044

Answers

10

Here's an explanation of increasing the border size:

http://sevkeifert.blogspot.com/2014/12/increase-window-border-size-in-xubuntu.html

Summary:

XFCE theme files use a XPM3 file format. To change the Greybird Window borders, find the theme XFCE files under:

cd /usr/share/themes/Greybird/xfwm4/

Then, back up the files and try tweaking. Increase the width to 4px and add a one pixel dark border:

sudo vi bottom-active.xpm

/* XPM */
static char * left_active_xpm[] = {
"1 4 2 1",
"  c #cecece",
". c #7c7c7c",
" ",
" ",
" ",
"."};

sudo vi left-active.xpm

/* XPM */
static char * left_active_xpm[] = {
"4 1 2 1",
"  c #cecece",
". c #7c7c7c",
".   "};

sudo vi right-active.xpm

/* XPM */
static char * left_active_xpm[] = {
"4 1 2 1",
"  c #cecece",
". c #7c7c7c",
"   ."};

To trigger a refresh, you can use:

 xfwm4 --replace

Kevin Seifert

Posted 2012-06-13T21:24:39.197

Reputation: 216

External links can disappear or be unavailable, in which case your answer would have no value. Please add a synopsis of the key points from the link to your answer so it can stand alone. Thanks. – fixer1234 – 2014-12-14T06:56:11.767

I added the info from my blog... – Kevin Seifert – 2014-12-15T04:39:05.407

16

I found the only easy answer was to learn to use the alt-right button-drag thing. Which once you get used to it is pretty handy, and of course therefore is sorely lacking in windows. :-(

Stu

Posted 2012-06-13T21:24:39.197

Reputation: 1 044

1

The window border size depends in the window manager (xfwm) theme. Changing the window manager theme doesn't interfere with the desktop (GTK) theme, they don't have to be the same. To get exactly the look you like it's quite easy to make a modified version of your favorite theme but with a thicker border. The themes are located in /usr/share/themes and your custom theme can be placed in ~/.themes (you only need care about the xfce4 subdirectory).

Fabel

Posted 2012-06-13T21:24:39.197

Reputation: 1 093