Re: Is it possible to foce Java applications to conform to the layout?

2011-05-29 Thread Kent Larsson
The parent is a window that is painted and immediately made invisible on the
screen, it's hard to notice it. From what I could see it didn't look like it
fit into the layout either.

Is there anything that can be done without changing the source code of
KeePassX?

Best regards, Kent

On Tue, May 24, 2011 at 21:56, Uli Schlachter psyc...@znc.in wrote:

 On 22.05.2011 13:08, Kent Larsson wrote:

 I use some Java programs, like KeePassX and my Bank ID, and I've
 noticed that their windows are created on top of the other windows and
 are not fitting into the layout I am using at the moment.

 Is there something I can do to force them to conform to the layout I am
 using?

 In the case of KeePassX the first window, asking me for a password and
 optionally a keyfile is displaying the problem described above.
 However, the next window that opens indeed fits into the layout. I
 don't know if that information is of any help, but I wrote it just in
 case. :-)


 Right now, Kent Larsson wrote:
 [...]

  I'll show you some KeePassX data. xprop for the first Window of
 KeePassX asking me for password and/or key:

 [...]

  _NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL
 WM_TRANSIENT_FOR(WINDOW): window id # 0x197

 [...]

 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG,

 _NET_WM_WINDOW_TYPE_NORMAL

 [...]


 When closing that Window KeePassX opens the normal usage Window. It
 behaves as it should and fits into the layout. The xprop for it reads:

 [...]

  _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL


 The password-asking window is a dialog in state modal. That means that
 it's parent (0x197, dunno which window that is) is unusable as long as
 this window is open. As a result, awesome will make the client floating and
 place it above its parent. So what is the parent client here?

 The second window has type modal and no _NET_WM_STATE, so it acts like a
 normal window. :-)

 So, what is the parent and why does this not have the right behavior?

 Cheers,
 Uli

 --
 - He made himself, me nothing, you nothing out of the dust
 - Er machte sich mir nichts, dir nichts aus dem Staub

 --
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.



Re: Is it possible to foce Java applications to conform to the layout?

2011-05-29 Thread Uli Schlachter

On 29.05.2011 17:10, Kent Larsson wrote:

The parent is a window that is painted and immediately made invisible on the
screen, it's hard to notice it. From what I could see it didn't look like it
fit into the layout either.

Is there anything that can be done without changing the source code of
KeePassX?


Make a rule that calls awful.client.floating.set(c, false) on the client. I 
think that should make it be tiled.


Cheers,
Uli

--
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Welcome to awesome@naquadah.org

2011-05-29 Thread Ardian Haxha
Hi I just installed awesomewm on Fedora 15, I am having a problem I can't
open anything just switch through desktops right click works fine I guess
left clicks works also but for example I click open terminal but nothing
comes out.

Ps. I am a very beginner.


Re: Welcome to awesome@naquadah.org

2011-05-29 Thread Satoshi Hayazaki
Maybe the problem is your menu, not the clicking. Try opening an aplication
(Super + R and typing the command) and see if the clicks work there.

On 29 May 2011 18:56, Ardian Haxha ardian.ha...@gmail.com wrote:

 Hi I just installed awesomewm on Fedora 15, I am having a problem I can't
 open anything just switch through desktops right click works fine I guess
 left clicks works also but for example I click open terminal but nothing
 comes out.

 Ps. I am a very beginner.



Re: Welcome to awesome@naquadah.org

2011-05-29 Thread Ardian Haxha
I can open the awesome menu, but I only can quit and restart the other 2
edit config and manual don't work either, I don't have the super key on my
laptop.


Re: Welcome to awesome@naquadah.org

2011-05-29 Thread daspostloch

so to get the very basics covered first:

you *right-click* on the desktop to get the menu,
but *left-click* to activate a menu-entry, and
nothing happens, right? alternatively, you
*left-click* on the a-symbol and *left-click*
on a menu item and nothing happens?

either or both are correct?



On 05/30/2011 12:05 AM, Ardian Haxha wrote:

I can open the awesome menu, but I only can quit and restart the other 2
edit config and manual don't work either, I don't have the super key on my
laptop.



--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Welcome to awesome@naquadah.org

2011-05-29 Thread Ardian Haxha
Yea that was the problem, xterm wasn't installed by default on Fedora.

Thanks a lot.

On Mon, May 30, 2011 at 12:27 AM, Garrik gar...@garrik.info wrote:

 Le Mon, 30 May 2011 00:16:47 +0200,
 Ardian Haxha ardian.ha...@gmail.com a écrit :

  both are correct in that way you said, the only thing that gives a
  sign that something is working is when i restart or quit the other 2
  edit config and manual even that you click on them they don't
  open anything:
 
  right click on the desktop (or the a symbol) opens the menu, awesome 
  manual (this closes the menu nothings opens)
 
  edit config (this closes the menu nothings opens)
 
  * restart (this wokrs)
 

 Maybe your problem is that your terminal variable in your rc.lua is
 not set (by default it is xterm, maybe you don't have it installed) or
 is set to launch a terminal that is not installed.

 what happens if you edit your rc.lua tu use a proper terminal?

 --
 Garrik

 --
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.