You are not logged in.

#1 2010-03-03 22:26:25

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

[ dwm ] How to change the wallpaper and make windows transparent ?

How do I change the wallpaper and make windows transparent ( ~ 20% ) ?
Have been Googl'ing for a while now but still have no clue on how to achieve it hmm

Offline

#2 2010-03-03 22:30:59

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

hsetroot, xsetroot, feh, whatever floats your boat.

Window transparency: xcompmgr or cairo-compmgr.

Offline

#3 2010-03-04 09:24:05

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

Setting wallpaper:
1. Install feh
$ sudo pacman -S feh
2. Set wallpaper
$ feh --bg-scale foobar.jpg

Transparent windows:
1. Install compositioning stuff
$ pacman -S transset-df xcompmgr
2. Run xcompmgr (and add to your .xinitrc):
$ xcompmgr &
3. Chose transparency (this example is 50% transparency)
$ transset .50
4. Click the window you want to be transparent


How's my programming? Call 1-800-DEV-NULL

Offline

#4 2010-03-04 10:32:21

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

Thank you! And how would I set terminals to be transparent by default ? xcompmgr can be started automatically but transset requires user input neutral

Last edited by SemiBz (2010-03-04 10:32:48)

Offline

#5 2010-03-04 10:40:13

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

SemiBz wrote:

Thank you! And how would I set terminals to be transparent by default ? xcompmgr can be started automatically but transset requires user input neutral

What terminal do you use? urxvt can set transparency in the Xdefaults file.


How's my programming? Call 1-800-DEV-NULL

Offline

#6 2010-03-04 10:48:55

revenant
Member
From: Lithuania
Registered: 2009-09-18
Posts: 19

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

> What terminal do you use? urxvt can set transparency in the Xdefaults file.

Or, if you don't like fiddling with Xdefaults file, you can simply make urxvt transparent by executing it like "urxvt -tr -sh 20", where the number represents the transparency level. However, this is only pseudo transparency, but I like it better than resource-consuming compositing.

Offline

#7 2010-03-04 10:51:31

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

zowki wrote:
SemiBz wrote:

Thank you! And how would I set terminals to be transparent by default ? xcompmgr can be started automatically but transset requires user input neutral

What terminal do you use? urxvt can set transparency in the Xdefaults file.

revenant wrote:

> What terminal do you use? urxvt can set transparency in the Xdefaults file.

Or, if you don't like fiddling with Xdefaults file, you can simply make urxvt transparent by executing it like "urxvt -tr -sh 20", where the number represents the transparency level. However, this is only pseudo transparency, but I like it better than resource-consuming compositing.

Will give it a try. I'm not against .Xdefaults - just haven't used it that much and know only the basics ( color schemes ) smile

Offline

#8 2010-03-04 14:29:24

keegan
Member
Registered: 2009-05-12
Posts: 54

Re: [ dwm ] How to change the wallpaper and make windows transparent ?

Here's my xdefaults for transparent white on black urxvt. It also underlines links and opens them in ff.

 
URxvt*termName: rxvt
URxvt.buffered:         true
URxvt.background:       black
URxvt.foreground:       white
URxvt.cursorColor:      green
URxvt.underlineColor:   red
URxvt.scrollBar:    False
URxvt.perl-ext:         default,matcher
URxvt.urlLauncher:      /usr/bin/firefox
URxvt.matcher.button:   1 
URxvt.transparent:    True
URxvt.shading:        50

Offline

Board footer

Powered by FluxBB