autokey / autokey

AutoKey, a desktop automation utility for Linux and X11.

Home Page:https://autokey.github.io/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autokey main window open at startup; "Show main window at startup" is unchecked.

mapsedge opened this issue · comments

commented

AutoKey is a Xorg application and will not function in a Wayland session. Do you use Xorg (X11) or Wayland?

Xorg

Has this issue already been reported?

  • I have searched through the existing issues.

Is this a question rather than an issue?

  • This is not a question.

What type of issue is this?

UI/Usability

Choose one or more terms that describe this issue:

  • autokey triggers
  • autokey-gtk
  • autokey-qt
  • beta
  • bug
  • critical
  • development
  • documentation
  • enhancement
  • installation/configuration
  • phrase expansion
  • scripting
  • technical debt
  • user interface

Other terms that describe this issue if not provided above:

No response

Which Linux distribution did you use?

Kubuntu 22.04, Plasma 5.24.7, although this has been an issue I've noticed since Kubuntu 20

Which AutoKey GUI did you use?

Qt

Which AutoKey version did you use?

0.96

How did you install AutoKey?

.deb package from github

Can you briefly describe the issue?

Autokey main window open at startup; "Show main window at startup" is unchecked.

Can the issue be reproduced?

None

What are the steps to reproduce the issue?

Restart PC. Log in. Hellooooooo Autokey!

What should have happened?

Autokey should have started in the background without displaying the interface.

What actually happened?

Autokey displayed the interface at startup.

Do you have screenshots?

No response

Can you provide the output of the AutoKey command?

No response

Anything else?

No response

commented

I'm assuming this only happens when you log in to your user account, not when you close the AutoKey application (not just the menu window) and then restart it.

I'm running Kubuntu 22.04 and do not have this problem.

We have to find the command that is starting AutoKey when you log in.

Take a look in $HOME/.config/autostart and in $HOME/.config/autostart-scripts and see if there's a script that invokes AutoKey. If there is and the command has the -c or --configure flag specified, remove that flag.

If you have the AutoKey menu window open when you log out, KDE might see it and add it to its session restore information if you have your DTE set to restore the previous session upon login.

I don't immediately see where that setting is stored. If the above doesn't fix it, this will require some more research.

commented

You are correct, this is only when logging into my user account. My desktop starts fresh, no restoring of the session.

There is an autokey.desktop in autostart, but the exec line doesn't have the configure flag.

commented

The only other workaround I can think of would be to remove/rename that .desktop file and add your own startup script for AutoKey and see if that helps.

First, just remove/rename it just in case AutoKey is getting started by something somewhere else. If AutoKey still starts, we'll have to find out what's doing it.