Is there a window rule for ‘close’ to be applied when an application starts, instead of ‘Minimized’?

Why would anyone want to close an application at launch? Well, the appimage for Viber doesn’t let you set Minimize to Tray at start-up. So, for now I use a window rule to minimize the window at least. ‘Close’ would send it to the tray, but I can’t find such a rule.

  • Stopwatch1986@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 days ago

    I am on Debian 13 KDE Plasma with Wayland. I tried kdotool as @Erwan suggests but as expected xprop doesn’t return anything. Apparently, I will also have to use kwindowprop which will take a while to appear on Debian Stable.

    There used to be a thing in KDE where you could execute actions and macros based on window titles

    Now, that would be nice but unless there is another way it looks like I will have to wait.

    Thanks for the help.