LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-17-2011, 06:57 AM   #1
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Rep: Reputation: 0
Dynamic background with transparent terminal


I want to create a dynamic desktop, i.e. a screensaver or a movie instead of static image as a background of a transparent terminal.

I can make this dynamic background by using xwinwrap,e.g. for movie

xwinwrap -ni -o 0.6 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet <moviefilename>

And also can set the terminal transparent by making change in Edit > Profile Preference by clicking with mouse or by using command like

aterm -tr

(may be can be done with xterm also, I don't know.)

But I found that the transparent terminal doesn't show the movie in background, rather it shows the earlier default static image of the background!


Any help?

Thanks in advance.
 
Old 01-17-2011, 09:27 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
A 'transparent' terminal is only really transparent if you're using a compositing window manager, like Compiz.
 
1 members found this post helpful.
Old 01-18-2011, 12:14 AM   #3
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Original Poster
Rep: Reputation: 0
I have compiz installed. But I don't know how I can use for this purpose.
 
Old 01-18-2011, 01:35 AM   #4
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Rep: Reputation: 9
Quote:
Originally Posted by hbaromega View Post
I have compiz installed. But I don't know how I can use for this purpose.
Do you have the CompizConfig Settings Manager installed ?

If not, try to install it with

Code:
$ sudo apt-get install compizconfig-settings-manager
or through Ubuntu's app installer (search for ccsm).

Then you'll have tons of settings to try, particularly those about windows.
 
Old 01-18-2011, 03:24 AM   #5
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah. It's saying :

compizconfig-settings-manager is already the newest version


Then?
 
Old 01-18-2011, 03:57 AM   #6
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Rep: Reputation: 9
Quote:
Originally Posted by hbaromega View Post
Then?
It should appear in System-Preferences-CompizConfig Settings Manager.

Open it and from there you can configure nearly every parameter of every Compiz effect.
But as I never went further than just taking a look, I can't help you with the details.

Let us know if you found something here !
 
Old 01-18-2011, 04:29 AM   #7
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah. I have it.

But couldn't yet figure out how to set a terminal transparent !
 
Old 01-18-2011, 06:40 AM   #8
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Rep: Reputation: 9
Quote:
Originally Posted by hbaromega View Post
But couldn't yet figure out how to set a terminal transparent !
I found out how to do that but you will have to do it every time you open a new terminal (or any other window, this always works).

I don't remember if it works with a default Compiz configuration but try this :

- Put your cursor on the window on which you want to change transparency
- Hold the alt key
- Scroll with your mouse up or down

Transparency should change !

If not :

- Go to CCSM
- Activate "Opacity, Luminosity and Saturation" and click it to configure
- Under Opacity tab, choose the behaviour (<alt>Button4 and <alt>Button5 if you want to do it with mouse scrolling) you want

It seems to be a way you can set specific windows settings, on the same tab, but when I tried it, all my windows became completely transparent, even after reboot.
If this happens to you, open a new console by holding ctrl-alt-F2, login and execute :

Code:
$ killall compiz
Return to the normal screen by ctrl-alt-F6 (it was F6 for me, try others if it doesn't work) and try to get back to the original settings. Then logout-login, or reboot.

Hope it works !
 
Old 01-19-2011, 05:19 AM   #9
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Original Poster
Rep: Reputation: 0
Cool

Well I got it finally !!

So I want to append the steps that I did with compiz so it helps others and myself in future too.

So I did the following.

1. System > Preferences > Appearance > Visual Effects

Choose "Normal"

2. System > Preferences > CompizConfig System Manager

Go to Opacity, Brightness and Saturation plug-in

Go to Opacity and 'add' the follwing in Windows :

Tooltip | Menu | PopupMenu | DropdownMenu

And choose some no. , e.g. 85 as Window Values

3. Activate the plug-in

4. If this doesn't still work, you may need to activate some other plug-ins.
I'm not sure coz some plug-ins were activated from the beginning in my system.

Thus you can make any terminal or any other window as transparent as you want by slowly scrolling down the mouse scroll
button by press+holding the Alt-key.


5. Now the dynamic part! You still may see the Desktop Wallpaper behind your transparent terminal/window even though you are running a movie on the background (by using xwinwrap or rootwin command). So you need to do a trick. You choose a solid color, preferably a dark color, e.g. black as your Desktop wallpaper (since normal distribution may not have a blank wallpaper.). So this dark will serev like a thin shade over the running movie on the background. You can re-adjust that by changing contrast/brigthness within the mplayer.

======================

The transparent effect can be also done by simply modifying the treminal/konsole profile. And you can follow the same trick to see movie in the background as a well. However, you won't get that much flexibility and control that compiz compiz produces.

Thanks to truboy for giving me the idea of "compiz".


Enjoy !!

Last edited by hbaromega; 01-21-2011 at 09:59 AM. Reason: Correction of previous statement
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keeping a transparent terminal in the background adizzle Linux - Newbie 6 09-27-2004 08:44 AM
Transparent terminal in background Maverick1182 Linux - Newbie 14 08-29-2004 09:08 AM
how do you get transparent background on terminal jax8 Linux - Newbie 4 08-20-2004 02:29 AM
terminal transparent background problem... chunlee Linux - Software 0 07-18-2004 06:06 AM
Any Terminal that is transparent (Not just seeing the background)? csvke Linux - Newbie 9 01-28-2004 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration