Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old February 9th, 2010   #1
BentFX
First Cup of Ubuntu
 
Join Date: Oct 2007
Location: Pacific NW, USA
Beans: 9
Transparent mc in 9.10

Okay, this image is what I was trying to get when I started. If it looks good to you, read on.



First thing you need is Eterm... all other terminals seem to lack something, right-clicks are lost, menubars that won't go away, general wonkiness, it was always something.

Get Eterm...
Code:
sudo apt-get install eterm
If you load mc in an Eterm now the fonts are messed up. The fix is to change the default locale from UTF-8 to ISO-8859. we gotta modify some files...

in the file /var/lib/locales/supported.d/en add the line...

Code:
en_US.ISO-8859-1 ISO-8859-1
in the file /var/lib/locales/supported.d/local delete the UTF-8 line and replace it with...

Code:
en_US.ISO-8859-1 ISO-8859-1
Then run the command...

Code:
sudo dpkg-reconfigure locales
That should print out a lot of UTF-8 lines and our new ISO-8859 line.

Reboot!

mc should now display properly in an Eterm.

The next step is to modify the colors in mc, and add transparency to the main mc items.

Go to Zagura's blog and download the color changing script. (bookmark that site )

I unpacked it as a sub-folder of ~/.mc so I would always have it where it is used.

Read Zagura's blog post and learn to load the different themes. It is really the easiest way to deal with colors in mc.

Open the theme files in a text editor to see how they are formatted. The default.theme is commented to show the different color options.

The general format is easy... It goes something like this...

Code:
ITEM_NAME=Foreground,Background
Once you've got a handle on all this, choose your favorite theme, make a copy of it, and start changing background colors to "default". When used in the background spot, default is transparent. I called my theme BentFX.theme.

While editing/testing I used these commands to reload my theme and launch Eterm/mc to test my changes...
Code:
./mc_change_theme.sh BentFX.theme
Eterm -O --viewport-mode --shade 75 --buttonbar 0 -e mc
I realize this tutorial isn't real good but it explains all the things that I fought over in getting what I wanted... Your mileage may vary!

Last edited by BentFX; February 9th, 2010 at 08:06 PM..
BentFX is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:31 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry