How do I install Autokey?

Under Windows i use AutoHotKey, which enables me to make a lot of simple shortcut key as well as remap some (like capslock for ctrl+c), and which helps increase speed in my work, esp. with my stiff fingers that do not respond as they should to the “central command” (my brain), and it appears that the closest thing to that for Linux is called “autokey” (autokey - Desktop automation utility for Linux and X11 - Google Project Hosting), which is for Ubuntu, though it is also conformable to other distros. There is also an app for Linux called see IronAHK but it does not seem as easy to use, and while i have made some custom kbrd shortcuts under KDE shortcuts and gestures>standard kbrd shortcuts>alternate, they do not always work globally or at all, and are limited.

However, as a (learning) Linux novice i do not know how to install autokey. I dwnldd and extracted the autokey-0.90.4.tar.gz file into its own folder in /home/user/Documents/autokey/, and while it has an instruction page (InstallingAutoKey - autokey - This is the Installation manual for installing from source code or repository. - Desktop automation utility for Linux and X11 - Google Project Hosting) it is not clear to me on how to install this under openSuse 12.1 (is this Debian or ???) If a repo could be added that would allow an install by the gui fashion i would like to try that.

Thanks for your patience and help.

Hi
It’s available;
http://software.opensuse.org/package/autokey


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 19:56, 3 users, load average: 0.29, 0.10, 0.07
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks so much. That is neat. I was looking using the Apper or Yast software manager. I installed it for 12.1, but do not see it anywhere in the Application launcher ("Start menu)

A possible related issue is that i installed two more repos in installing autokey, and later i saw that i has about 160 updates waiting (this install is only a few days old), and after i installed them and rebooted, then Firefox (now 12.0) will not show any installed add ons or themes that i reinstall, even though they are listed as working for Linux 12.0 FF, and go thru the installation and i restart, and it will not even show the default theme under Appearance. An my old profile is the only one shown. Not sure if autokey is related.

Never keep a foreign repository active there may be package there that conflict with the installed version of the os. As you have now found out.

I believe disabling the foreign repos and doing

zypper ref
zypper dup

should bring things back.

And do not use Apper. At best even deinstall it.

Also: accept that linux is not windows. For example: letting an install run again is absolutely useless, it will do exactly the same, and there’s a proper technical explanation for it.

A 160 updates available? Why not? openSUSE 12.1 was released months ago, first updates are out even before release date. The longer after release date you perform the release install, the more updates there will be. A thing that may very well be the case, is that you have to reinstall the graphics driver for you video card. That’s a different story, than mentioned above, since the driver install creates a new kernel module, based on your updated kernel.

I deleted what i saw was a foreiegn, non-oss repo and ran the 2 cores you gve (amazing what a couple words effects), but FF is stil as before. So useful to me is Firefox and LibreOffice that i If a Linux could not run them then i would not use it much at all. I usually have around 60+ tabs open that i often go back to (and lots of organized bookmarks as well), and like to have the tabs visible, and with TabMixPlus i can show multiple rows (nothing does so in Sea Monkey or Chrome) and reduce the width so as to fit about 18 across, while Session Manager stores multiple sessions, with Colorful Tabs helping to differentate, and Xmarks (also no go) syncing (though there are alernatives to that), with other extns also helping. Just TabMixPlus and GoogleBarLite work in FF after the update, but maybe more will work later. I was able to find a (Noia) theme that installed but without its options.

As for autokey, i did a file seaarch from / and it is nowhere to be found except in the folder i unzipped it to.

I looked for IronAHK in the openSuse software but did not find it. Nothing crtical in any of the above, buti am trying to duplicate and maintain all the functionality i hav under Windows.

Thanks again for the help.

Understood. i was only qustioning if the new repo had anything to do with that.

Interesting. I did not think it was the best, and usually use the Yast software mngr.

i am trying to duplicate and maintain all the functionality i hav under Windows.

I see this different. You are trying to install the same programs as you had in Windows. That is not the same as trying to have the same functionality. Even if you can have the same functionality (which is not sure because Linux is different) it is not unlikely to be offered to you in a completely different program. E.g. in KDE you can configure HotKeys for that desktop. Why one wants to have a seperate program?

Also Windows is not Linux and Linux is not Windows. In many subjects you have to adopt a new way of working for yourself. That is diificult. II know of people that after using Linux wiith X for a long time, still revert to the old finger damaging habit of using Ctrl-C and Ctrl-V for copy/paste.

IMHO too, you’re not looking for the functionality, you want it to work the same way, have the same programs. Accept that the functionality is all there, that it’s you who has to find access to it. If you do that, you will find that finding one thing leads to finding many more, ulitmately to understanding the desktop environment and discovering that linux has so much more to offer than the Redmond OS.

On 2012-05-19 14:56, hcvv wrote:
> II know of people that after using Linux wiith X for a long time, still
> revert to the old finger damaging habit of using Ctrl-C and Ctrl-V for
> copy/paste.

Why not? What other finger method would you use?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2012-05-19 14:46, Acts1036 wrote:

> I deleted what i saw was a foreiegn, non-oss repo

You removed the non-oss repo? That was not indicated.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

In X, you do a copy by selecting the piece of text through going to one end with the mouse cursor, pushing down the left button, sweeping to the other end of the piece of text and release the mouse button. That is it, the piece of text is now “under your mouse” as some peole describe it.

To paste it somewhere else, you left click on the place where you want it (normaly between two characters) and you then click the middel button.

The keyboard is not involved at all. This is allready the X Windows way of doing this for 25 years.

On 2012-05-19 15:46, hcvv wrote:
> The keyboard is not involved at all. This is allready the X Windows way
> of doing this for 25 years.

Yes, but that method is plain text only. I use it. But there is a different
copy buffer between the applications that support it that allows copying
text and graphics and format information, and that one is invoked via menu
or finger. Yes, it is the method that Windows uses, but it was not invented
by them: it belongs to the standard invented by IBM years earlier: they
described what keystrokes should be used for each action, at a time when
every application used different methods (CUA).

Wikipedia:

CUA has never had significant impact on Unix terminal (character-mode)
applications. However, all major Unix GUI environments/toolkits (whether or
not based on the X Window System) have featured varying levels of CUA
compatibility, with Motif/CDE explicitly featuring it as a design goal. The
current major environments, GNOME and KDE, also feature extensive CUA
compatibility. The subset of CUA implemented in Microsoft Windows or
OSF/Motif is generally considered a de-facto standard to be followed by any
new Unix GUI environment.

So now we have both copy-paste methods. Not only different in access
method, but in powers.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 05/19/2012 03:08 PM, Carlos E. R. wrote:
> What other finger method would you use?

having use it from '95, i prefer the OS/2 fingering (done with the right
hand)

