LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
Search this Thread
Old 02-22-2009, 10:44 PM   #1
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Smile Make the 'Windows Button' a Linux Button


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!

can any one help me !!!
 
Old 02-23-2009, 02:39 PM   #2
Saptech
Member
 
Registered: Nov 2000
Location: Third Stone from the Sun
Distribution: Sourcemage
Posts: 132

Rep: Reputation: 19
Maybe this link can get you started...

http://alinuxblog.wordpress.com/2008...n-linux-gnome/
 
Old 02-27-2009, 06:07 PM   #3
donec
LQ Newbie
 
Registered: Feb 2009
Location: Texas
Distribution: Linux Mint 11 Gnome + Linux Mint 13 KDE
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by Saptech View Post
Maybe this link can get you started...

http://alinuxblog.wordpress.com/2008...n-linux-gnome/
Doesn't seem to work on Mandriva 2009 Gnome.
 
Old 02-28-2009, 08:03 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
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.
 
Old 02-28-2009, 08:59 AM   #5
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Original Poster
Rep: Reputation: 92
Arrow Making windows button as LINUX button

hey i tried u r command
Code:
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 ??
 
Old 02-28-2009, 10:12 AM   #6
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
What desktop environment are u using? GNOME or KDE?

If using KDE, go to kcontrol--> regional&accessibility --> Keyboard shortcuts.

Find the entry for Show Desktop, and assign it the shortcut (Win + D)

and so on...

Last edited by ciden; 02-28-2009 at 10:15 AM.
 
  


Reply

Tags
button, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with gnome's shut down button (red button) alaios Ubuntu 1 09-10-2008 04:25 PM
Mutlipe text/button form, one submit button bappreacher Programming 8 06-27-2006 08:07 AM
make thumb button/third button double-click taboom Linux - Hardware 0 03-20-2006 02:39 PM
Vector 5.1 SOHO. Start button/K button, Sound card suseforge VectorLinux 0 01-30-2006 12:14 PM
Make the windows-button to open KDE start-menu objorkum Linux - Software 5 12-16-2003 11:07 PM


All times are GMT -5. The time now is 10:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration