feat: add linux platform support#31
Conversation
e3a91e9 to
676b198
Compare
676b198 to
a13c0cb
Compare
simplescreenrecorder-2026-01-06_19.06.15.mp4LGTM on Plasma 6/Linux, X11 |
|
Thank you very much for your contribution! Could you further improve the activation and hiding of the window? |
611213f to
680fa06
Compare
|
It's not working correctly now:
|
680fa06 to
d9be222
Compare
…mal` It seems that in Linux/KDE/X11, ropy will put the window on top by default, but I've found that it seems to be possible not to do so by setting the window mode to `Normal`, so I'll use that as a workaround for now.
618ed7e to
958d91b
Compare
|
Some preliminary workaround issues were identified: simplescreenrecorder-2026-01-07_18.36.08.mp4 |
958d91b to
b7ea3f4
Compare
29cb329 to
663bab6
Compare
|
LGTM tray icon: simplescreenrecorder-2026-01-08_15.51.18.mp4 |
4ec5951 to
2bbcc92
Compare
629d912 to
1335071
Compare
|
LGTM: simplescreenrecorder-2026-01-08_16.48.05.mp4 |
9c2f972 to
31f32fb
Compare
f5a2bc4 to
d2e21d0
Compare
d2e21d0 to
2ba49f7
Compare
src/gui/tray.rs
Outdated
| }); | ||
| } | ||
|
|
||
| thread::spawn(move || { |
There was a problem hiding this comment.
Why need to migrate this part? :)
There was a problem hiding this comment.
The purpose of using another thread inside start_tray_handler_inner is to keep it from blocking gtk::main.
There was a problem hiding this comment.
In Linux, tray-icon crate requires some additional operations to load the tray, see https://github.com/tauri-apps/tray-icon/blob/dev/examples/egui.rs#L17 for details, and gtk::main requires blocking the entire thread, so you need to put the tray operations in another thread
There was a problem hiding this comment.
Can we use a GPUI's background task to do this?
There was a problem hiding this comment.
Can we use a GPUI's background task to do this?
Done
|
Great job, thanks! |
|
Closes #10 |

No description provided.