Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
^ Fine, fine.
Which DE are you using?
This seems to be one of the cases where GNOME deliberately restricts configurability.
Lubuntu, so LXDE. As near as I recall, Gnome and Unity have similar right-click menus for unknown filetypes.
I'm staunchly refusing to go to LXQt, so I'm still on 18.04 LTS. I really prefer LXDE. I'd probably have not minded going to LXQt, but the Lubuntu devs made 19.10 and 20.04 act more like beta OSes than ones meant for daily use. So, I'm pretty soured on LXQt.
Enough ranting...
I went through the effort to install their desired application. I'm not sure who authored it, but they dump pretty much everything into an /opt folder. I could have sworn that folder was for administration purposes - for use by local admins. I have no idea why they'd put it there. They don't even put anything into one of the /bin folders, so starting it from the terminal is a pain in the butt. I'm not sure what they were thinking.
It's just a WYSIWYG HTML editor, so I also told 'em how to uninstall it. My favorite HTML editor is a plain text editor, but that's just me.
Lubuntu, so LXDE. As near as I recall, Gnome and Unity have similar right-click menus for unknown filetypes.
I'm staunchly refusing to go to LXQt, so I'm still on 18.04 LTS. I really prefer LXDE. I'd probably have not minded going to LXQt, but the Lubuntu devs made 19.10 and 20.04 act more like beta OSes than ones meant for daily use. So, I'm pretty soured on LXQt.
Enough ranting...
I went through the effort to install their desired application. I'm not sure who authored it, but they dump pretty much everything into an /opt folder. I could have sworn that folder was for administration purposes - for use by local admins. I have no idea why they'd put it there. They don't even put anything into one of the /bin folders, so starting it from the terminal is a pain in the butt. I'm not sure what they were thinking.
It's just a WYSIWYG HTML editor, so I also told 'em how to uninstall it. My favorite HTML editor is a plain text editor, but that's just me.
Well KGIII
My dialog for "Open with" looks nothing like what you show in the attached image, How did you get this
What UI are you using, mine is just GENOME
Maybe I can add something so that I get those options, what?
Sheesh... I so should have thought of that before.
Anyhow, open PCManFM and the right-click menu (on one of the saved files) is exactly what you're looking for AND it is tested to work here in an Ubuntu VM. Once you're done, I assume you can purge PCManFM. I did not actually test that.
Hold on...
(I'm testing that... By the way, this is the worst kludge I've ever written! I'm kinda pleased with that.)
Yup, you can purge PCManFM when you're done with it and the file association remains.
I have no idea why I didn't try that sooner. I have no idea why someone smarter than I am didn't come up with it faster. Either way, it works!
Sheesh... I so should have thought of that before.
Anyhow, open PCManFM and the right-click menu (on one of the saved files) is exactly what you're looking for AND it is tested to work here in an Ubuntu VM. Once you're done, I assume you can purge PCManFM. I did not actually test that.
Hold on...
(I'm testing that... By the way, this is the worst kludge I've ever written! I'm kinda pleased with that.)
Yup, you can purge PCManFM when you're done with it and the file association remains.
I have no idea why I didn't try that sooner. I have no idea why someone smarter than I am didn't come up with it faster. Either way, it works!
OK, installed it - but see no way how to start it? Tried Activities, it doesn't come up?
When you click the weird application menu icon, there's the ability to search and that should lead you there.
If not, just crack open a terminal and type 'pcmanfm' and press enter.
When I installed it in the VM, I was able to open the applications menu (the one at the bottom right) and search for 'pcf' and it popped up before I needed to type more. Either way, it should run just fine from the terminal with 'pcmanfm'.
If this does NOT work for you, you have somehow altered your settings in ways that I do not know. I am able to do/undo this over and over again with Ubuntu 20.04.1 LTS with the default DE being GNOME. Those pictures show you how to do it and that, once done, that it works.
If this does NOT work for you, you have somehow altered your settings in ways that I do not know. I am able to do/undo this over and over again with Ubuntu 20.04.1 LTS with the default DE being GNOME. Those pictures show you how to do it and that, once done, that it works.
I looked up in the English dictionary, only one word describes my thanks to you Supercalifregelistic
Just wonder, when a file association is made, the blank icon of that file turns into showing the same as the application in use, but it seems not in this case....
LOL It FINALLY worked? I'm not complaining 'cause it was fun, but that took hours to find and then explain.
If so, please change it to solved - it's in the upper right somewhere - but not all the way into the sidebar. (I forgot the exact location, but it's up there somewhere.)
Now, as for icons...
I'd use the default, right click, properties, and then there's the icon up in the upper left. If you click that, you can then browse for an icon. That's one action that's probably easier in the default file manager. I haven't checked, but I assume changing it on one icon will change it for all other icons with that file extension.
LOL It FINALLY worked? I'm not complaining 'cause it was fun, but that took hours to find and then explain.
If so, please change it to solved - it's in the upper right somewhere - but not all the way into the sidebar. (I forgot the exact location, but it's up there somewhere.)
Now, as for icons...
I'd use the default, right click, properties, and then there's the icon up in the upper left. If you click that, you can then browse for an icon. That's one action that's probably easier in the default file manager. I haven't checked, but I assume changing it on one icon will change it for all other icons with that file extension.
Not closed yet - when I click the icon for the file, it opens the app itself, on a blank screen, NOT on the specific file I clicked on. Any suggestion?
LOL Darn it! I just checked and it doesn't open the right one.
I've thrown a bunch of hours at this today - so I'm gonna let my head refresh with distractions.
I'll poke at it again tomorrow. I'm not sure if that's something we can actually change. I think, and don't quote me on this until tomorrow, that might be done programatically and we might not be able to change that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.