Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

xfwm borders theme

Show us how you are setting up MX-14!
Message
Author
User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#11 Post by rich » Fri Jun 08, 2018 9:24 pm

Yep - that's what I did with the one in the OP - most of the border is the same color as the window, then there's a 1 pixel outer border outlining the active windows - the border in total is 8 px, but 7 of them mostly blend in with the window, so it doesn't look obtuse, but you still get to use your mouse to resize windows much more easily than with most themes
MX 17.1 Dell Inspiron N5110

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#12 Post by rich » Sat Jun 09, 2018 10:20 am

asqwerth wrote:
Fri Jun 08, 2018 9:09 pm
Could you do one... to emulate the look of the current default theme with greybird gtk+arc dark xfwm. But with thicker graspable borders .
https://www.opendesktop.org/p/1239810/
See file "Arc-Dark-MX-Borders.tar.gz"

How's this?
Before:
before.png
After:
after.png
You do not have the required permissions to view the files attached to this post.
MX 17.1 Dell Inspiron N5110

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: xfwm borders theme

#13 Post by Stevo » Sat Jun 09, 2018 3:38 pm

When I did the fatter borders for the hdpi and xhdpi version of Arc, I went into the source svg files with Inkscape and made the border elements wider there before the build process rendered them into bitmaps. Are you using another technique? I wonder if I can change the colors in the svg file to get the same type of look.

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#14 Post by rich » Sat Jun 09, 2018 3:40 pm

For the arc one, everything was png, so I converted from png to xpm, then edited the xpm files in a text editor
MX 17.1 Dell Inspiron N5110

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: xfwm borders theme

#15 Post by Stevo » Sat Jun 09, 2018 3:56 pm

OK, I see. But you were working from the finished theme, which does only have the bitmaps in it. To create the package, I had to edit the source vector graphics. Some themes start from bitmaps already, some from vectors.

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#16 Post by rich » Sat Jun 09, 2018 4:03 pm

Right, when I made my alterations to the theme, I started with the installed original in /usr/share/themes/. In the source package, I see the assets.svg I believe you're referring to. I also see the png files in the assets folder, I think those would be the equivalent of the pngs I converted to xpm to modify

Does it need to be processed with the render-assets.sh for a good package? Maybe then my xpms could be converted to pngs to svgs... Not sure the procedure
MX 17.1 Dell Inspiron N5110

User avatar
Richard
Posts: 2148
Joined: Fri Dec 12, 2008 10:31 am

Re: xfwm borders theme

#17 Post by Richard » Sat Jun 09, 2018 6:14 pm

@rich,
Thanks for the tweak, Arc-Dark-MX-Borders.
It's a nice touch to the theme.
And doesn't need two hands to resize. :)
MX171: Lenovo T430: Intel Ivy Bridge i5-3320M, 8GB RAM, 4.18.0-2-amd64, 119GB SSD
MX171: EeePC 1005HA: Dual Core Atom N270, 1GB RAM, 4.9.0-8-686, 150GB HDD
Thunar/Doublecmd, LibO613, Dropbox, Firefox, CherryTree, Vbox. LinuxCounter #208633

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#18 Post by rich » Sat Jun 09, 2018 6:20 pm

Richard wrote:
Sat Jun 09, 2018 6:14 pm
And doesn't need two hands to resize. :)
:laugh: You got it!
MX 17.1 Dell Inspiron N5110

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: xfwm borders theme

#19 Post by Stevo » Sat Jun 09, 2018 7:32 pm

rich wrote:
Sat Jun 09, 2018 4:03 pm
Right, when I made my alterations to the theme, I started with the installed original in /usr/share/themes/. In the source package, I see the assets.svg I believe you're referring to. I also see the png files in the assets folder, I think those would be the equivalent of the pngs I converted to xpm to modify

Does it need to be processed with the render-assets.sh for a good package? Maybe then my xpms could be converted to pngs to svgs... Not sure the procedure
I think it would have to be...you can look at the debian/rules file from the debian.tar.xz tarball to see what code it's running and passing parameter to the script. The hdpi ones pass different parameters so that the buttons are rendered into bigger bitmaps, for instance, but the borders were still at one pixel, so I had to go into the svg file and change them there.

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: xfwm borders theme

#20 Post by rich » Sat Jun 09, 2018 7:39 pm

I guess we can't just put all files in there (little buttons, big buttons, etc etc) and pack that? It has to be able to be compiled?
MX 17.1 Dell Inspiron N5110

Post Reply

Return to “Themes and Screenshots”