Re:KeyChoice - Axis Key-Binding editor
srt@Cinci:~/linuxcnc-dev$ sudo dpkg -i keychoice_0.1-2_i386.debdpkg: error processing keychoice_0.1-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
keychoice_0.1-2_i386.deb
srt@Cinci:~/linuxcnc-dev$
I downloaded the zip folder, placed the download in my -dev folder, right clicked extract all, then did the terminal commands.
Any thoughts
Please Log in or Create an account to join the conversation.
If that is exactly what you are typing in, it is because the .deb is now called keychoice_1-2_i386.deb in this zip packagecannot access archive: No such file or directory
Errors were encountered while processing:
keychoice_0.1-2_i386.deb
Do a ls in the directory, or even easier just enter sudo dpkg -i keychoice then press the Tab key and bash auto completion will fill in the rest
regards
Please Log in or Create an account to join the conversation.
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.
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.
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
Please Log in or Create an account to join the conversation.
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.
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.
Thank you, Davide.
Please Log in or Create an account to join the conversation.
I just found your awesome post for a key changer. I'm very interested to try it as I'm in the same spot as others before me. As I have a fresh install of Debian Wheezy it gives me this error:
cnc@LinuxCNC:~$ sudo apt-get install libqt3-mt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqt3-mt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libqt3-mt' has no installation candidate
Any ideas? Thanks for looking.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.