- Posts: 197
- Thank you received: 3
Re:KeyChoice - Axis Key-Binding editor
- LAIR82
- Offline
- Elite Member
-
Less
More
14 years 2 weeks ago #25275
by LAIR82
Replied by LAIR82 on topic Re:KeyChoice - Axis Key-Binding editor
I did the tab completion and the here is what it came up with,
srt@Cinci:~/linuxcnc-dev$ sudo dpkg -i keychoice_v2/
dpkg-split: error reading keychoice_v2/: Is a directory
dpkg: error processing keychoice_v2/ (--install):
subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
keychoice_v2/
srt@Cinci:~/linuxcnc-dev$
So I tried
srt@Cinci:~/linuxcnc-dev$ cd keychoice_v2
srt@Cinci:~/linuxcnc-dev/keychoice_v2$ sudo dpkg -i keychoice_1-2_i386.deb
dpkg: error processing keychoice_1-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
keychoice_1-2_i386.deb
srt@Cinci:~/linuxcnc-dev/keychoice_v2$
I really need to learn this stuff.
srt@Cinci:~/linuxcnc-dev$ sudo dpkg -i keychoice_v2/
dpkg-split: error reading keychoice_v2/: Is a directory
dpkg: error processing keychoice_v2/ (--install):
subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
keychoice_v2/
srt@Cinci:~/linuxcnc-dev$
So I tried
srt@Cinci:~/linuxcnc-dev$ cd keychoice_v2
srt@Cinci:~/linuxcnc-dev/keychoice_v2$ sudo dpkg -i keychoice_1-2_i386.deb
dpkg: error processing keychoice_1-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
keychoice_1-2_i386.deb
srt@Cinci:~/linuxcnc-dev/keychoice_v2$
I really need to learn this stuff.
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Elite Member
-
Less
More
- Posts: 197
- Thank you received: 3
14 years 2 weeks ago #25282
by LAIR82
Replied by LAIR82 on topic Re:KeyChoice - Axis Key-Binding editor
I think its working, I found the keychoice icon in the folder, modified some keys, and wrote to the .axisrc and it worked. To double check I went to the terninal window and typed gedit .axisrc, and i saw the keys that I modified were there. I'm just not thinking it is working as intended.
Regardless I was able to use it to the point of seeing what keys were doing what, and modify them accordingly.
Thanks
Regardless I was able to use it to the point of seeing what keys were doing what, and modify them accordingly.
Thanks
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
14 years 2 weeks ago - 14 years 2 weeks ago #25284
by ArcEye
Replied by ArcEye on topic Re:KeyChoice - Axis Key-Binding editor
Hi
In the first output in your post you were trying to dpkg a .zip which won't work.
In the second I can only assume you had not unzipped it into that directory first.
I downloaded, extracted and installed the Qt4 version to check and it works fine
# dpkg -i keychoice [Tab] [Tab] gives available files matching that pattern
keychoice_1-2_i386.deb keychoice-qt4_1-2_i386.deb keychoice_v2.zip
# dpkg -i keychoice-qt4_1-2_i386.deb
Selecting previously unselected package keychoice-qt4.
(Reading database ... 237010 files and directories currently installed.)
Unpacking keychoice-qt4 (from keychoice-qt4_1-2_i386.deb) ...
Setting up keychoice-qt4 (1-2) ...
If it has installed correctly you should have keychoice in /usr/bin, keychoice.conf in /usr/share/axis and some automatically generated debian docs in /usr/share/doc/keychoice
You should then be able to just type keychoice at the commandline or add it to a menu with the menu editor.
I suspect you have just somehow managed to extract the files from the .deb into the same directory without actually installing them.
You can copy them to the locations they should be in rather than try further if that is so
regards
Afraid I am pretty blasé because I have been using Unix and Linux for donkeys years and its all just 2nd nature.I really need to learn this stuff.
In the first output in your post you were trying to dpkg a .zip which won't work.
In the second I can only assume you had not unzipped it into that directory first.
I downloaded, extracted and installed the Qt4 version to check and it works fine
# dpkg -i keychoice [Tab] [Tab] gives available files matching that pattern
keychoice_1-2_i386.deb keychoice-qt4_1-2_i386.deb keychoice_v2.zip
# dpkg -i keychoice-qt4_1-2_i386.deb
Selecting previously unselected package keychoice-qt4.
(Reading database ... 237010 files and directories currently installed.)
Unpacking keychoice-qt4 (from keychoice-qt4_1-2_i386.deb) ...
Setting up keychoice-qt4 (1-2) ...
There is no keychoice icon, so I assume you are using nautilus file manager with 'icon view' and it displays files as iconsI found the keychoice icon in the folder,
If it has installed correctly you should have keychoice in /usr/bin, keychoice.conf in /usr/share/axis and some automatically generated debian docs in /usr/share/doc/keychoice
You should then be able to just type keychoice at the commandline or add it to a menu with the menu editor.
I suspect you have just somehow managed to extract the files from the .deb into the same directory without actually installing them.
You can copy them to the locations they should be in rather than try further if that is so
regards
Last edit: 14 years 2 weeks ago by ArcEye.
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Elite Member
-
Less
More
- Posts: 197
- Thank you received: 3
14 years 2 weeks ago #25285
by LAIR82
Replied by LAIR82 on topic Re:KeyChoice - Axis Key-Binding editor
I didnt hit tab twice on that command line. I do have the keychoice_v2 folder in my dev folder, I went into each folder in it and extracted all the files individually.
So I can just move each file to it respective position in the src folder and it should work from the command line?
I am just so new at this stuff, it takes a couple of trys and i finally figure it out.
So I can just move each file to it respective position in the src folder and it should work from the command line?
I am just so new at this stuff, it takes a couple of trys and i finally figure it out.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
14 years 2 weeks ago #25286
by ArcEye
A .deb is only really a glorified .tar.gz, you can open it and just copy what you want out of it, dpkg just automates things, checks for dependencies, runs ldconfig etc. etc.
So long as keychoice is in a directory in your PATH environment ( run echo $PATH in a terminal to see what they are if interested ) you can call it from anywhere by name.
I use a terminal based file manager, midnight commander, and the command line for just about everything aside from the likes of mail and internet access.
regards
Replied by ArcEye on topic Re:KeyChoice - Axis Key-Binding editor
You can move the files to the respective positions in the file tree - yes.So I can just move each file to it respective position in the src folder and it should work from the command line?
A .deb is only really a glorified .tar.gz, you can open it and just copy what you want out of it, dpkg just automates things, checks for dependencies, runs ldconfig etc. etc.
So long as keychoice is in a directory in your PATH environment ( run echo $PATH in a terminal to see what they are if interested ) you can call it from anywhere by name.
It is worth persisting, the command line is powerful tool once you master it.I am just so new at this stuff, it takes a couple of trys and i finally figure it out.
I use a terminal based file manager, midnight commander, and the command line for just about everything aside from the likes of mail and internet access.
regards
Please Log in or Create an account to join the conversation.
- dab77
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 2
9 years 5 months ago #93012
by dab77
Replied by dab77 on topic Re:KeyChoice - Axis Key-Binding editor
Hi, I would like to know if this method works under 2.8. I have a gantry with XXYZ, but on my Italian keyboard there's no way to jog the 4th axis... so I would like to remap all of them. Is it possible? in case, is it possible to use different keys for joint mode and world mode?
Thank you, Davide.
Thank you, Davide.
Please Log in or Create an account to join the conversation.
Time to create page: 0.132 seconds