If you are serious about this you should ask on the emc maillist or file a bug request on source forge. The developers of AXIS don't really check on here much.
After accidentally hitting the 'Home' key, and losing my setup once again, I must ask; Is there a way to change the 'Home' function to a different key, or a multiple-kepress? Something like Ctrl-Home would be great... or anything that's not so close to the END key.![]()
If you are serious about this you should ask on the emc maillist or file a bug request on source forge. The developers of AXIS don't really check on here much.
Can you live with the key remapped in a universal kind of way ?
ie: permanently for all applications ?
An ugly hack but not hard to do .
Assigning keys in EMC is surely possible, and would be a more elegant solution.
Edit/ A quick google suggests you want to alter the file .axisrc to change keyboard bindings. That's assuming you use axis, Maybe it's in the integrators manual ?
Last edited by cyclestart; 05-28-2009 at 07:27 AM.
Anyone who says "It only goes together one way" has no imagination.
Hey, my kind of user ! Makes what I'm about to suggest a little less embarrassing.
In a terminal type the command;
xev
As the keys are pressed information will print in the terminal. what you're looking for is the keycode and the name of the key. On my board;
Windows key -> keycode 116, name Super_R
Home key -> keycode 97, name Home
Now close the little applet window xev popped ip and use the command;
in the nano editor (using this particular example);Code:nano .Xmodmap
After a logout the keys should be switched. The .Xmodmap file is a hidden file in your home directory that will be read every startup.Code:keycode 97 = Super_R keycode 116 = Home
I can't think of what other function the Windows key is used for, which only makes me more sure it's something critical![]()
Anyone who says "It only goes together one way" has no imagination.
Great tip, but I'm hoping for some key COMBINATION for homing...although, I suppose I could remove the Windows keys instead of the Home key, like I've currently done.
Embarassing? Hey, I pulled off my keys and engraved them with the EMC function on their fronts!
Filled in with differently-coloured crayons, they show up quite nicely.
Impressive![]()
I'm more of the felt marker and masking tape type,
Here's something you could try. It seems to work in emc 2.2.8.
In gedit paste in this text
and save the file as .axisrcCode:# Bind cntrl and p to home active axis root_window.bind("", commands.home_axis)
This assumes you don't already have a .axisrc file with some contents.
Remember I said seems to work. Can anyone confirm this is safe ??
EDIT/ between the quotation marks in the code above
<
Control-p
>
without the newlines, just like a single word. This site's has lousy code tags and I'm not sure what combination of backslashes or whatever needs to be used to fool it.
Last edited by cyclestart; 06-14-2009 at 12:35 AM. Reason: code tags suck on this site
Anyone who says "It only goes together one way" has no imagination.
Good thing this isn't a programming site
here it is as a text file for clarity
save link as
EDIT/ allright
Being stubborn is it's own reward/punishmentCode:# Bind cntrl and p to home active axis root_window.bind("<Control-p>", commands.home_axis)
Last edited by cyclestart; 06-14-2009 at 09:55 AM. Reason: learned some HTML I'll likely never need again
Anyone who says "It only goes together one way" has no imagination.
No.
. [dot] files are hidden files. So paste that text into a text editor and save the file as .axisrc ([dot]axisrc). If your emc configuration files are in /home/username/ directory (and they probably are), save .axisrc in your username directory. Emc should find it.
Hidden files can be seen in a terminal:
ls -a
or, if you have a lot of files
ls -a | less
Or by choosing to view hidden files in the gui file browser.
Sorry for babbling on again and maybe repeating things you already know. I love this linux stuff![]()
Anyone who says "It only goes together one way" has no imagination.
The keyboard remapping suggested by cyclestart works smoothly in Linux... I guess I'm one of the few having things like √ ½ ¾ ⅛ «» and even ☺ on the alt-shift combinations of my keyboard.
Your engraved keys are really wonderful... I suggest you to sell them to gamers too!