Atalhos+Wmii+faceis VOL - CrunchBang!

1. Atalhos+Wmii+faceis VOL - CrunchBang!

NoisNon
noisnon

(usa Crunchbang)

Enviado em 29/06/2014 - 10:37h

Wmii+keylaunch+fáceis que é uma bába para atalhos de teclado+desktop;
# Copy to $HOME/.keylaunchrc
#
# Format:
# key=...KeyName:Command
#
# ... No modifier
# *.. Shift
# .*. Ctrl
# ..* Alt
#
#key=..*Return:xterm
#key=.**n:netscape

key=..*F2:gmrun(ex:Alt+F2)

key=.**w:qupzilla(ex:Ctrl+Alt+w)

key=.**f:pcmanfm

key=.**e:geany

key=.**m:smplayer

key=.**a:terminator -x mocp

key=.**x:cb-exit

key=.**l:cb-lock

key=.**h: terminator -x htop -u noisnon


depois criei um script klaunch.sh(exec /usr/bin/keylaunch) ao ser exetutado após login no arquivo bash_profile(/home/noisnon/klaunch.sh &)
Que beleza só falta sair flutuando de tanta leveza. rsrs...

Deu um certo trabalhinho, tive de criar arquivo .xinitrc(escolher na execução; openbox ou wmii) e editar slim.conf e adicionar wmii,VOL - CrunchBang!


  


2. Re: Atalhos+Wmii+faceis VOL - CrunchBang!

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/06/2014 - 15:41h

Os atalhos podem ser adicionados com muito mais facilidade no próprio arquivo de configuração do Openbox em ~/.config/openbox/rc.xml na sessão <keyboard>

Aqui está o meu, como exemplo:


<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
<action name="GoToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="GoToDesktop">
<to>right</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="GoToDesktop">
<to>up</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="GoToDesktop">
<to>down</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Left">
<action name="SendToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Right">
<action name="SendToDesktop">
<to>right</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Up">
<action name="SendToDesktop">
<to>up</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Down">
<action name="SendToDesktop">
<to>down</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-F1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="W-F2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="W-F3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="W-F4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<command>xfce4-screenshooter</command>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<command>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Imagens/ & viewnior ~/Imagens/$f'</command>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
<keybind key="W-S-Right">
<action name="DirectionalCycleWindows">
<direction>right</direction>
</action>
</keybind>
<keybind key="W-S-Left">
<action name="DirectionalCycleWindows">
<direction>left</direction>
</action>
</keybind>
<keybind key="W-S-Up">
<action name="DirectionalCycleWindows">
<direction>up</direction>
</action>
</keybind>
<keybind key="W-S-Down">
<action name="DirectionalCycleWindows">
<direction>down</direction>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F1">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>AppFinder</name>
</startupnotify>
<command>xfce4-appfinder</command>
</action>
</keybind>
<keybind key="A-F2">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Run Program</name>
</startupnotify>
<command>gmrun</command>
</action>
</keybind>
<keybind key="A-F3">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>dmenu-bind</name>
</startupnotify>
<command>~/.config/dmenu/dmenu-bind.sh</command>
</action>
</keybind>
<keybind key="W-a">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>audacious</name>
</startupnotify>
<command>audacious</command>
</action>
</keybind>
<keybind key="W-f">
<action name="Execute">




3. Fica a gosto de cada linux-user

NoisNon
noisnon

(usa Crunchbang)

Enviado em 30/06/2014 - 17:32h

No Fluxbox também é moleza configuar atalhos;
$nano ~/.flubox/keys
Alf F3 demu
etc...


4. Não tem como adicionar

Fabrício Daniel Freitas
nickarcos

(usa Outra)

Enviado em 24/09/2014 - 14:00h

Não tem como adicionar atalhos com ícones como o firefox deixar ele fixo na área de trabalho ir com o mouse até ele para iniciar não?


5. Re: Atalhos+Wmii+faceis VOL - CrunchBang!

Ivan Câmara
ivanofx

(usa Outra)

Enviado em 07/01/2015 - 17:41h


Depois de ler seu comentário percebi q n existe a pasta Desktop. Então acho que não dá pra criar atalhos lá, não.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts