Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 04:17
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Activa el menu con la tecla de windows en Puppy Night beta7
Moderators: rarsa
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
nilsonmorales


Joined: 15 Apr 2011
Posts: 474
Location: El salvador

PostPosted: Sun 12 May 2013, 03:07    Post subject:  Activa el menu con la tecla de windows en Puppy Night beta7  

Pequeño truco que encontramos con el usuario Pablo_Night en el canal irc #puppy-es y reeditado con la ayuda de josejp2424

Esto funciona cuando se usa Lxpanel en PuppyNight beta7

1- Abrimos terminal comando xev y presionan la tecla de windows ( entre cntrl y alt ) a la izquierda de la barra espaciadora

Quote:
┌─[root][12:50 ][~]
└─[PnightBeta7][$] xev

KeyRelease event, serial 37, synthetic NO, window 0x1800001,
root 0xac, subw 0x0, time 47279, (470,157), root:(535,633),
state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False


Lo relevante aqui es keycode 115 y Super_L

2- Editamos el archivo /root/.config/openbox/rc.xml

y agregamos


Quote:
</keybind>
<keybind key="Super_L">
<action name="Execute">
<command>lxpanelctl menu</command>
</action>
</keybind>


3- Hacemos un script en /usr/local/bin/

tecla_win

Quote:
#!/bin/sh
xmodmap -e 'keycode 115=Super_L'


4- Otro script en /root/startup/

tecla_win

Quote:
#!/bin/sh
sleep 2
/usr/local/bin/tecla-win


No olviden dar permisos de ejecucion

Reiniciamos X

Algo simple, se muestra para que otros lo vayan mejorando.
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0414s ][ Queries: 11 (0.0049s) ][ GZIP on ]