AntiMicroX / AntiMicroX/antimicrox
AntiMicroX does not minimize/start to system tray on Linux Mint Cinnamon
- 主要语言
- C++
- 星标
- 4k
- 派生
- 249
- 平均合并
- 13 分钟
- 30 天内合并 PR
- 1
描述
### Current Behavior
AntiMicroX launches normally, but it refuses to minimize to the system tray.
I enabled the tray-related settings inside AntiMicroX, including the option to minimize/close to tray, but closing or minimizing the window does not send it to the tray. It stays as a visible normal window/taskbar application instead.
I also tested launching it from Startup Applications using:
```bash
/usr/bin/antimicrox --tray
```
AntiMicroX does start, but it still opens visibly instead of starting minimized to the tray.
I also tested:
```bash
/usr/bin/antimicrox --hidden --tray
```
On my system, that command did not launch AntiMicroX properly.
### Startup / Launch Commands Tried
I tried multiple startup commands and workarounds:
```bash
antimicrox %F
```
```bash
antimicrox --tray
```
```bash
/usr/bin/antimicrox --tray
```
```bash
/usr/bin/antimicrox --hidden --tray
```
```bash
/usr/bin/flatpak run io.github.antimicrox.antimicrox --tray
```
```bash
/usr/bin/flatpak run io.github.antimicrox.antimicrox --hidden --tray
```
```bash
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=antimicrox io.github.antimicrox.antimicrox --tray
```
I also checked the autostart `.desktop` file in:
```bash
~/.config/autostart/io.github.antimicrox.antimicrox.desktop
```
At one point it contained multiple `Exec=` lines, including:
```bash
Exec=/usr/bin/antimicrox --hidden --tray
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=antimicrox io.github.antimicrox.antimicrox --tray
```
I then replaced it with a clean autostart entry:
```ini
[Desktop Entry]
Type=Application
Name=AntiMicroX
Comment=Start AntiMicroX in tray
Exec=/usr/bin/antimicrox --tray
Terminal=false
X-GNOME-Autostart-enabled=true
```
I also tried external workarounds using `wmctrl` and `xdotool`, but the app itself still does not behave as expected with tray/minimize-to-tray enabled.
### System Information
* OS: Linux Mint 22.3 Cinnamon
* Desktop: Cinnamon
* Package type: APT/system package, not Flatpak
* Command tested: `/usr/bin/antimicrox --tray`
* Also tested: `/usr/bin/antimicrox --hidden --tray`
### Expected Behavior
AntiMicroX should launch minimized to the system tray when using `--tray`, or when the tray/minimize-to-tray option is enabled in the app settings.
Closing or minimizing AntiMicroX should also send it to the tray and keep controller mappings active in the background.
### Steps To Reproduce
1. Install AntiMicroX using the system package version.
2. Open AntiMicroX.
3. Enable tray/minimize-to-tray settings.
4. Add AntiMicroX to Startup Applications with:
```bash
/usr/bin/antimicrox --tray
```
5. Log out/in or manually launch the autostart entry.
6. AntiMicroX opens visibly instead of minimizing to tray.
### Environment
```markdown
Program Version 3.1.4
compiled from packaging: 3.1.4-2 (Ubuntu noble/amd64)
Built Against SDL 2.30.0
Running With SDL 2.30.0
Using Qt 5.15.13
Using Event Handler: XTest
```
### Anything else?
_No response_
贡献指南
评估
这个 Issue 还没有评估数据。