Midnight Commander (or "mc") can have transparent panels instead of the ugly, dull default blue. So can "mcedit", its text editor.
Here's how to do it. Edit the file ~/.mc/ini and add at the end the following:
[Colors]
base_color=normal=,default:selected=,:marked=,default:\
markselect=,:menu=,:menuhot=,:menusel=,:\
menuhotsel=,:dnormal=,:dfocus=,:dhotnormal=,:dhotfocus=,:\
input=,:reverse=,:executable=,default:directory=,default:\
link=,default:device=,default:special=,:core=,:helpnormal=,:\
helplink=,:helpslink=,:editnormal=,default:
Note #1: In the above 'code' block, there is only one line below [Colors]. I truncated the line with the backslash because of blogspot rendering issues. You just write all that on one single line, without the "\" (backslash-es).
Note #2: At the end of this line, the "editnormal,=default:" option means that mcedit will have transparent background in your console, as well.
UPDATE: If you want to see a more in-depth look upon color customization in Midnight Commander, check out this post.
Very good tip!
ReplyDeleteBut directory lines still are in blue color. Is there a way to make directory lines also transparent?
Hello Mateus,
ReplyDeleteThere was a huge delay in replying, I know.
However, I decided to look into this and I think I now have a (rather comprehensive) answer to your question: yes, it is possible to alter the other colors, too, while keeping the neat transparency.
Take a look at this post:
http://plug-and-pray.blogspot.com/2009/09/editing-midnight-commanders-color.html
Dear Alex,
ReplyDeleteWonderful tip. I thank you a lot for you have gone deep in this subject. Please, don't worry about the delay.
Congratulations for your blog.
I have added it as one of my favorites websites.
Best regards,
Mateus
Hello Mateus,
ReplyDeleteI'm glad the follow-up post was helpful.
Thank you for your interest and support in this blog. It's nice to know that my "online tech notebook" is useful for people other than myself.
Live long and prosper! :)
Thank you for this great tip!
ReplyDeletemc -b
ReplyDeleteNo one can stop you writing a perfect blog or article if you are passionate to your job. Your aim is to satisfy your readers with a well written blog and your passion is always behind your every successful assignment. Impressive writing skills can be observed over here.ถุงใต้ตา
ReplyDeleteinstall the background remover app and remove background of pictures.
ReplyDelete