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

use xdg-open for default browser and file explorer in config.ron #189

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

wash2
Copy link
Contributor

@wash2 wash2 commented Oct 4, 2023

I guess we need another method for the default terminal. Maybe something like i3-reasonable-terminal or x-terminal-emulator.

@jackpot51
Copy link
Member

jackpot51 commented Oct 4, 2023

On debian, at least, x-terminal-emulator is supposed to mark the system's preferred terminal. www-browser is the same for the web browser.

@wash2
Copy link
Contributor Author

wash2 commented Oct 4, 2023

On debian, at least, x-terminal-emulator is supposed to mark the system's preferred terminal. www-browser is the same for the web browser.

Weirdly, I had to manually add firefox as an alternative using update-alternatives for x-www-browser to open it, while chrome and firefox-trunk were already added by default (chrome with the highest priority). But ya, I was avoiding adding x-terminal-emulator or x-www-browser because they may not work on non-debian distributions.

@Drakulix Drakulix merged commit 76c9972 into master_jammy Oct 5, 2023
1 check passed
@hojjatabdollahi
Copy link

Just noticed that pressing Super+f (or running xdg-open ~) opens RawTherapee instead of Nautilus on my system. The Default Applications in Gnome Control Center doesn't have an option to change the default file browser, we should make sure that cosmic-settings has that option.

The fix was easy though.

$ xdg-mime query default inode/directory
com.rawtherapee.RawTherapee.desktop
$ xdg-mime default org.gnome.Nautilus.desktop inode/directory

@jackpot51 jackpot51 deleted the config-defaults_jammy branch October 6, 2023 22:16
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

Successfully merging this pull request may close these issues.

4 participants