oguzhaninan / Stacer

Linux System Optimizer and Monitoring - https://oguzhaninan.github.io/Stacer-Web
GNU General Public License v3.0
8.82k stars 600 forks source link

Cant close Stacer after clicking Ctrl + Q on Ubuntu #509

Open joerude opened 1 year ago

joerude commented 1 year ago

Ubuntu 22.04 LTS Kernel Release: 5.15.0-47-generic

Program is not responding to ctrl+q command, nothing happens.

alexmyczko commented 1 year ago

It's not listening for ctrl-q, so, does it work anywhere else (ctrl-q on another machine not being ubuntu)?

amiga-500 commented 1 year ago

As far as i know CTRLQ is not being listened to because CTRLQ is not a commonly known way to quit apps, which is why Stacer is unaware. ALTF4, on the other hand, is he universal way to quit (almost) any app on Ubuntu (cloned from Windows PCs method), which Stacer will react to (quits self). I never even knew CTRLQ was even a thing on Ubuntu until u brought it up.

It would be fairly trivial to add a CTRLQ listener to Stacer tho. A few lines added to the source code and recompile. Shoudn't take more than a few minutes of your time, if u can code a lil bit in java. The author's steps to compile miss some critical steps. I wrote a step by step somewhere in this issues thing to save some headache.