You are not logged in.

#1 2012-04-19 05:22:18

greendragons
Member
Registered: 2012-04-16
Posts: 17

[Solved]Cannot Set URxvt transparent

Hello,
I am using URxvt terminal, but i am unable to set neither it's fonts and nor transparency...
Here is the ~/.Xresources file:

URxvt.transparent: true
URxvt.depth: 32
URxvt.shading: 10
URxvt.scrollBar: off
xvt.font: ttf:monaco_Linux:size=10
URxvt.background: rgba:0000/0000/0000/cccc
URxvt.foreground: 531AFF

I have font Monaco_Linux.ttf in dir /usr/share/font/TTF....
What is see with this Xresources file is that black background with pink foreground color, no transparency at all.....
Also font has not changed.
Thnx!!

Last edited by greendragons (2012-04-19 06:29:54)

Offline

#2 2012-04-19 05:37:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,860

Re: [Solved]Cannot Set URxvt transparent

Try putting those  lines into ~/.Xdefaults


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2012-04-19 05:45:27

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved]Cannot Set URxvt transparent

ewaller wrote:

Try putting those  lines into ~/.Xdefaults

Still font has not changed and no transparency.... That default font is repulsive...

Offline

#4 2012-04-19 05:45:58

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Solved]Cannot Set URxvt transparent

If you made changes to the ~/.Xresources file, did you run

xrdb -merge ~/.Xresources

to reload the file?


Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.

Offline

#5 2012-04-19 05:51:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,860

Re: [Solved]Cannot Set URxvt transparent

Here's mine:

URxvt.depth: 32
URxvt.background: rgba:0000/0000/0000/e000
URxvt.perl-ext-common:  default,matcher
URxvt.urlLauncher:      /usr/bin/firefox
URxvt.matcher.button:   1 
URxvt.perl-ext-common: default,clipboard
URxvt.font: xft:DejaVu Sans Mono:normal:size=8
URxvt.cursorBlink: True
URxvt.cursorUnderline: True
URxvt.geometry: 80x48
URxvt.foreground: rgba:ffff/ffff/ffff/ffff

I think you've a typo in your font line.  That will cause the rest of the file to be ignored

greendragons wrote:

xvt.font: ttf:monaco_Linux:size=10

edit:Fixed quote

Last edited by ewaller (2012-04-19 05:55:13)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2012-04-19 05:53:05

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved]Cannot Set URxvt transparent

bananas4370 wrote:

If you made changes to the ~/.Xresources file, did you run

xrdb -merge ~/.Xresources

to reload the file?

I have put those lines in xrdb as ewaller wrote, and then ran
xrdb ~/.Xdefaults

also tried
xrdb ~/.Xresources
Still no transparency and same default font...

Offline

#7 2012-04-19 05:56:26

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved]Cannot Set URxvt transparent

ewaller wrote:

Here's mine:

URxvt.depth: 32
URxvt.background: rgba:0000/0000/0000/e000
URxvt.perl-ext-common:  default,matcher
URxvt.urlLauncher:      /usr/bin/firefox
URxvt.matcher.button:   1 
URxvt.perl-ext-common: default,clipboard
URxvt.font: xft:DejaVu Sans Mono:normal:size=8
URxvt.cursorBlink: True
URxvt.cursorUnderline: True
URxvt.geometry: 80x48
URxvt.foreground: rgba:ffff/ffff/ffff/ffff

I think you've a typo in your font line.  That will cause the rest of the file to be ignored

greendragons wrote:

xvt.font: ttf:monaco_Linux:size=10

edit:Fixed quote

Thnx! i used your file, my font has changed but still no transparency.....

Offline

#8 2012-04-19 06:01:18

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [Solved]Cannot Set URxvt transparent

greendragons wrote:

I have put those lines in xrdb as ewaller wrote, and then ran
xrdb ~/.Xdefaults

also tried
xrdb ~/.Xresources
Still no transparency and same default font...

That's

xrdb -merge ~/.Xresources

or

xrdb -load ~/.Xresources

If you are not using .Xdefaults, there's no point loading it with xrdb.

BTW: be sure to have only one of those files in your $HOME.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#9 2012-04-19 06:04:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,860

Re: [Solved]Cannot Set URxvt transparent

I need to call it a night.  I suggest you cut your configuration down to a single line that sets, for example, the foreground color.   Experiment with that until you can get it to work, then add complexity.  A syntax error on any line terminates the processing of the rest of the file.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2012-04-19 06:06:27

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved]Cannot Set URxvt transparent

ewaller wrote:

I need to call it a night.  I suggest you cut your configuration down to a single line that sets, for example, the foreground color.   Experiment with that until you can get it to work, then add complexity.  A syntax error on any line terminates the processing of the rest of the file.

It's been great help thnx!!
I got color and font working, but still not achieved transparency.....

Offline

#11 2012-04-19 06:32:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,963
Website

Re: [Solved]Cannot Set URxvt transparent

Regarding the transparency, do you have a compositor installed and running? e.g. compiz, xcompmgr, compton, etc.?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB