Kulig, Mariusz | 23 Sep 09:06 2014
Picon

How focus is managed by Openbox with XI2 extension

Hi

I try to understand  how focus is managed in XI2 environment with multiple input devices (MPX). I noticed that Openbox sends SetInputFocus request to set focus on window which was clicked. Openbox works properly with multiple cursors and keyboards from XI2 extension, I can use one master device pair to operate on one window and another master pair to operate on another window. But Openbox does not use XI2 extension and uses core SetInputFocus request which does not define device id. In XI2 focus is set for the given master keyboard device to the given X window (XISetFocus method  http://www.x.org/archive/X11R7.5/doc/man/man3/XIGetFocus.3.html).  I think that If server receives SetInputRequest request which does not contain device id then server shouldn’t know on which device it should set focus to the given window. But it works and I have no idea how it works. How does server know on which keyboard master device to set the focus? Maybe when X server receives SetInputFocus request it checks which master pointer is on window contained in request and sets focus on master keyboard which is a pair of master pointer.  I posted question on superuser StackExchange (http://superuser.com/questions/813939/how-focus-is-managed-in-x-window-system-with-xi2) but It has remained  unanswered.  I used xscope to monitor communication between X server, Openbox and other clients. May be xscope does not show everything.

Please explain me how it works.

 

Mariusz Kulig

_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Plmalternate Plmalternate | 21 Sep 12:54 2014
Picon

make the root-menu appear at a fixed location when opening it with a keyboard shortcut, possible?

When opening the root menu with a keybinding, is it possible to have
it open in a pre-set location rather that wherever the pointer happens
to be?
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Сергей | 31 Aug 09:40 2014
Picon

Do some action even if keychain is not complete

Hello everybody! I would like to implement the following functionality:
Meta+Left - window is placed in the left half of the screen
Meta+Left+Up - window is placed in the left top quarter of the screen
Meta+Left+Down - window is placed in the left bottom quarter of the screen etc.
How can I do so? Meta+Left+Up/Down works, but I can not add action for
Meta+Left.
Thank you.
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Carlos Pita | 11 Aug 16:51 2014
Picon

Re: SwapGeometry (proposal)

Hi all,

I would like to implement an updated version of this proposal as a
patch to openbox in case there is some logically possible world out
there in which Dana would consider adding it to the trunk :).
Otherwise, I will keep it at the ewmh scripting level to my eternal
shame. The proposal is the same in terms of functionality, but I've
changed some details in order to parallel some openbox patterns and
conventions, which leaves us with:

1) DefaultGeometry, AlternativeGeometry, ToggleGeometry actions,
similar to Maximize, Unmaximize, ToggleMaximize, etc.

2) An <alternativegeometry> condition, similar to <maximized>, etc.

The main idea is to provide the user with an easy mechanism to save
the preferred or default geometry before going into an alternative
geometry excursion. Alternatively, this could be seen from a more
symmetric viewpoint: there are two alternative geometries for the same
client and the user can swap back and forth between them.

Some use cases I see for this:

i) Aero Snap like functionality. See how the crunchbang guys had
scripted it in an admittedly hackish way [1].

ii) More complex manual tiling. I find the otherwise powerful manual
tiling facilities that openbox provides somewhat lacking in this area,
because there is no easy way to untile to a more sensible geometry
once you want to focus in the window itself again. The ability to
restore a previous geometry could be seen as a (limited) succedaneous
for dynamic tiling in a stacking world, just like the grow/shrink
family of actions could be seen as a succedaneous for manual tiling.

Dana, what do you think? I will gladly accept criticism.

Cheers
--
Carlos

[1] https://github.com/corenominal/cb-wmhacks

On Sat, May 24, 2014 at 1:25 AM, Ian Zimmerman <itz <at> buug.org> wrote:
> On Mon, 5 May 2014 13:57:05 -0300
> Carlos Pita <carlosjosepita <at> gmail.com> wrote:
>
>> So I would like to implement it as an action, say SwapGeometry, which
>> will work on the currently client simply saving some structured data
>> like { prev_x, prev_y, prev_w, prev_h, prev_maxh, prev_maxv } and
>> restoring the previously saved one, if any.
>
> +1
>
> --
> Please *no* private copies of mailing list or newsgroup messages.
> _______________________________________________
> openbox mailing list
> openbox <at> icculus.org
> http://icculus.org/mailman/listinfo/openbox
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
SRC SRC | 3 Aug 09:39 2014
Picon

