You are not logged in.

#26 2010-05-17 01:48:49

tandycorp
Member
Registered: 2007-07-01
Posts: 65

Re: urxvt as background desktop

zephyrus17 wrote:

That archwiki link doesn't work for me. I tried it. And it shows the same symptoms sunv describes in post 5. Can't type in it, font is pink, can't move it, it stays on top, and can't be Alt-F4ed.

I haven't tried the devilspie method. Do I need xcompmgr for this?

Hmm, I'm using the method in the wiki and it works for me (with or without xcompmgr). Also I can type text in, i can move windows with alt+left click and I can change colors. I dont know what it does when I show desktop though.. Have you modified your .Xdefaults? Ive set the color there.

Oh I forgot to say I've just modified the wiki, because there was a case sensitive name badly typed : it used urxvt instead of URxvt as app name in rc.xml. This could be part of your problem.

Last edited by tandycorp (2010-05-17 01:54:13)

Offline

#27 2010-08-01 08:55:33

athelas
Member
Registered: 2010-06-16
Posts: 53

Re: urxvt as background desktop

Hello everyone. I wanted to do the same. So I used the description in the wiki and created a .Xdefaults

URxvt*transparent:true
URxvt*scrollBar:false
URxvt*geometry:124x24
URxvt*borderLess:true
URxvt*foreground:white

and I added this to .config/openbox/rc.xml

<application name="URxvt">
  <decor>no</decor>
  <focus>yes</focus>
  <position>
    <x>50</x>
    <y>50</y>
  </position>
  <layer>below</layer>
  <desktop>all</desktop>
  <maximized>false</maximized>
</application>

The problem is, if I start urxvt everything but the positioning works. Everytime I start urxvt new it is in completely different position which has nothing to do with the coordinates I used. Has somebody an idea what could be wrong?

Offline

#28 2010-08-01 09:07:09

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: urxvt as background desktop

You probably need <position force="yes">


To know or not to know ...
... the questions remain forever.

Offline

#29 2010-08-01 09:20:05

athelas
Member
Registered: 2010-06-16
Posts: 53

Re: urxvt as background desktop

Thanks for the quick reply, but that doesn't make any difference.

Offline

#30 2010-08-01 09:54:01

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: urxvt as background desktop

Try this one <application class="URxvt"> or <application name="urxvt">
because I get these from xprop:

WM_CLASS(STRING) = "urxvt", "URxvt"
WM_NAME(STRING) = "urxvt"

To know or not to know ...
... the questions remain forever.

Offline

#31 2010-08-01 10:09:30

athelas
Member
Registered: 2010-06-16
Posts: 53

Re: urxvt as background desktop

OK, I tried both plus <application class="urxvt">. And I tried all of them with and without <position force="yes">. But unfortunately nothing seems to work.

Edit: made code bold

Last edited by athelas (2010-08-01 10:10:51)

Offline

#32 2010-08-01 11:06:04

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: urxvt as background desktop

Could it be that the settings in .Xdefaults and openbox's rc.xml interfere?
Does URxvt*geometry:124x24+50+50 instead of the "position" settings work?


To know or not to know ...
... the questions remain forever.

Offline

#33 2010-08-01 12:50:59

athelas
Member
Registered: 2010-06-16
Posts: 53

Re: urxvt as background desktop

Yes, that does the job of the position setting. But now I realised that nothing what's written in the rc.xml does anything. Only the stuff written in .Xdefaults works. Just figured this out, because I tried playing around with that

 <desktop>all</desktop>
 <maximized>false</maximized>

and it doesn't make any difference if I change these options.

Offline

#34 2010-08-01 13:13:32

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: urxvt as background desktop

Glad that it works for you. smile
On the other hand, these rc.xml defintions do work here.

    <application name="bashrun">
      <position force="yes">
        <x>970</x>
        <y>969</y>
      </position>
      <desktop>all</desktop>
      <decor>no</decor>
      <focus>yes</focus>
      <skip_taskbar>yes</skip_taskbar>
      <layer>above</layer>
    </application>
    <application name="notifier">
      <focus>no</focus>
      <position force="yes">
        <x>0</x>
        <y>-0</y>
      </position>
    </application>
    <application name="Shortcuts">
      <desktop>all</desktop>
      <decor>yes</decor>
      <focus>yes</focus>
      <skip_taskbar>no</skip_taskbar>
      <layer>above</layer>
      <position force="yes">
        <x>center</x>
        <y>center</y>
      </position>
    </application>
    <application class="Xdialog">
      <focus>no</focus>
      <position force="yes">
        <x>-0</x>
        <y>-0</y>
      </position>
    </application>
    <application name="xosview">
      <desktop>all</desktop>
      <decor>no</decor>
      <focus>no</focus>
      <skip_taskbar>no</skip_taskbar>
      <layer>above</layer>
    </application>
  </applications>

Probably there are precedence issues with rather global openbox and application dependend settings.


To know or not to know ...
... the questions remain forever.

Offline

#35 2010-08-02 09:31:02

athelas
Member
Registered: 2010-06-16
Posts: 53

Re: urxvt as background desktop

Hey, I was playin around with it a little more. Everything works now! Not sure what exactly I did to make it work, but anyways smile The position is set in .Xdefaults as you suggested and the rc.xml looks like this:

<application name="urxvt">
   <decor>no</decor>
   <focus>yes</focus>
   <layer>below</layer>
   <desktop>all</desktop>
   <maximized>false</maximized>
   <skip_pager>yes</skip_pager>
   <skip_taskbar>no</skip_taskbar>
</application>

So thanks a lot for your time and help!

Last edited by athelas (2010-08-02 09:32:04)

Offline

Board footer

Powered by FluxBB