-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A --config option #510
Comments
The main issue I see is that Touché and GNOME Shell X11Gestures won't know which config should they use. Also, how are you going to launch Touchégg on startup? Because the .desktop file path (usually /etc/xdg/autostart) is also common to all DE/WMs. |
I don't think it's an issue if Touche and GNOME Shell X11Gestures don't work with any config other than the default. They could use it to their advantage though, creating a separate config (e.g. Right now I mostly use a WM, which starts touchegg via shell command, so no desktop file required. Of course that only goes for customized WMs. For DEs (in my case Cinnamon) it's fine just to create your own desktop file if required. It's not hard to do and I also have created other desktop files for other personal scripts or daemons, etc. AFAIK most of the DEs support putting your own desktop files in EDIT: I think you can also disable autostart desktop files in some DEs, so that way you can disable the default config... |
Yes, the issue is that, if you use 2 DEs, both of them will look into those folders and My point is, if you are already using a shell command to start Touchégg, why not creating a symbolic link so I believe it won't make a huge difference on your side and the script should be pretty simple to put together. Let me know if that works for you. |
For my use case specifically it definitely makes sense, cause in my cases I am switching between DE and WM with one using a desktop file and one running from command line. Also having a script that symlinks the Most other programs and daemons have that option even though they provide a desktop file. I agree, that it still might not work perfect with multiple DEs, because they depend on desktop files, but at least for window managers it is really a nice feature. Anyway - I see why it might not be that easy to integrate into your argParser. I assume you do this as a private side-project, so I can understand, why you wouldn't want to waste too much time on a feature like this. I am unfortunately completely unfamiliar with CPP, but maybe I'll try anyways. Maybe you can keep the issue open as low-priority or backlog or something... |
I really second that request. Regarding configuration GUIs not beeing able to know which config file to use: You could just have an "open" dialogue, where you select the file, and have a default preset. Regarding
That i would really like, because for now, it is really annoying that |
It would be really nice to have a
--config
option to specify configurations located somewhere else than the default config file. My personal use case for this would be different configs for different DEs/WMs on a single machine, but I can imagine there are lots of other use cases like testing etc.Here is an example:
Let me know what you think of it...
The text was updated successfully, but these errors were encountered: