You are not logged in.

#1 2009-07-14 19:53:14

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Borderless URXVT, what's wrong with my .Xdefaults?

I'm trying to get my URXVT on my Openbox desktop.  I followed the little guide here:  http://wiki.archlinux.org/index.php/Ope … background.  That doesn't work for me.

I run URXVT with the .Xdefaults urxvt.borderLess: true and it shows up, but I can't type in it.  If I remove it, it shows up and I can type in it.  What am I doing wrong?

urxvt.termName: urxvt
urxvt.scrollBar: false
!urxvt.internalBorder: 0
!urxvt.externalBorder: 0
urxvt.transparent: true
!urxvt.foreground: white
!urxvt.borderLess: true
urxvt.font: xft:Terminus:pixelsize=12;antialias=false
urxvt.geometry: 60x30
urxvt.borderLess: 1
urxvt.fadeColor: black
urxvt.shading: 80
urxvt.depth: 24
urxvt.background: #000000
urxvt.foreground: #c7c7c7

I've tried commenting out each line and seeing what works.  What's wrong with my .Xdefaults sad  I want the urxvt to start with Openbox and be on my desktop like the wiki says.  That wiki page isn't working for me so I don't know what to do to get that.  Then, borderLess: true isn't working for me either.

I've had this working perfectly about 10 months ago, but as a stupid person I formatted and lost it all.  So, can anyone help me please?

Thanks.

Offline

#2 2009-07-14 19:59:18

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Borderless URXVT, what's wrong with my .Xdefaults?

you could try the solution found here in stead.  i have heard this bug before.

Offline

#3 2009-07-14 20:05:51

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

That didn't solve my problem.  Same thing.

Offline

#4 2009-07-14 20:30:32

reed9
Member
Registered: 2008-06-12
Posts: 77

Re: Borderless URXVT, what's wrong with my .Xdefaults?

urxvt.borderLess: true

This line appears to not actually work correctly.  When I tried it, the terminal became stuck in the upper left corner, ignoring other placement options added, and was inaccessible - I couldn't type in it or ALT-TAB to it.

In openbox at least, you can use obconf to set borderless for windows without decor.

Offline

#5 2009-07-14 21:11:40

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Still doesn't work.  I've unchecked the window decor box in Obconf and added -bl to the end of urxvt when launching it.

Why won't it work :9

Offline

#6 2009-07-14 21:40:48

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Anyone know how to fix this?

I'm trying to make URXVT stay on the desktop as I'm using it for screen.  I would use no X, but I still need Firefox.

Offline

#7 2009-07-14 21:51:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Zetsumei - patience. Your last post is an unnecessary bump, which is not permitted here. You have outlined your problem - while you're waiting for an answer, feel free to do further research elsewhere, as this does not seem to be an Arch-specific issue.

Offline

#8 2009-07-14 22:41:32

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Does openbox allow you to see this property like some other window managers do? Not that you should have to. The .Xdefaults entry should work.


neutral

Offline

#9 2009-07-14 22:45:02

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

I've tried disabling it in OBconf and using the .Xdefaults method.  Neither works.

Offline

#10 2009-07-14 23:00:43

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Remove the bordless from Xdefault and edit ~/.config/openbox/rc.xml and add to near end inside the <applications></applications>

    <application class="URxvt">
      <decor>no</decor>
    </application>

Restart openbox and you are done ^_^

Last edited by kazuo (2009-07-14 23:01:20)

Offline

#11 2009-07-14 23:07:20

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

In order to have a borderless urxvt you need to modify the rc.xml file and add something like this in the applications section:

<application name="URxvt">
   <decor>no</decor>
</application>

Afterwards reconfigure openbox and it should work just fine.

For more info on the rc.xml file and other options check the OpenBox Wiki: http://icculus.org/openbox/index.php/Main_Page.

Last edited by masterkoppa (2009-07-14 23:13:52)

Offline

#12 2009-07-14 23:08:12

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

I've done that.  It's in the wiki page to do that.  Still nothing.

Removed URxvt.borderLess: true from .Xdefaults and saved and reloaded it.

Made sure <decor>no</decor> was in rc.xml and saved and reconfigured openbox.

Made sure the window has no decor box was unchecked in obconf and reconfigured.

Still nothing.

Last edited by Zetsumei (2009-07-14 23:12:26)

Offline