Ctrl+Insert to copy to clipboard (thumb on right Ctrl)
Shift+Insert to paste
Shift+Delete to copy to clipboard AND delete from document


dd

On 2012-05-19 16:45, dd@home.dk wrote:
> On 05/19/2012 03:08 PM, Carlos E. R. wrote:
>> What other finger method would you use?
>
> having use it from '95, i prefer the OS/2 fingering (done with the right hand)
>
> Ctrl+Insert to copy to clipboard (thumb on right Ctrl)
> Shift+Insert to paste
> Shift+Delete to copy to clipboard AND delete from document

It happened in Windows that those keys issued internally the ^C ^V keys
that became more popular, don’t know why: your keys are more intuitive to
remember. But ^insert doesn’t work in all applications.

Anyway, this copypaste method is different from the original X paste
method, not only in the method to access them, but in what it pastes. The
traditional X method only pastes plain text (but even from things that do
not read the keyboard, like static text in message boxes), and the
alternate method paste also format, and sometimes, in different format. Try
to use it from a web page into libreoffice writer or thunderbird compose
message and you will see.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

IIRC, on Solaris there are keystrokes that one set a marker at cursor position, second set marker to end selection, third to copy what’s inbetween to clipboard. But that’s 15 years ago, when I was young and pretty :smiley:

Sorry for a bit of delay in getting back to you. As i had mentioned, i did try to configure keys under shortcuts and gestures, but the ones i want to use do not work, or will not work globally. With AutoHotKey i can easily remap CapsLack to ctrl+c (copy), and Esc to ctrl+v (paste) and (to get Esc back) NumLock to Esc
CapsLock::^c
Esc::^v
NumLock::Esc

The coding is,
#+::Run (Win and Shift)
#^::Run (Win and Ctrl)
#!::Run (Win and Alt)
#>+::Run (Win and Right Shift)

And i can easily make a shortcut to any program or folder, etc, so that Win alt and 2 launches this,
#!2::Run C:\Program Files\The Word heword.exe
or #C::Run control.exe launches Conrtrol Panel

I am sure the like can be done by typing in a terminal, but (due to arthritic fingers) typing is what i am trying to reduce, and i do a lot of copying and pasting, often having a dozen documents open (i do some custom configuration of the LibreOffice keyboard which helps, so that F2 is past unformatted text). Under Windows i do have speech to text software, but it leaves much to be desired if using 3rd party apps, and you do not speak continuously, etc.) So AutoHotKey really helps.