Results 1 to 1 of 1

Thread: Transparent mc in 9.10

  1. #1
    Join Date
    Oct 2007
    Pacific NW, USA

    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...
    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...

    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...

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

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


    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...

    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...
    ./ 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 10th, 2010 at 02:06 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts