Skip to content
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

Remove spaces in startup .desktop file #468

Open
gudvinr opened this issue Mar 22, 2024 · 0 comments
Open

Remove spaces in startup .desktop file #468

gudvinr opened this issue Mar 22, 2024 · 0 comments

Comments

@gudvinr
Copy link

gudvinr commented Mar 22, 2024

Expected Behavior

.desktop file created by proton-bridge in .config/autostart/ should not contain space symbols.

Current Behavior

proton-bridge creates file named 'Proton Mail Bridge.desktop'.

Version Information

v3.9.1

Context (Environment)

In Linux, application startup done by placing .desktop files into .config/autostart/. proton-bridge does that too.

However, here and there different apps don't behave well when path to file contains whitespace symbols. While it isn't an issue with an app itself, that still creates issues that might affect users unexpectedly.

For example, I recently found an issue in Plasma which can be fixed by just renaming .desktop file.

Problem is, proton-bridge re-creates its desktop file on each startup, if not present. So you can't have both "Open on startup" enabled and working KCM.

Possible Implementation

This should be pretty simple.
Instead of Proton Mail Bridge.desktop file could be named proton-bridge.desktop, for example.

In fact, .desktop file in dist/ folder already named exactly like that. So, this also adds consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant