Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 of 16 tasks
mapsedge opened this issue Dec 15, 2023 · 3 comments
Open
4 of 16 tasks

Comments

@mapsedge
Copy link

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

@josephj11
Copy link
Contributor

josephj11 commented Dec 16, 2023

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.

@josephj11 josephj11 added user interface Issues related to the user interface installation/configuration labels Dec 16, 2023
@mapsedge
Copy link
Author

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.

@josephj11
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants