Transparency for the panel in Linux Mint 20.3

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
ICIT2LOL
Level 2
Level 2
Posts: 68
Joined: Mon Jan 18, 2016 1:06 am
Location: Central West NSW Australia

Transparency for the panel in Linux Mint 20.3

Post by ICIT2LOL »

I have at last got a stable version of Mint running but cannot find how to make the panel bar transparent. I have Googled a lot of sites and tried installing it in Extensions but no go.
Any advice really appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
"The difference between stupidity and genius is that genius has it's limits"
User avatar
ricardogroetaers
Level 6
Level 6
Posts: 1368
Joined: Sat Oct 27, 2018 3:06 am
Location: Rio de Janeiro, Brasil

Re: Transparency for the panel in Linux Mint 20.3

Post by ricardogroetaers »

Please enter the version of your Linux Mint and its Desktop Environment.
User avatar
ICIT2LOL
Level 2
Level 2
Posts: 68
Joined: Mon Jan 18, 2016 1:06 am
Location: Central West NSW Australia

Re: Transparency for the panel in Linux Mint 20.3

Post by ICIT2LOL »

Sorry, I should have said I have Linux Mint 20.3 (Una) running Cinnamon.
"The difference between stupidity and genius is that genius has it's limits"
User avatar
all41
Level 19
Level 19
Posts: 9498
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Transparency for the panel in Linux Mint 20.3

Post by all41 »

Easy in MATE and Xfce--not so easy in Cinnamon
Everything in life was difficult before it became easy.
User avatar
spamegg
Level 13
Level 13
Posts: 4858
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Transparency for the panel in Linux Mint 20.3

Post by spamegg »

Hello ICIT2LOL
I have a transparent Panel with a custom color on my Cinnamon, looks like this:
panel.png
I achieved this by editing the cinnamon.css file of my current theme, which is Mint-Y-Dark-Purple. The file is located at

Code: Select all

/usr/share/themes/Mint-Y-Dark-Purple/cinnamon/cinnamon.css
So, for your theme you would choose the appropriate file. I opened it on the Terminal with

Code: Select all

sudo xed /usr/share/themes/Mint-Y-Dark-Purple/cinnamon/cinnamon.css
Around line number 450 there is this code:

Code: Select all

.panel-top, .panel-bottom, .panel-left, .panel-right {
  color: #ffffff;
  border: none;
  background-color: rgba(48, 48, 49, 0.99);  <- YOU NEED TO CHANGE THIS
  font-size: 1em;
  padding: 0px; }
The last number in background-color: rgba(48, 48, 49, 0.99) controls the transparency. You can LOWER the value for a more transparent look. Don't remove/delete/modify the existing code directly, instead comment it out, and add your different version. For example I did this to get the transparent purple color:

Code: Select all

.panel-top, .panel-bottom, .panel-left, .panel-right {
  color: #ffffff;
  border: none;
/*
  background-color: rgba(48, 48, 49, 0.99);
*/
  background-color: rgba(50, 12, 66, 0.4);
  font-size: 1em;
  padding: 0px; }
Save file, close, then Ctrl+Alt+Esc to restart Cinnamon to see the effects.
User avatar
smurphos
Level 18
Level 18
Posts: 8501
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Transparency for the panel in Linux Mint 20.3

Post by smurphos »

all41 wrote: Sun Jan 23, 2022 1:10 am Easy in MATE and Xfce--not so easy in Cinnamon
Easy in Cinnamon

Menu > Extensions > Download Tab > Navigate to Transparent Panels > Hit Download Button > Manage tab > Navigate to Transparent Panels > Hit Add Button > Optionally hit configure icon next to the installed extension.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
AndyMH
Level 21
Level 21
Posts: 13572
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Transparency for the panel in Linux Mint 20.3

Post by AndyMH »

Note - transparent panels may not work with some themes.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Software & Applications”