Page 1 of 1

How to get Striped-Metacity theme

Posted: Sun Aug 10, 2014 7:09 am
by rob1
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.

Re: How to get Striped-Metacity theme

Posted: Wed Aug 13, 2014 3:19 am
by caribriz
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 :?:

Re: How to get Striped-Metacity theme

Posted: Thu Aug 14, 2014 2:40 am
by rob1
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.

Re: How to get Striped-Metacity theme

Posted: Thu Aug 14, 2014 7:15 am
by caribriz
No worries - I'm glad you got it sorted out :)