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.
 
This file has some reference to emacs being the default program for text files.

/root/.config/lxsession-default-apps/settings.conf
 
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").
 
Running a Web Browser as root user is probably the greatest inflection point. Do you realize what a web browser can do? Now give it unlimited root access to your system...
 
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.
 
Back
Top