![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
| 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. |
|
#3
| |||
| |||
| 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 ?
__________________ Anyone who says "It only goes together one way" has no imagination. Last edited by cyclestart; 05-28-2009 at 06:27 AM. |
|
#4
| ||||
| ||||
I've considered making a new, flatter keycap, or adding a second, stiffer spring under the existing Home key. Last edited by vlmarshall; 05-30-2009 at 10:51 AM. |
|
#5
| |||
| |||
![]() 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; Code: nano .Xmodmap 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. |
| Sponsored Links |
|
#6
| ||||
| ||||
| 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. ![]() ![]() ![]() ![]() Filled in with differently-coloured crayons, they show up quite nicely. |
|
#7
| |||
| |||
| 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 Code: # Bind cntrl and p to home active axis
root_window.bind(" 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.
__________________ Anyone who says "It only goes together one way" has no imagination. Last edited by cyclestart; 06-13-2009 at 11:35 PM. Reason: code tags suck on this site |
|
#8
| |||
| |||
| Good thing this isn't a programming site ![]() here it is as a text file for clarity save link as EDIT/ allright Code: # Bind cntrl and p to home active axis
root_window.bind("<Control-p>", commands.home_axis)
__________________ Anyone who says "It only goes together one way" has no imagination. Last edited by cyclestart; 06-14-2009 at 08:55 AM. Reason: learned some HTML I'll likely never need again |
|
#9
| ||||
| ||||
|
Save it as what? Something with the .axisrc extension... where do I save it?
__________________ http://www.youtube.com/user/vlmarshall |
|
#10
| |||
| |||
| . [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. |
| Sponsored Links |
|
#11
| ||||
| ||||
Your engraved keys are really wonderful... I suggest you to sell them to gamers too! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| changing from a er-25 collet to a r8?? | parkson | Bridgeport and Hardinge Mills | 3 | 10-10-2010 05:45 PM |
| Need Help!- Home again Home again Jiggety Jig. Well Not Just Yet! | Mr.Chips | DIY-CNC Router Table Machines | 10 | 03-18-2008 08:58 PM |
| Changing Z moves | Davidimurray | Post Processors for MC | 5 | 02-10-2007 01:59 PM |
| Changing Jobs | DAB_Design | CNCzone Club House | 4 | 07-01-2005 10:31 AM |
| Changing CS | fastolds | GibbsCAM | 2 | 02-02-2005 12:31 AM |