Hi-
I’m trying to start two AppImages minimized at the start of a session. One app is Filen, the other is Station.
I’ve tried following the examples given elsewhere in the forum, using either window rules or editing the autostart properties, and neither has worked.
Running Aurora (fedora42) with Wayland. Please let me know if further info is needed.
Thanks.
if the appimage command line supports starting in minimized mode, you can simply add that command line argument to the desktop file by going to the applications menu and choosing edit applications from the context menu.
under the item for the application you will find a “command line arguments” field where you can enter the argument for starting the appimage in minimized state, “–minimized” say.
your autostart entries have their own command line arguments field in case you want to put it there too.
if you appimage does not offer a command line argument for starting minimized then you will have to resort to kwin scripts or something else to manage it.
Thanks, both appimages have command line arguments
Filen and Station both have --no-sandbox %U present
I tried adding --minimized after the %U, didn’t seem to work.
I’m not to good on syntax, can you advice what the command line should look like, and I’ll try it again?
I see the same entry area (called Arguments) on the Application tab of the Properties window in Autostart settings. Is this redundant? Is one place preferable to another?
Also, I’m testing by logging out of my session and back in. Should I be doing a complete restart?
Later that day…
Seems to be limited to the Filen AppImage. I was able to use Window Rules sucessfully on Station as well as Vorta. I’ll send of a request to Filen support for clarification.
from the command line i usally just use the --help option which seems pretty universal… for example
plasma-discover --help
gives
Usage: plasma-discover [options] urls
An application explorer
Options:
--application <name> Directly open the specified application by its
appstream:// URI.
--mime <name> Open with a search for programs that can deal
with the given mimetype.
--category <name> Display a list of entries with a category.
--mode <name> Open Discover in a said mode. Modes correspond to
the toolbar buttons.
--listmodes List all the available modes.
--compact <mode> Compact Mode (auto/compact/full).
--local-filename <package> Local package file to install
--listbackends List all the available backends.
--search <text> Search string.
--feedback Lists the available options for user feedback
--test <file.qml> Test file
--backends <names> List all the backends we'll want to have loaded,
separated by comma ','.
-h, --help Displays help on commandline options.
--help-all Displays help including Qt specific options.
-v, --version Displays version information.
--author Show author information.
--license Show license information.
--desktopfile <file name> The base file name of the desktop entry for this
application.
Arguments:
urls Supports appstream: url scheme
notice it does not offer a --minimized option so it would not work.
if you wanted to script a solution, perhaps this might help
https://askubuntu.com/questions/663187/how-can-i-run-a-program-on-startup-minimized