Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start Menu 2

Status
Not open for further replies.

nocty

Programmer
Nov 12, 2003
9
GB
Is it possible on Redhat Linux to make the windows start key that shows the windows start menu when pressed in windows show the main menu in linux? (im not sure what you would call it, linux equivalent of a start menu, the button to the far left of the taskbar in GNOME)
 
Try this link:

Couple files to modify and you should be good to go. I'll paste a bit of the info here for the sake of future tek-tips searchers ;-)

---
In Redhat

In your home directory create (or edited if it exists..) a file called .Xmodmap

In the file write entries for each keycode in this form:

keycode 115=F13
keycode 116=F14
keycode 117=F15

<snip>

Just for reference, these mean:

keycode 115 = left windows key
keycode 116 = right windows key
keycode 117 = right menu key

---

In Debian

In your home directory, create a file called .xmodmaprc.

In the file write entries for each keycode in this form:

keycode 115=F13
keycode 116=F14
keycode 117=F15

These are previously defined keycodes (these are from using the program called xev it allows you to position your mouse in a window and press keys, the output in your terminal will tell you what they keycode is for the key you just pressed)... use xev to find out the keycodes of your other hotkeys.

Just for reference, these mean:

keycode 115 = left windows key
keycode 116 = right windows key
keycode 117 = right menu key

Now you will need to load these into xmodmap (to view the keycodes already in xmodmap do xmodmap -pk) by simply typing: xmodmap .xmodmaprc
This will load them into xmodmap and keep them there until you close x, you will need to reload them each time you start x, to do this you can simply add a line to your .xsession file. My own .xsession file looks something like this:

xmodmap .xmodmaprc
exec enlightenment

----
JBR
 
excellent. thanx. I use a combination of all different OS's and i keep switching between them and getting into habbits of uusing windows shortcuts on linux and trying to put bash commands into DOS etc :S . So i try and get my home computers all close to one environment

Thanx Again
Nocty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top