LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2011, 11:00 AM   #1
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Rep: Reputation: 0
Transparency not working with urxvt


I'd like to conserve as many resources as possible, with that being said, I'm switching from konsole to urxvt. After compiling and configuring my ~/.Xdefaults file as such.
Code:
    URxvt*termName: rxvt
    URxvt*scrollBar_right: false
    URxvt*scrollBar: false
    URxvt*borderLess: false
    URxvt*inheritPixmap: true
    URxvt*tintColor: white
    URxvt*shading: 80
    URxvt*transparent: true
    URxvt*geometry: 84×24
    URxvt*font: xft:terminus:pixelsize=12
    URxvt*background: #000000
    URxvt*foreground: #A8A8A8
    URxvt*color0: #000000
    URxvt*color1: #A80000
    URxvt*color2: #00A800
    URxvt*color3: #A85400
    URxvt*color4: #0000A8
    URxvt*color5: #A800A8
    URxvt*color6: #00A8A8
    URxvt*color7: #A8A8A8
    URxvt*color8: #545054
    URxvt*color9: #F85450
    URxvt*color10: #50FC50
    URxvt*color11: #F2FC50
    URxvt*color12: #5054F8
    URxvt*color13: #F854F8
    URxvt*color14: #50FCF8
    URxvt*color15: #F8FCF8
Then I run
Code:
xrdb -load ~/.Xdefaults
By the way, running Slacware 13.1 x64 with Compiz.

Still no transparency. If anyone has any ideas, I'd be happy to hear them. Thank you.

Cheers.
 
Old 01-29-2011, 11:25 AM   #2
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Works for me:
Code:
urxvt.termName: rxvt-256color
urxvt.depth: 24
urxvt.transparent:false
urxvt.shading: 10
urxvt.inheritPixmap: true
urxvt.fading: 10
 
Old 01-29-2011, 11:34 AM   #3
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
I copied your config verbatim and stuck with a plain white terminal. There has to be some underlying problem. I will check the install logs to see if anything seems out of norm. Thanks.

Cheers.
 
Old 01-29-2011, 11:42 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Did you install LibAfterImage before compiling urxvt?
 
Old 01-29-2011, 11:48 AM   #5
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by dive View Post
Did you install LibAfterImage before compiling urxvt?
Good point. I have these options added to the Slackbuild:
Code:
--enable-afterimage
--enable-tinting
--enable-plain-scroll
--enable-256-color
 
Old 01-29-2011, 11:56 AM   #6
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
Awesome, thanks. Recompiling now, will update after.

Cheers.
 
Old 01-29-2011, 12:06 PM   #7
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
After adding the options to the slackbuild and reinstalling, still no transparency. Also built libafterimage.

Not so cheerful.
 
Old 01-29-2011, 12:14 PM   #8
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Did you take out the --disable-afterimage in the Slackbuild?

Also, here's my complete .Xdefaults in case I missed something relevant...
Code:
urxvt.termName: rxvt-256color
urxvt.depth: 24
urxvt.transparent:false
urxvt.shading: 10
urxvt.inheritPixmap: true
urxvt.fading: 10 

! preferences
urxvt.imLocale: en.UTF-8
urxvt.saveLines: 8196 
urxvt.borderless: 1
urxvt.visualBell: true
urxvt.urgentOnBell: true

! scroll
urxvt.scrollBar: false
urxvt.secondadyScroll: true
urxvt.scrollTtyOutput: false
urxvt.scrollTtyKeypress: true
urxvt.scrollTtyScroll: true

! colour
urxvt.dynamicColors: true

! cursor preferences
urxvt.cursorBlink: false
urxvt.cursorUnderline: false
urxvt.cursorColor: white

! font preference
!urxvt.font: xft:DejaVu Sans Mono:size=8
!urxvt.boldFont: xft:DejaVu Sans Mono:size=8:style=Bold
urxvt*font:      -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
urxvt*boldFont:  -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*

urxvt.xftAntialias: true

! keys
urxvt.keysym.Home: \033[1~
urxvt.keysym.End: \033[4~

! integration
urxvt.perl-ext: default,matcher
urxvt.matcher.button: 1
urxvt.urlLauncher: /usr/bin/firefox
urxvt.underlineURLs: true
urxvt.keysym.C-Delete: perl:matcher
urxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]

URxvt*background: black
URxvt*foreground: white
URxvt*buffered:   true
URxvt*background: black
URxvt*foreground: white
URxvt*cursorColor:white
URxvt*underlineColor:gray
 
Old 01-29-2011, 12:18 PM   #9
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
I didn't remove the line, I changed it to '--enable-afterimage /' I copied your .Xdefaults and still not transparent.
 
Old 01-29-2011, 12:35 PM   #10
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by arpanetguru View Post
I didn't remove the line, I changed it to '--enable-afterimage /' I copied your .Xdefaults and still not transparent.
Hmm. So maybe it is a compiz thing. Have you tried with another wm?
 
Old 01-29-2011, 12:36 PM   #11
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
That's quite possible. I haven't tried another, yet. Will do now.
 
Old 01-29-2011, 02:30 PM   #12
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
So... after messing around and using compiz as my WM, still no transparency. I do not believe its the WM now. But what could it be? Still unresolved. Anyone have any ideas?

Cheers.
 
Old 01-29-2011, 02:54 PM   #13
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by arpanetguru View Post
So... after messing around and using compiz as my WM, still no transparency. I do not believe its the WM now. But what could it be? Still unresolved. Anyone have any ideas?

Cheers.
It appears you're turning on pseudo-transparency, not true transparency.

See the last post here.
 
Old 01-29-2011, 03:11 PM   #14
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
Its possible. I tried both ways with kwin as my WM. I'll try with compiz also. Thanks.
 
Old 01-29-2011, 04:00 PM   #15
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Quote:
Originally Posted by arpanetguru View Post
I'd like to conserve as many resources as possible ... with Compiz.
Does not fempute.
 
  


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
terminal transparency on fluxbox not working? michaelinux Linux - Desktop 5 06-13-2010 07:41 PM
URXVT transparency and refreshing. Josh000 Linux - Software 0 04-29-2010 06:55 AM
VI (elvis) not working with URXVT terminal - termcap problems. Any (easy) solutions? harryhaller Linux - General 1 05-05-2008 09:41 AM
Working on pseudo-transparency in GDK PatrickNew Programming 0 05-02-2007 12:16 AM
Partial Transparency not working when using xsetbg ! Libu Linux - Software 2 02-05-2005 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:46 AM.

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