How to get Striped-Metacity theme

How to get Striped-Metacity theme

Postby rob1 on Sun Aug 10, 2014 7:09 am

Using Mint 10 I was very happy with a Mint-X-metal theme with Shiki window-decoration. Alas, it has been pointed out that the theme is no longer compatible with later Mint. Copying the appropriate index.theme from the former Mint 10 machine didn't work. I could install the basic theme with black title bar from the download page, but the "Striped" decoration is failing. I'd appreciate hints on how to establish this decoration, see the yellow stripe on the screenshot below, that appears only on the active window.
Attachments
colors-striped.png
rob1
Level 1
Level 1
 
Posts: 10
Joined: Wed Sep 21, 2011 11:56 am

Linux Mint is funded by ads and donations.
 

Re: How to get Striped-Metacity theme

Postby caribriz on Wed Aug 13, 2014 3:19 am

Hi,

I tried this which worked for me:

From a Mint 10 install, copied the folder Shiki-Colors-Striped-Metacity from /usr/share/themes to a usb flashdrive
From there, copied the folder over into a LM17 mate install - into /home/username/.themes
(Go to /home folder, click View > Show hidden files. If .themes folder is not there, create it - note the dot at the beginning)

Open Appearance Preferences > Theme
Click on Mint-X > click Customise ... > Window Border > click Shiki-Colors-Striped-Metacity
You can save the new theme with another name by clicking on Save As ...
This gets a green striped Window Border - it takes the color from the gtk theme's selected background color.

To get a yellow striped Window Border, I went back to Appearance Preferences > Theme tab
Click on "Custom" (or the renamed theme) > click Customise ... > Colours tab
Click on "Selected items: - Background" green box
In the "Pick a Colour" box that popped up, chose a yellow color - I entered #F1E962 > click ok.
Click Close
Close Appearance Preferences window

But, this changes the selected background color of icons on the desktop and in caja (and some other places) to yellow as well.

Image

If you wanted to just have the Window Border as yellow, and keep the rest of Mint-X theme with the default green selected background color
I did this:

Go to /home/username/.themes
Made a copy of the folder Shiki-Colors-Striped-Metacity, rename it Shiki-Striped-Yellow (or whatever)
Open the folder Shiki-Striped-Yellow > metacity-1 > metacity-theme-1.xml
Click Search > Replace ...
In "Search for:", type in
Code: Select all
gtk:bg[SELECTED]


In "Replace with:", type in
Code: Select all
#F1E962

... or whatever your chosen color code is.

Click "Replace All"
Click Close
Save the file

Re-open Appearance Preferences (if necessary, close and re-open, otherwise the new theme won't show up in Window Borders tab)
Click Mint-X again
Click "Customise ..." > Window Border > Shiki-Striped-Yellow
Again, can click Save As ... and give it a new name if desired.

This will give you Mint-X (with green selected color), but just the Window Border will be changed to yellow.

Image
Don't know if that's what you were after :?:
Image
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 17 Cinnamon)
caribriz
Level 5
Level 5
 
Posts: 891
Joined: Mon Nov 28, 2011 7:43 am

Re: How to get Striped-Metacity theme

Postby rob1 on Thu Aug 14, 2014 2:40 am

You made me happy! :D Many thanks. The missing link was the basic resources. Thanks to you I know to find them on /usr/share/themes.
rob1
Level 1
Level 1
 
Posts: 10
Joined: Wed Sep 21, 2011 11:56 am

Re: How to get Striped-Metacity theme

Postby caribriz on Thu Aug 14, 2014 7:15 am

No worries - I'm glad you got it sorted out :)
Image
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 17 Cinnamon)
caribriz
Level 5
Level 5
 
Posts: 891
Joined: Mon Nov 28, 2011 7:43 am


Return to MATE

Who is online

Users browsing this forum: No registered users and 3 guests