Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hii this is raju,
I want to enable "windows button" as SUSE button.
I would find it great if you can enable the following shortcuts: (lnx means win-Button ) lnx + D --> Show Desktop; lnx + L --> Look Screen; lnx + E (or H) --> open file browser (maybe the home dir)
Maybe you have some more shortcut ideas. The button is on the most keyboards - lets use it!
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
Hi,
you can use
Code:
xev
to capture the key code. Left windows button should be key code 115.
You can do the following:
Code:
xmodmap "keycode 115 = F20"
This maps left windows button to function key 20.
To have the Windows key-mappings enabled automatically every time you start X either put the xmodmap commands in your ~/.xinitrc file or, preferably, create a file ~/.xmodmaprc and include the xmodmap options, one per line, then add the following line to your ~/.xinitrc:
Code:
xmodmap $HOME/.xmodmaprc
After that you can map the F20 inside your window manager to the function you like to use.
raju@linux-kt0w:~> xev
Outer window is 0x4e00001, inner window is 0x4e00002
PropertyNotify event, serial 8, synthetic NO, window 0x4e00001,
atom 0x27 (WM_NAME), time 5540341, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x4e00001,
atom 0x22 (WM_COMMAND), time 5540341, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x4e00001,
atom 0x28 (WM_NORMAL_HINTS), time 5540341, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x4e00001,
parent 0x4e00001, window 0x4e00002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x4e00001,
atom 0x134 (WM_PROTOCOLS), time 5540341, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00002, override NO
PropertyNotify event, serial 23, synthetic NO, window 0x4e00001,
atom 0x201 (_NET_WM_ALLOWED_ACTIONS), time 5540343, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x4e00001,
atom 0x207 (_NET_FRAME_WINDOW), time 5540344, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x4e00001,
atom 0x201 (_NET_WM_ALLOWED_ACTIONS), time 5540344, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x4e00001,
atom 0x206 (_NET_FRAME_EXTENTS), time 5540344, state PropertyNewValue
ConfigureNotify event, serial 24, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00001, (5,25), width 178, height 178,
border_width 2, above 0x180056b, override NO
ConfigureNotify event, serial 24, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00001, (10,50), width 178, height 178,
border_width 2, above 0x180056b, override NO
ConfigureNotify event, serial 24, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00001, (10,50), width 178, height 178,
border_width 2, above 0x4a00001, override NO
MapNotify event, serial 24, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00001, override NO
VisibilityNotify event, serial 24, synthetic NO, window 0x4e00001,
state VisibilityUnobscured
Expose event, serial 24, synthetic NO, window 0x4e00001,
(0,0), width 178, height 10, count 3
Expose event, serial 24, synthetic NO, window 0x4e00001,
(0,10), width 10, height 58, count 2
Expose event, serial 24, synthetic NO, window 0x4e00001,
(68,10), width 110, height 58, count 1
Expose event, serial 24, synthetic NO, window 0x4e00001,
(0,68), width 178, height 110, count 0
FocusIn event, serial 24, synthetic NO, window 0x4e00001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 24, synthetic NO, window 0x4e00001,
atom 0x1ea (_NET_WM_DESKTOP), time 5540346, state PropertyNewValue
PropertyNotify event, serial 25, synthetic NO, window 0x4e00001,
atom 0x95 (WM_STATE), time 5540361, state PropertyNewValue
PropertyNotify event, serial 25, synthetic NO, window 0x4e00001,
atom 0x223 (_COMPIZ_WINDOW_DECOR), time 5540485, state PropertyNewValue
PropertyNotify event, serial 25, synthetic NO, window 0x4e00001,
atom 0x22d (_NET_WM_ICON_GEOMETRY), time 5540501, state PropertyNewValue
PropertyNotify event, serial 30, synthetic NO, window 0x4e00001,
atom 0x22d (_NET_WM_ICON_GEOMETRY), time 5540620, state PropertyNewValue
KeyPress event, serial 30, synthetic NO, window 0x4e00001,
root 0x69, subw 0x0, time 5541118, (113,-31), root:(125,21),
state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4e00001,
root 0x69, subw 0x0, time 5541403, (113,-31), root:(125,21),
state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x4e00001,
root 0x69, subw 0x0, time 5541891, (113,-31), root:(125,21),
state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4e00001,
root 0x69, subw 0x0, time 5542125, (112,-29), root:(124,23),
state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
ConfigureNotify event, serial 33, synthetic NO, window 0x4e00001,
event 0x4e00001, window 0x4e00001, (10,50), width 178, height 178,
border_width 2, above 0x4a00001, override NO
PropertyNotify event, serial 33, synthetic NO, window 0x4e00001,
atom 0x223 (_COMPIZ_WINDOW_DECOR), time 5542736, state PropertyNewValue
ClientMessage event, serial 33, synthetic YES, window 0x4e00001,
message_type 0x134 (WM_PROTOCOLS), format 32, message 0x135 (WM_DELETE_WINDOW)
raju@linux-kt0w:~>
After a window with white rectangle (inside it) is opened..
I pressed my "window labeled button" and then moved my mouse button to close dat opened window.
den my command prompt showed me this log...
now what i have to do ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.