getting started

hello there i just downloaded your OpenBox source codes... which i really want to get a look into and probably edit a few lines.. but i can't seem to find out where to start.. soo.. i was hoping if you could send me a documentation of the source codes... thanks...
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Rafał Mużyło | 2 Aug 18:04 2014
Picon

A problem with GtkApplicationWindow

I'm not sure, if my problem lies with openbox, xcompmgr or gtk+ 3
itself, but quite often if I switch desktops very fast (it's a slow
computer) while devhelp is running, its window turns invisible, that is
the window stops being drawn, even though mouse cursor turns into
GDK_BOTTOM_SIDE (resize bottom side) while moving in the area, where the
window is supposed to be and Alt+space still opens the expected menu.

So, did anyone have a similar problem or at least has an idea how to
test what exactly fails ?

openbox 3.5.2
xcompmgr 1.1.6
gtk+ 3.12.2
devhelp 3.12.1 (this one shouldn't matter that much, probably any since
GtkApplicationWindow switch would do)

_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Fred | 21 Jul 14:37 2014

problem building OB from tarball

Hello,

I want to use Openbox with Debian 7.5 on a Sun Ultra 5.  The compile 
seemed to go ok but OB complains of not being able to find 
libobrendeer.so.29 and then exits.  This library is in /usr/lib64 as it 
is supposed to be according to the OB build instructions on the website.

Best regards,
Fred

_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Ian Zimmerman | 16 Jul 01:54 2014

Omnipresence lost mvoing to another desktop

Is this a bug?  When I drag a window that has the "all desktops" flag
set, dragging to a different desktop is enabled, and I do accidentally
cross over to a different desktop, suddenly the window is _only_ on the
destination desktop (ie. the "all desktops" setting seems to be
cleared).

To be honest, I don't really know what should happen in this situation.
Probably not 2 copies of the same window on the destination desktop ...

--

-- 
Please *no* private copies of mailing list or newsgroup messages.
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Lukasz Grabowski | 9 Jul 16:14 2014
Picon

hide from taskbar but not from window switcher

Hello,

Is it possible to hide a specific application from the tint2 taskbar
but not from the openbox window switcher? I tried experimenting with
the rc.xml options skip_pager and skip_taskbar but  they don't seem to
allow for that.

My motivation is to have one firefox window open all the time on all
desktops. I'd like to be able to swich to it using alt-tab, but since
I have it open all the time there's no need to show it in the taskbar.

Best, Lukasz
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
E R | 9 Jul 08:20 2014
Picon

No decor for mpv not working

Hi,

By chance anyone using mpv and can make it work with no decor?

This is not working for me in 3.5.2 with mpv 0.4.0

xprop | grep WM_CLASS gives me;

WM_CLASS(STRING) = "gl", "mpv"

This is what I have in my rc.xml;

<!-- Center application windows -->
  <applications>
    <application name="feh">
      <position force="yes">
        <x>center</x>
        <y>center</y>
      </position>
      <desktop>all</desktop>
      <maximized>no</maximized>
      <decor>no</decor>
    </application>
    <!-- End center of application windows -->
    <!-- No decor for application windows -->
    <application name="mpv">
      <desktop>all</desktop>
      <maximized>no</maximized>
      <decor>no</decor>
    </application>
    <!-- End decor for application windows -->

I'm using SpaceFM in Openbox and if I change the name to <application name="spacefm"> it works, so something is going on with it not working with mpv.

Thanks
Mii
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox
Lukasz Grabowski | 25 Jun 01:12 2014
Picon

customizing window switcher

Hi,

I use the vertical window switcher (i.e. a list of window titles.) Is
it possible to make it wider?

Rationale: I usually have 5-6 different zathura sessions, each one has
window title of the sort "/home/luke/Dropbox/articles/John Smith -
very important but obscure title.pdf".
It is somewhat frustrating  that most of the time the title I see in
the window switcher is "/home/luke/Dropbox/articles/J...tle.pdf". So
for me switching windows in openbox is more or less a guessing game
right now.

I've already changed the font to 7 via (In)ActiveOnScreenDisplay  in
rc.xml but it isn't helping a lot.

Best, Lukasz
_______________________________________________
openbox mailing list
openbox <at> icculus.org
http://icculus.org/mailman/listinfo/openbox

Gmane