How to add a key binding to maximize/close all windows?












3















Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml



I want to add key bindings to maximize all windows and have the current active one on top.



I also need to have a key binding to close all windows.



Example



<keybind key="KP_Prior">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>File manager</name>
</startupnotify>
<command>lxsession-default file_manager</command>
</action>
</keybind>









share|improve this question
















bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • To use the new keybindings I use openbox --reconfigure

    – user251046
    Aug 11 '14 at 5:47
















3















Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml



I want to add key bindings to maximize all windows and have the current active one on top.



I also need to have a key binding to close all windows.



Example



<keybind key="KP_Prior">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>File manager</name>
</startupnotify>
<command>lxsession-default file_manager</command>
</action>
</keybind>









share|improve this question
















bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • To use the new keybindings I use openbox --reconfigure

    – user251046
    Aug 11 '14 at 5:47














3












3








3


1






Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml



I want to add key bindings to maximize all windows and have the current active one on top.



I also need to have a key binding to close all windows.



Example



<keybind key="KP_Prior">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>File manager</name>
</startupnotify>
<command>lxsession-default file_manager</command>
</action>
</keybind>









share|improve this question
















Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml



I want to add key bindings to maximize all windows and have the current active one on top.



I also need to have a key binding to close all windows.



Example



<keybind key="KP_Prior">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>File manager</name>
</startupnotify>
<command>lxsession-default file_manager</command>
</action>
</keybind>






keyboard-shortcuts openbox lxde window-management






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 5 '14 at 22:02









Gilles

531k12810631592




531k12810631592










asked Aug 5 '14 at 12:45









user251046user251046

135212




135212





bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • To use the new keybindings I use openbox --reconfigure

    – user251046
    Aug 11 '14 at 5:47



















  • To use the new keybindings I use openbox --reconfigure

    – user251046
    Aug 11 '14 at 5:47

















To use the new keybindings I use openbox --reconfigure

– user251046
Aug 11 '14 at 5:47





To use the new keybindings I use openbox --reconfigure

– user251046
Aug 11 '14 at 5:47










1 Answer
1






active

oldest

votes


















0














This link might be helpful for you. I can't found what you want exactly but this snippet can toggle maximize a window:



<keybind key="A-Return">
<action name="ToggleMaximize"/>
</keybind>





share|improve this answer
























  • Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

    – user251046
    Aug 5 '14 at 14:23











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f148501%2fhow-to-add-a-key-binding-to-maximize-close-all-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This link might be helpful for you. I can't found what you want exactly but this snippet can toggle maximize a window:



<keybind key="A-Return">
<action name="ToggleMaximize"/>
</keybind>





share|improve this answer
























  • Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

    – user251046
    Aug 5 '14 at 14:23
















0














This link might be helpful for you. I can't found what you want exactly but this snippet can toggle maximize a window:



<keybind key="A-Return">
<action name="ToggleMaximize"/>
</keybind>





share|improve this answer
























  • Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

    – user251046
    Aug 5 '14 at 14:23














0












0








0







This link might be helpful for you. I can't found what you want exactly but this snippet can toggle maximize a window:



<keybind key="A-Return">
<action name="ToggleMaximize"/>
</keybind>





share|improve this answer













This link might be helpful for you. I can't found what you want exactly but this snippet can toggle maximize a window:



<keybind key="A-Return">
<action name="ToggleMaximize"/>
</keybind>






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 5 '14 at 13:22









David MartínezDavid Martínez

65111223




65111223













  • Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

    – user251046
    Aug 5 '14 at 14:23



















  • Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

    – user251046
    Aug 5 '14 at 14:23

















Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

– user251046
Aug 5 '14 at 14:23





Thanks for the link, but I used Ctrl+f in browser to find in website and there is no such thing.

– user251046
Aug 5 '14 at 14:23


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f148501%2fhow-to-add-a-key-binding-to-maximize-close-all-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Histoire des bourses de valeurs

Python if-else code style for reduced code for rounding floats

Rename multiple files to decrement number in file name?