bitwarden-autotype icon indicating copy to clipboard operation
bitwarden-autotype copied to clipboard

Linux support

Open jmattheis opened this issue 2 years ago • 2 comments

It would be great if this tool could be supported on linux systems. This would probably require a rewrite of the gui part to use some kind of abstraction that supports linux / windows.

jmattheis avatar Aug 05 '21 20:08 jmattheis

The GUI part itself is using FLTK, which is cross platform. The big tickets are

  1. The system tray code. I'm not aware of any linux-specific crate that could make this happen, safe for massive frameworks a la GTK or Qt.
  2. The autotype code. I've tried repeatedly to make this work on X11, but couldn't manage it. That being said, there are crates for it, so it might be possible, or might have been possible at some point.

MCOfficer avatar Aug 05 '21 20:08 MCOfficer

you might have a look at https://github.com/tauri-apps/tauri - its like electron just ... in rust and alot smaller footprint. Brings Traybar support across linux, mac and windows. There is also a nice keyboard crate for crossplatform (well linux x11)

Edit: Tauri uses WebView2 wich is a required external dependency (aka needs to be installed on the system), but it will be part of windows 11. Otherwise its ~70meg download

ruohki avatar Aug 07 '21 13:08 ruohki