xdg-open

I have only just become aware that I have a /usr/bin/xdg-open.

I don't where it came from but I've just found that if I'm using dired in doom emacs and press '!' I get a prompt for which command I want to run on the current file.

I must have set something up a while ago but don't remember. Is there some sort of config file? I can't find one.


That should have been

/usr/local/bin/xdg-open.

Thanks to Zare for pointing it out. I just pasted in something from a Linux specific web page
 
This file has some reference to emacs being the default program for text files.

/root/.config/lxsession-default-apps/settings.conf
 
But ONLY , when you log in as root , and then only when you use lxde/lxqt as desktop manager. Otherwise config is not known.
I'm always root, I don't have any users.

lxde is my Window Manager.

How do the values get set? Is there a configuration editor?
 
I'm always root, I don't have any users.

lxde is my Window Manager.

How do the values get set? Is there a configuration editor?
It's been a while since I've used lxde but there should be a configuration settings somewhere in the menu structure.
 
Is this the answer
Code:
Using the GUI 
[*]Open PCManFM and navigate to any file with the extension you want to change.
[*]Right-click the file and select Properties.
[*]Go to the Open With tab.
[*]Select your preferred application from the list.
[*]Note: If your app isn't listed, click the "Add" button to find it in the applications menu.
[*]Click the "Set as default" button (or "Make default").
 
I cannot believe that I have to convince you to act like a normal person. This is not something obscure.


Any JavaScript run as ROOT is a horrible idea. Browsers interpret JS. Ponder that.

Run as root and the browser has access to the entire system.

Browser here meaning ANY website you visit.

Any website you visit has access to your entire system. Yes a 'foothold' is needed but they are numerous. Deviants love web bugs.
What about zero click exploits. You'r screwed.
 
Last edited:
Back
Top