SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-05-28 21:28:44

errorist
#! Member
Registered: 2012-05-24
Posts: 80

[Mainly solved]OB-Xml-tags and -actions

Just returned to rc.xml after 3 months,getting soon some deja-vus!
First point,can anyone tell me the name of the cli-app that returns a
bunch of infos about pressed keys,I forgot the name.I need it for the
correct keynames for the keyboard-section in the rc.xml.
Some of the names,like Degree,Minus and others don't work.I need nearly
the complete keyboard,has someone the keynames of all the keys,working
with OB?
In KDE,I remember,all the keys are working for shortcuts,but there they
are not choosen by their names.
Another point is,is there a complete list of the Xml-tags and the actions,
you can use in the OB-rc.xml?
After a hard search I found some more as were presented in the standart
rc.xml.Now I have some new ones from corenominal's tiling-shortcuts.
But I believe,there are a lot of others.Anyone some clues?

Last edited by errorist (2012-05-29 22:37:31)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-05-28 21:31:11

Unia
#! Die Hard
From: The Netherlands
Registered: 2010-07-17
Posts: 3,176

Re: [Mainly solved]OB-Xml-tags and -actions

The cli app you're looking for is xev


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
      Github || Deviantart

Offline

#3 2012-05-28 21:53:10

errorist
#! Member
Registered: 2012-05-24
Posts: 80

Re: [Mainly solved]OB-Xml-tags and -actions

Thanks,Unia!
Now I have only to check,why some of the keynames are not working.Maybe its
due to wrong cases.

Offline

#4 2012-05-28 23:20:57

cxexa
Member
From: L5 - DBAA23 - C2187
Registered: 2009-11-06
Posts: 24

Offline

#5 2012-05-29 15:56:19

errorist
#! Member
Registered: 2012-05-24
Posts: 80

Re: [Mainly solved]OB-Xml-tags and -actions

Thank you,cxexa!
I know,there is comprehensive documentation available for OB(have the most stuff local here).
But these sources all suffer from completeness.
The few ones in corenominals tiling-shortcuts I never saw anywhere.Somewhere read,that the
actions are from the xorg instructionset,have to search in that direction,I think.

Offline

#6 2012-05-29 22:41:59

errorist
#! Member
Registered: 2012-05-24
Posts: 80

Re: [Mainly solved]OB-Xml-tags and -actions

I looked through the docs again,and what did I found?
There are really some actions like the tiling ones,corenominal has put
into the CB-rc.xml!
But even better,there are additional ones,useable for tiling.
In the docs they are a little different(older?),they use a more detailed
style.
The shrinking actions I got only working in the long form!
If anyone is interested,here is my complete tiling-section,put into a
keychain:

    <!-- Keybindings for window tiling -->
    <keybind key="W-t">
        <keybind key="C-Right">
            <action name="MoveToEdgeEast"/>
        </keybind>
        <keybind key="C-Left">
            <action name="MoveToEdgeWest"/>
        </keybind>
        <keybind key="C-Down">
            <action name="MoveToEdgeSouth"/>
        </keybind>
        <keybind key="C-Up">
            <action name="MoveToEdgeNorth"/>
        </keybind> 
        <keybind key="W-Right">
            <action name="GrowToEdgeEast"/>
        </keybind>
        <keybind key="W-Left">
            <action name="GrowToEdgeWest"/>
        </keybind>
        <keybind key="W-Down">
            <action name="GrowToEdgeSouth"/>
        </keybind>
        <keybind key="W-Up">
            <action name="GrowToEdgeNorth"/>
        </keybind> 
        <keybind key="A-Right">
            <action name="ShrinkToEdge"><direction>east</direction></action>
        </keybind>
        <keybind key="A-Left">
            <action name="ShrinkToEdge"><direction>west</direction></action>
        </keybind>
        <keybind key="A-Down">
            <action name="ShrinkToEdge"><direction>south</direction></action>
        </keybind>
        <keybind key="A-Up">
            <action name="ShrinkToEdge"><direction>north</direction></action>
        </keybind> 
    </keybind>
    

Maybe,you have to change the keybindings,and you can delete the current ones,
if you have them in your rc.xml.
The problem with the not working keynames is also solved,I don't know from
where I have the wrong ones,but using xev gave me all the right ones!
So I'm only interested in eventually existing actions,not covered in the
OB-wiki.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo