PDA

View Full Version : [SOLVED] One translucent window



warfacegod
December 24th, 2009, 04:32 AM
I was wondering (hoping) if there is a way to make only one window translucent and leave every other window the same. Specifically, Amarok 1.4. I'd like to be able to see my desktop through it.

Basically, I'd like to have these two screenshots overlaing each other.
Thanks.

CHW
December 24th, 2009, 07:33 PM
Hi,

Maby this might help:

http://ubuntuforums.org/showpost.php?p=8242769&postcount=6

Regards,
CHW

warfacegod
December 24th, 2009, 09:48 PM
Thanks for replying. I read the post and it looks like that's for just the window borders themselves, I'm running the meta-city opacity theme already. I'm looking to make the entire window translucent so that I can see through the middle of it.

CHW
December 25th, 2009, 11:48 AM
You have to try the compiz solution.
There you can define any window class to be translucent, not only limited to the borders.

warfacegod
December 25th, 2009, 02:28 PM
All right! I got it figured out. In CompizConfig Settings Manager I created a new window specific setting. Type was window title, named it title=Amarok, set the value to 65 and... well, see for your self. This is exactly what I was looking for. Thanks for the assistance.

CHW
December 26th, 2009, 08:09 PM
You are welcome.

Pablo Pablovski
December 26th, 2009, 09:06 PM
Wow, that looks very like my Amarok, which is also translucent using Compiz (80%) and is the only application whose window I make translucent.

warfacegod
December 27th, 2009, 02:20 AM
Cool looking. Is that 1.4? And how did you get all that info onto the right of the window? I'd like to try that myself. I dig the dark theme you've got too.

Pablo Pablovski
December 27th, 2009, 04:56 PM
Yep, 1.4 - I haven't tried 2.x since the original 2.0, which was entirely horrible.

I got 1.4 from a PPA somewhere - it runs perfectly on karmic - but I might try 2.2, now that it's less than entirely horrible.

And the system status stuff on the RHS is Conky. See the megathread in the Community Cafe for everything you'd ever EVER need to know about Conky - that's where I got most of my configuration from. I've attached my conkyrc file as a starting point. You'll need to rename it to "conkyrc" without the .txt extension, then configure it to suit your system. Install conky-all from the repos.


sudo apt-get install conky-all



Edited: Speeling errirs...

warfacegod
December 27th, 2009, 07:57 PM
Yeah, 2.0 was so bad, I dumped it after 5 minutes and spent the rest of the day with a boom-box next to my laptop. Unless 2.2 or anything after is just making 1.4 more excellent, I'm not going anywhere near it.

This conky thing looks very interesting all of a sudden. I'd seen it mentioned in the forums before but just ignored it. This is always the way with me. I get my computer set up perfectly then five minutes later, bam!, I find something cool looking and I'm back to tinkering.

Anyway, thanks for the file. I'll post again in a few days with what I come with. Now, off to make another backup!

hariks0
December 28th, 2009, 08:40 AM
Yep, 1.4 - I haven't tried 2.x since the original 2.0, which was entirely horrible.

I got 1.4 from a PPA somewhere - it runs perfectly on karmic - but I might try 2.2, now that it's less than entirely horrible.

And the system status stuff on the RHS is Conky. See the megathread in the Community Cafe for everything you'd ever EVER need to know about Conky - that's where I got most of my configuration from. I've attached my conkyrc file as a starting point. You'll need to rename it to "conkyrc" without the .txt extension, then configure it to suit your system. Install conky-all from the repos.


sudo apt-get install conky-all



Edited: Speeling errirs...
But what is that thing in the LHS? Are they only icons aligned as two sets or what ? And where did the Top panel go?

Pablo Pablovski
December 28th, 2009, 12:22 PM
I use kubuntu which has only one panel by default, and the icons on the LHS are contained within two instances of the desktop folder plasma widget, configured to show my favourite applications and mounted drives.

Could achieve the same thing using icons directly on the desktop, but conky's transparency means they get overwritten by it.

warfacegod
December 28th, 2009, 02:46 PM
I can't find the thread.
See the megathread in the Community Cafe for everything you'd ever EVER need to know about Conky...

Pablo Pablovski
December 28th, 2009, 04:47 PM
Here it is - 11k posts and still going stong!

http://ubuntuforums.org/showthread.php?t=281865

I first came across it when it had a few hundred posts, and I've followed it ever since.

Also, the Sourceforge page for Conky is a useful resource.

http://conky.sourceforge.net/

and the documentation page will be useful in configuring Conky to your specification:

http://conky.sourceforge.net/docs.html

Good luck!

warfacegod
December 28th, 2009, 05:37 PM
Thank you my good man.

warfacegod
December 29th, 2009, 03:13 AM
So I've spent some time messing with conky and I like it allot. Unfortunately the changes I'm making to the file aren't sticking. I'm going to drop it for awhile until I'm more comfortable with the "language" or until I find a conky for idiots book.


In CompizConfig Settings Manager I created a new window specific setting. Type was window title, named it title=Amarok, set the value to 65 and... well, see for your self. This is exactly what I was looking for. Quoting myself here.

I spoke too soon. Firefox started randomly turning translucent too! Took me a bit to realize that I was looking at Amarok pages when it happens. So now I have to change Compiz settings to fix it. Aargh!

Pablo Pablovski
December 29th, 2009, 07:44 PM
The .conkyrc file (the . may or may not be important) needs to be in your home folder by default, unless you launch conky with a switch pointing it to a named config file elsewhere.

If you haven't put it in your home folder, and launch conky without a named config, your changes won't be in the config file Conky opens, so they won't appear, or "stick".

As regards your Compiz translucency settings, you need to delete the Window Title = Amarok setting, because - as you've found - that will mean Web pages, documents etc. whose title is "Amarok" will be transparent too.

The best way to do it is set Window Class = Amarok to your preferred transparency in CCSM. Good luck!

warfacegod
December 29th, 2009, 11:28 PM
As regards your Compiz translucency settings, you need to delete the Window Title = Amarok setting, because - as you've found - that will mean Web pages, documents etc. whose title is "Amarok" will be transparent too.

The best way to do it is set Window Class = Amarok to your preferred transparency in CCSM. Good luck!

Yeah that's what I tried right after my last post, worked like a charm.


The .conkyrc file (the . may or may not be important) needs to be in your home folder by default, unless you launch conky with a switch pointing it to a named config file elsewhere.

If you haven't put it in your home folder, and launch conky without a named config, your changes won't be in the config file Conky opens, so they won't appear, or "stick".

I'll double check on this but I'm pretty sure everything is where and how it should be. Thanks.

warfacegod
January 1st, 2010, 06:41 PM
Yep, 1.4 - I haven't tried 2.x since the original 2.0, which was entirely horrible.

I got 1.4 from a PPA somewhere - it runs perfectly on karmic - but I might try 2.2, now that it's less than entirely horrible.

I just installed 2.2. It is virtually as bad as 2.0 ergo, entirely horrible.
Messed with it for 20 min. and got rid of it (or tried to at least). I had fits trying to uninstall it. Put 1.4 back and it remembered all of my settings, no configuring required. Good thing I didn't mark it for complete removal.