
Try this in xmonad.hs (if you're using 0.8 if not update now! ;) ): gridIM (1%7) (ClassName "psi") That would give you a Grid layout modified so 1%7 of the space is used by the roster window, you can apply the IM modifier to other layouts using: withIM (1%7) (ClassName "psi") Layout (replace Layout with your desired layout to modify) In both cases you can use (Title "title_of_the_roster_window") instead of ClassName. You can reach the IM layout documentation at: http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-IM.html byebye! On Wed, Oct 08, 2008 at 11:44:05AM -0700, Matt Brown wrote:
I tried a few different ways using xprop as a guide, but still no luck. Any more tips?
from xmonad.hs:
1st attempt: IM (1%7) (Or (ClassName "psi") (And (ClassName "Skype") (And (Role "") (Not (Title "Options")))))
2nd attempt: IM (1%7) (Or (Role "psimain") (And (ClassName "Skype") (And (Role "") (Not (Title "Options")))))
3rd attempt: IM (1%7) (Or (Title "Psi") (And (ClassName "Skype") (And (Role "") (Not (Title "Options")))))
Note: i was testing with only the psi buddy list window and terminals, to be certain no other windows might have "psi" in their props. Figured once I was able to match the buddy list window, then I could refine it to make sure no other psi window is matched.
the main psi window xprops:
matt@matt-desktop:~$ xprop _NET_WM_USER_TIME(CARDINAL) = 87168294 WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_NAME(UTF8_STRING) = 0x50, 0x73, 0x69 XdndAware(ATOM) = ATOM _MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0xb7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xac, 0xb7, 0x10, 0x0, 0x0, 0x0 WM_CLIENT_LEADER(WINDOW): window id # 0x2e0044e WM_WINDOW_ROLE(STRING) = "psimain" _NET_WM_PID(CARDINAL) = 30731 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING WM_NAME(STRING) = "Psi" WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "main", "psi" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x2e00144 bitmap id # of mask for icon: 0x2e00145 window id # of group leader: 0x2e0044e WM_NORMAL_HINTS(WM_SIZE_HINTS): user specified location: 819, 283 program specified location: 819, 283 user specified size: 203 by 996 program specified size: 203 by 996 program specified minimum size: 100 by 90 window gravity: NorthWest WM_CLIENT_MACHINE(STRING) = "laptop"
On Wed, Oct 8, 2008 at 10:58 AM, Ismael Carnales
wrote: Hi, yo can view the properties of a window in X with xprop, bye!
On Wed, Oct 08, 2008 at 10:54:17AM -0700, Matt Brown wrote:
Hello all,
I'm trying to set up the IM layout for the Psi xmpp client. I found a working config for skype online, and tried tweaking it for psi, but no luck so far. Has anyone else done this? Is there a way to dump the window properties for a window, to give me a better idea how to configure?
thanks -matt _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad