Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to give terminal specific background image and make it 50% transparent at the same time?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Assuming you are asking about Gnome Terminal, select your background image and adjust below transparency slider - it's in same tab in same preferences dialog

enter image description here

share|improve this answer
    
Yes, I'm on gnome shell. But I still cant make it transparent. If background image is chosen, then slider below adjusts transparent between chosen color and background, not the window it self. –  Laurynas Nov 12 '11 at 14:47
    
Then make your background image transparent to your liking with some image editor (PNG + Alpha) and set above mentioned slider to 0 (None) –  zetah Nov 12 '11 at 15:21
add comment

The options for gnome terminal do not allow you to set a transparency mask for a background image.

You can either choose from a solid color background, a background image where you can set the opacity shade of that image or transparent background where you can set the level of transparency for the terminal's selected background color.

If you select a image as a background you wont be able to see tru that image.

What you can do is create an image in a format that allows transparency (ie png) and set that image as your background for the terminal.


Step by step

I have started with this image called ubuntu-backgrounds7.jpg

enter image description here

I have open it with Gimp and set the transparency of it to 75% and saved it as ubuntu-backgrounds7.png in a folder inside my home.

I then go to Edit > Profile Preferences > Background and set the image I have just created as the selected background for my terminal.

enter image description here

You can then adjust the opacity for the background with the slider to get the desired shade on your background.

enter image description here

share|improve this answer
    
But user that asked this question did not wanted color mask which is applied if simply using slider, as you can see from your example images. Making transparency slider to 0 (zero) you can use your custom image transparency without applied mask (which is chosen by the color set as terminal background) –  zetah Dec 11 '11 at 0:19
    
@zetah The answer clearly says he can adjust that with the slider. I rest complete ;) –  Bruno Pereira Dec 11 '11 at 0:21
    
@zetah Yours is the correct answer this is just a extra. Tell you what, make a small guide as I did (you can even copy mine I dont care) and I will delete this. (drop a comment if you do it) I mean you do have the answer in your comments ;) –  Bruno Pereira Dec 11 '11 at 0:24
    
I was just commenting as I didn't know if you read the comments, that user did not wanted color mask applied (kinda purple on your example). Feel free to edit my answer and extend it as Jorge already did –  zetah Dec 11 '11 at 0:29
    
@zetah I cannot find reference to any part of the question that mentions "no shade" in it, only "50% transparent" and since this is only an example made for this I will keep it this way. –  Bruno Pereira Dec 11 '11 at 0:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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