mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 06:06:07 -06:00
[GH-ISSUE #259] Feature: Add Save config from GTK frontend #128
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markmandel on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/259
Just a nice to have feature, especially for those people who aren't as comfortable writing config files.
Once you have a config working in the GTK application, have a "save" or "export" button to save that to the appropriate place locally (
$XDG_CONFIG_HOME/lan-mouse/config.tomlsince I'm on Linux).Makes it easy to experiment with the gtk frontend first, get everything working, and then persist it for future sessions without having to type it all out.
@feschber commented on GitHub (Feb 12, 2025):
Yeah I have already started to work on this because the encryption stuff is fairly unusable otherwise.
@feschber commented on GitHub (Feb 7, 2026):
I've now opted to autosave upon configuration changes with #345.
For now, this will override the config file each time, however my plan going forward is to make it so that clients configured through the config file are permanent / immutable, while clients configured through the UI / frontend are saved to
$XDG_DATA_HOMEinstead.@myInstagramAlternative commented on GitHub (Feb 8, 2026):
Hey @feschber, thanks for the app. I was able to build dev (from source) on MacOs (arm) and on Asahi Fedora Hyprland(aarm64). CMD, option and control passtrough work from MacOS to Hyprland.
I don't want to open new issue for this, since there is probably a duplicate somewhere or you are well aware of this - I just want to point out that application crashes when I try to add connection or authorize incoming connection if ~/.config/lan-mouse/config.toml is not present.
thread 'main' (33668) panicked at src/config.rs:438:14:
config
note: run with
RUST_BACKTRACE=1environment variable to display a backtrace@feschber commented on GitHub (Feb 8, 2026):
@myInstagramAlternative thanks for letting me know, should be fixed!