0

I copied the files /usr/share/gnome-shell/theme/gnome-shell.css of a friend of mine, who set the transparency to the maximum.

I want to change it, to make it less transparent.

Which option should I modify?

enter image description here

  • Can you link to an upload of the CSS file? – TheWanderer Apr 7 '16 at 21:19
  • pastebin.com/S8gP167b thx! :) – Matteo Apr 7 '16 at 21:32
  • Can you try this one and tell me if it worked? There are a few possibilities, and I want to go through them one by one. pastebin.com/u9zWD253 – TheWanderer Apr 7 '16 at 21:47
  • Wow! It works! But how did you find the point to be changed? – Matteo Apr 7 '16 at 22:16
  • This is the section of code I changed: /* DASHBOARD */ #dash { font-size: 9pt; color: #eeeeec; background-color: rgba(30,30,30,0.4); padding: 4px 0; border: 0px solid rgba(128, 128, 128, 0.4); border-left: 0px; border-radius: 0px 8px 8px 0px; }. I changed the background-color field to a dark gray color. I'll put it in as an answer, do the formatting is better. – TheWanderer Apr 7 '16 at 22:20
1

To change the launcher transparency, find this section in the CSS file:

/* DASHBOARD */
#dash {
font-size: 9pt;
color: #eeeeec;
background-color: rgba(30,30,30,0.4);
padding: 4px 0;
border: 0px solid rgba(128, 128, 128, 0.4);
border-left: 0px;
border-radius: 0px 8px 8px 0px; }

Change the background-color field to whatever you want. I used the RGBA format, so that transparency would work. The format of what I used is:

rgba(RED 0-255, GREEN 0-255, BLUE 0-255, OPACITY 0.0-1.0)

If the opacity is 1.0 it will be completely opaque.

EDITS:

To make the borders on the shutdown dialog buttons rounded, you need to add this somewhere in the CSS file (it doesn't really matter, but if you want organization, put it under the /* Restart */ header):

.end-session-dialog .modal-dialog-button,
.end-session-dialog .modal-dialog-linked-button {
    border-radius: 8px;
    width: 30px;
    height: 10px; }

Change the width and height sections to what you think looks good.

  • Thanks, thanks, thanks! Can I ask you the last question? You have no idea how to change the gnome-shell.css files, so the green border - red - white being rounded? This is the image: i.imgur.com/zj7V7CQ.png – Matteo Apr 8 '16 at 0:01
  • I don't understand the question. – TheWanderer Apr 8 '16 at 0:02
  • Oh, I think I get it. Give me a bit and I'll see if I can find that. – TheWanderer Apr 8 '16 at 0:02
  • That's the power menu, right? – TheWanderer Apr 8 '16 at 0:06
  • See if this works. I've kept the dock transparency change. pastebin.com/NNBruTkv – TheWanderer Apr 8 '16 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.