Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-06 23:02:10

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Resize window by grabbing down corners in Xubuntu 18.04.4

I have installed the McOS-XFCE-Edition-II-1 theme (very nice theme), but for some programs I can't grab down corner to resize because there are no borders or margins to grab the corner with the right click mouse (I know I can grab pressing Alt+right click mouse). But I read some where a trick configuration in gtk.css of the theme which draw a shadow margin/borders around the window then I can grab any corner, but this trick so far works only for Evince (Document Viewer), I don't know why only for Evince. Can someone clarify why it works only for Evince?? (All apps are GTK3) thanks, vladi

http://i.imgur.com/7GfNkhS.png (link to Evince screenshot with shadow margin/borders around the window)

The code to make shadow margin/borders around the windows:

decoration {

  border-radius: 6px 6px 0 0;
  border-width: 4px;
   box-shadow: 0px 0px 2px 19px rgba(162, 187, 236, 0.26);
  /*box-shadow: 1px 14px 14px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
  margin: 19px;}

decoration:backdrop{

  border-radius: 6px 6px 0 0;
  border-width: 3px;
  /*box-shadow: 1px 7px 7px 7px rgba(0, 0, 0, 0.26);*/
  box-shadow: 1px 14px 14px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);
  margin: 19px;}

Offline

#2 2020-03-07 00:33:11

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

pavloskiv wrote:

I have installed the McOS-XFCE-Edition-II-1 theme (very nice theme), but for some programs I can't grab down corner to resize because there are no borders or margins to grab the corner with the right click mouse (I know I can grab pressing Alt+right click mouse). But I read some where a trick configuration in gtk.css of the theme which draw a shadow margin/borders around the window then I can grab any corner, but this trick so far works only for Evince (Document Viewer), I don't know why only for Evince. Can someone clarify why it works only for Evince?? (All apps are GTK3) thanks, vladi

All apps are GTK3, but some are CSD and some are not. Evince is CSD (Client Side Decoration). SSD (server side decoration) will include your Window Manager and the XFWM4 theme you are using. But XFWM4 does not use gtk3. It is independent.
The "increase margins" will work on the CSD apps, but will not affect the Window Borders run by the XFWM4 Window Manager.
https://www.gnome-look.org/p/1275762/
Is that the theme? PaulXFCE is a great themer. But he does seem to prefer the 1px border size which is notoriously hard to grab. If you like, I can try creating an XFWM4 window border theme for you with a more generous grab-area. Maybe around 10px to 14px- 19 is a bit much...

Offline

#3 2020-03-07 09:47:12

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

@Aravisian your link point to: MC-OS MJV XFCE-Edition II theme, very similar to McOS-XFCE-Edition-II-1 theme which I have installed, thanks for your accurate answer smile it will be very nice from you if you have some time and willing to create XFWM4 window border theme.

Offline

#4 2020-03-07 19:52:30

Magnus B
Member
From: Stockholm, Sweden
Registered: 2019-06-13
Posts: 12
Website

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

Take a look at Mate applications.

Instead of Evince from Gnome try Atril from Mate.
Pluma editor instead of Gedit.
Eom image viewer instead of Eog.

They look great in Xfce4.

Offline

#5 2020-03-08 03:53:25

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

pavloskiv wrote:

@Aravisian your link point to: MC-OS MJV XFCE-Edition II theme, very similar to McOS-XFCE-Edition-II-1 theme which I have installed, thanks for your accurate answer smile it will be very nice from you if you have some time and willing to create XFWM4 window border theme.

Ok, I downloaded McOS-XFCE-Edition-II-1
Here is a link to a possible XFWM4 window border- Just extract the folder into your /usr/share/themes (or into ~/.themes), then open your Window Manager from Settings and select McOS-XFCE-Edition-II-1-XFWM4.
https://www.pling.com/p/1365438/

Magnus B wrote:

Take a look at Mate applications.

Instead of Evince from Gnome try Atril from Mate.
Pluma editor instead of Gedit.
Eom image viewer instead of Eog.

They look great in Xfce4.

This is great advice, too.

Last edited by Aravisian (2020-03-08 03:54:05)

Offline

#6 2020-03-08 11:02:48

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

@Araviasian GREAT smile that's it !! many thanks for your help. For Magnus too.

Offline

#7 2020-03-09 06:44:46

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

You are welcome

Interestingly, that upload has gotten a LOT of downloads. Far more than I expected... Only put it up there so you could grab it but I think I may need to leave it there.
I guess a lot of people need bigger resize areas...

Offline

#8 2020-08-06 19:33:32

robertscool
Member
Registered: 2020-08-06
Posts: 1

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

I downloaded it, I like it. thanks for the upload .

Aravisian wrote:

You are welcome

Interestingly, that upload has gotten a LOT of downloads. Far more than I expected... Only put it up there so you could grab it but I think I may need to leave it there.
I guess a lot of people need bigger resize areas...

Last edited by robertscool (2020-08-06 19:37:37)

Offline

#9 2021-07-13 06:20:52

fixitmanarizona
Member
Registered: 2013-08-01
Posts: 10

Re: Resize window by grabbing down corners in Xubuntu 18.04.4

Window manager themes with easy to grab edges:
https://app.box.com/s/7gk3pwdn5onj5q5b9eowa2315qy8pcy3 (zip file) instructions:
https://mxlinux.org/wiki/xfce/changing- … w-manager/
Should work with most themes.
I use OOmox customized themes (for my colors mostly) but applying this trick after customizing my theme worked great in Xubuntu 20.04

Offline

Board footer

Powered by FluxBB