Pular para o conteúdo principal

Calling the "extra" custom openbox menu with a mousebind

     Hi folks! In the last post we've explored the openbox's hidden feature (not so called) that is making extra menus. In Enlightenment, for instance, you have the main menu and the favourites menu (set through the E configurator builtin). 

    Now we will make not a keybind for it, but a mousebind for our extra custom menu.

    The default openbox root menu is called by clicking on the desktop with right mouse button.

    And if I'd like to click with the same right button on the desktop but also pressing at the same time Windows keyboard key to show the custom menu?!?

    As all openboxers may suspect, it involves rc.xml edition. Mine has those configs:


<mouse>
<context name="Desktop">
<mousebind button="W-Right" action="Press">
<action name="ShowMenu">
<menu>custom</menu>
</action>
</mousebind>

 

       That's all folks!     

 

Comentários

Postagens mais visitadas deste blog

Creating an extra custom menu in openbox WM

    Hi, folks. It's been a while, isn't it?     Well, I know nowadays people are telling X11 will be dead soon and the future is Wayland, but for the ones like me, dinosaurs that can't live without things like fluxbox or openbox, how the future will be?      O penbox is a very mature WM, offering some tricks we don't see much around here.     Here's  one much helpful: Making custom menus.       I've already shown the path to do the same in fluxbox in the past.       Now I show you all to do that in openbox.     First, locate in rc.xml the block of code that refers the menu. It's something like this: < menu>     <hideDelay>250</hideDelay>     <middle>no</middle>     <submenuShowDelay>100</submenuShowDelay>     <submenuHideDelay>400</submenuHideDelay>     <applicationIco...

Window list in Fluxbox

One of the best features on openbox comes "hidden" in Fluxbox. To use it, put a line in your "keys" (/home/"user"/.fluxbox/keys) file like that: Mod4 Escape    :ClientMenu In my case, when I click windows button+escape I get: That's it!

Openbox: trays e bmpanel

Todos sabem que sou amante dos gerentes de janelas minimalistas, que ocupam pouco espaço na memória e que uso muito o openbox. Na verdade, existe uma funcionalidade que o openbox não provê nativamente e em virtude dessa deficiência, é necessário usar um programa externo. Tal funcionalidade é o que se chama de systray, que é geralmente uma pequena barra onde ficam alocados os ícones de certas aplicações, como o parcellite, o beep-media-player-x, o quodlibet (geralmente players têm essa característica). Então, você pode interagir com o programa mesmo ali de seu ícone na systray, no caso de players, com comandos como "play", "pause", stop, etc. Contudo, como disse anteriormente, o fato é que no openbox, essa funcionalidade não é provida, de modo que eu tive problemas com aplicações como o player beep-media-player-x (minha aplicação favorita para ouvir rádio na web), porque em sua configuração padrão, quando você clica no "x" da janela, a aplicação não é morta...