Re: Autokey in debian repos

71 views
Skip to first unread message

Joe

unread,
Feb 23, 2020, 7:57:19 AM2/23/20
to AutoKey Users
Lets take this one step at a time.

Our former Debian maintainer just stopped doing so a number of years ago
and no one replaced him. That's why we got stuck at 0.90.4 in Debian and
all derivative distributions - most of which get their packages from them.

Our new maintainer found us because he wanted AutoKey for himself and
saw that it wasn't maintained (and because Little Girl asked about it on
the Debian maintainers list.) This was quite fortunate because they had
already stopped packaging autokey-qt because of a removed dependency and
were about to remove the rest of AutoKey because it depended on Python2.
It didn't go any deeper than that AFAIK.

----

I asked the AutoKey developers about version 1.0 and they have a
significant number of issues they want to resolve before we go there. It
might be quite awhile.
It's hard to tell, especially since so much development is being
accomplished now.

----

The dependency problem you have is a bit odd - given that the Qt version
apparently works for you.

What I would do:

1) Make a complete backup of $HOME/.config/autokey making sure you get
all the hidden files. The following shouldn't touch them, but why take
chances.

2) Uninstall autokey.common and autokey-qt (and autokey-gtk if it has
been installed or partially installed)

sudo apt-get remove autokey.common autokey-qt autokey-gtk

3) This will leave you with a ton of Qt packages which are no longer
needed (assuming you don't have any other Qt applications installed.)
Hopefully your package manager will see these and offer to uninstall
them for you later - but you can leave them there until we get
autokey-gtk working.

I believe you are using Debian or a Debian derivative distribution, so
the following assumes that.

4) Change directories to one you use for downloading packages. Mine is
$HOME/installs/autokey. Create one if you don't have one.

5) Download the latest deb files for autokey.common and autokey.gtk
(into your installs directory) from

https://github.com/autokey/autokey/releases/download/v0.95.10/autokey-common_0.95.10-0_all.deb

https://github.com/autokey/autokey/releases/download/v0.95.10/autokey-gtk_0.95.10-0_all.deb

6) Install them:

sudo dpkg -i autokey-common_0.95.10-0_all.deb autokey-gtk_0.95.10-0_all.deb
sudo apt-get -f install

That should do it.

Later, if you want to, you can also download and install autokey-qt

https://github.com/autokey/autokey/releases/download/v0.95.10/autokey-qt_0.95.10-0_all.deb
sudo dpkg -i autokey-qt_0.95.10-0_all.deb

or you can just clean out all the Qt stuff.

sudo apt-get autoremove

When you run the above command, it should pause and ask if you want to
continue. When it does, look carefully at the list of packages it will
be removing as this command is not specific to AutoKey and may remove
additional unrelated packages which you probably don't need - but you
should check before telling it to go ahead.

The key to the above method is two-fold. First, you're starting with a
clean slate because all versions of AutoKey have been removed. Second,
you are installing autokey-common and autokey-gtk simultaneously because
they each depend on the other and will complain if you try to install
them separately. You are also using dpkg instead of apt because it's
simpler to use in this case. The second apt-get will clean up or point
out any remaining problems with dependencies.

Once you get this far, revisit your issues with shortcuts and report
back here. Of course, if you get stuck on any of the above steps, tell
us about that too. It shouldn't be too difficult to sort out.

We have not had any similar reports of problems saving shortcuts -
especially since a related issue was solved in a recent release. It used
to blow away the new shortcut if you failed to press Enter after typing
the new trigger phrase (and there was no indication that you were
supposed to press Enter. You just had to know to do it.) Now there are
instructions to do so and it's a little harder to exit the dialog with
an incomplete operation.

Joe


On 2/23/20 2:52 AM, Keith Bainbridge wrote:
> Good afternoon Joe,
>
> Thought I'd have a look at a niggling problem I've had with
> autokey-gtk for several years. -qt works well, although it has many
> dependencies in a gtk based desktop - I use Mate, Cinnamon, xfce as
> the mood takes me. I think I mentioned it once - I can't save new
> shortcuts - the abbreviation disappears when I try to accept it.  But
> I reckon now might be the time to raise it - it seems you may be
> getting ready to release version1. Perhaps the debian people struck
> this issue as well? and that is why it hasn't been updated into the
> repos.
>
>
> BUT when I tried to install, I got an error:
> The following packages have unmet dependencies:
>  autokey-gtk : Depends: autokey-common (= 0.95.9-3) but 0.95.10-1 is
> to be installed
> E: Unable to correct problems, you have held broken packages.
> keith@asus3 Sun23Feb2020@18:37:11 :~$
>
>
> As I said, it's a niggle. I'll check it as I remember to do so.
>
>

Ivor O'Connor

unread,
Jun 2, 2021, 8:54:36 PM6/2/21
to autokey-users
Did the suggested steps fix the problem? (I'm having the same problem with the latest version of linux mint xfce.)

jos...@main.nc.us

unread,
Jun 5, 2021, 10:03:34 PM6/5/21
to autoke...@googlegroups.com
My IMAP is broken, so I'm viewing this on an ancient webmail app that is
almost unusable, so forgive me if I get something wrong.

Mint is Debian-based, so you should be able to install AutoKey using your
normal (apt ...) package manager with no issues. They have the latest
production version in their repos. (We are working on a new one though.)

The OP's original error came from not uninstalling an old version before
installing a new one and/or from manually installing the two pieces of
AutoKey separately - which doesn't work.

Unless you're doing something unusual, none of this should apply to you.

Please detail exactly what you did and what error messages, etc. you are
seeing.

Joe
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/f65df7e6-76ca-4ada-b273-90dc5e9e9c79n%40googlegroups.com.
>


Reply all
Reply to author
Forward
0 new messages