#13 2009-07-14 23:12:53

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Sorry just re-checked my rc.xml and the name should be: "URxvt" not "urxvt"

Try that and see if it works.

Offline

#14 2009-07-14 23:14:03

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Still nothing.

Offline

#15 2009-07-14 23:16:10

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Run this command:

alias xp='xprop | grep "WM_WINDOW_ROLE\|WM_CLASS" && echo "WM_CLASS(STRING) = \"NAME\", \"CLASS\""'

Then run:

xp

Then select the terminal window and post the results.

Offline

#16 2009-07-14 23:18:45

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

That command returns...

WM_CLASS(STRING) = "urxvt", "URxvt"
WM_CLASS(STRING) = "NAME", "CLASS"

Also, unrealted, I can't type "clear" in urxvt.

Last edited by Zetsumei (2009-07-14 23:20:48)

Offline

#17 2009-07-14 23:24:41

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Have you done the reconfigure comand?
Also try to restart the computer.

If AFTER restarting it doesnt work try this:

Add the following entry to the rc.xml file:

<application name="terminal">
   <decor>no</decor>
</application>

The run the following in any terminal emulator(can even be urxvt):

urxvt -title "terminal"

Offline

#18 2009-07-14 23:25:59

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Zetsumei wrote:

That command returns...

WM_CLASS(STRING) = "urxvt", "URxvt"
WM_CLASS(STRING) = "NAME", "CLASS"

Also, unrealted, I can't type "clear" in urxvt.

What do you mean by you can't type clear?

Offline

#19 2009-07-14 23:36:02

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Restarted the laptop and tried the second part of your post, still nothing.

Offline

#20 2009-07-14 23:38:17

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Do you use any login managers?

Offline

#21 2009-07-14 23:45:33

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

I use SLiM.

Offline

#22 2009-07-14 23:53:51

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Exit openbox and change to vc/1. You can do this by pressing Crt+Alt+F1.
There login and stop the slim daemon

sudo /etc/rc.d/slim stop

Run:

startx

The press Crt+Alt+F1, and check for any messages in there regarding the configuration. And post them here.

Otherwise I'm sorry but I can't be of any other help.

Offline

#23 2009-07-15 00:01:53

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Also try going to the Archlinux IRC channel and ask for some help there. There's probably more people there that can help you.

Offline

#24 2009-07-15 00:13:53

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Zetsumei wrote:

Still nothing.

I had a tough time with it as well, but managed to solve the issue by using wiki. What I've done is used the urxvt part of Xdefaults from wiki. And just modified it a bit, like reduced the geom since I don't use fullscreen. And added this as well:

URxvt*borderLess: false
transparent=0000 opaque=ffff
URxvt.buffered: true
URxvt.background: black
URxvt.foreground: white
URxvt.cursorColor: green
URxvt.underlineColor: yellow

Yes my urxvt borderless is kept false but it still works because of rc.xml:

<application name="urxvt">
  <decor>no</decor>
  <focus>yes</focus>
  <position>
    <x>285</x>
    <y>center</y>
  </position>
  <layer>below</layer>
  <desktop>1</desktop>
  <maximized>false</maximized>
</application>

Here's the result as I wanted:
tMXoyaw


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#25 2009-07-15 01:52:28

Zetsumei
Member
From: NC
Registered: 2007-09-13
Posts: 156

Re: Borderless URXVT, what's wrong with my .Xdefaults?

Nope, didn't work sad  It hates me.  Why would it work on my desktop x86_64 and not my laptop x86_64?

sHyLoCk wrote:
Zetsumei wrote:

Still nothing.

I had a tough time with it as well, but managed to solve the issue by using wiki. What I've done is used the urxvt part of Xdefaults from wiki. And just modified it a bit, like reduced the geom since I don't use fullscreen. And added this as well:

URxvt*borderLess: false
transparent=0000 opaque=ffff
URxvt.buffered: true
URxvt.background: black
URxvt.foreground: white
URxvt.cursorColor: green
URxvt.underlineColor: yellow

Yes my urxvt borderless is kept false but it still works because of rc.xml:

<application name="urxvt">
  <decor>no</decor>
  <focus>yes</focus>
  <position>
    <x>285</x>
    <y>center</y>
  </position>
  <layer>below</layer>
  <desktop>1</desktop>
  <maximized>false</maximized>
</application>

Here's the result as I wanted:
http://omploader.org/tMXoyaw

Offline

Board footer

Powered by FluxBB