LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-12-2020, 02:35 PM   #16
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64

Quote:
Originally Posted by ondoho View Post
^ 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.
 
Old 08-13-2020, 07:18 AM   #17
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
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?

Thanks again
Alex
 
Old 08-13-2020, 11:41 AM   #18
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
Hmm... I'll install Ubuntu in a VM this afternoon. Oddly, I don't have one already installed. It's just 20.04 w/the default GNOME desktop environment?

Also, my bad. The last time I used Ubuntu, it had a very similar right click menu.
 
Old 08-13-2020, 03:24 PM   #19
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
Hmm... I'll install Ubuntu in a VM this afternoon. Oddly, I don't have one already installed. It's just 20.04 w/the default GNOME desktop environment?

Also, my bad. The last time I used Ubuntu, it had a very similar right click menu.
Yes, with GNOME Extensions and Tweaks.

What are you using now? What is LXQt?

Thanks
Alex

Last edited by alex4buba; 08-13-2020 at 03:27 PM.
 
Old 08-13-2020, 03:49 PM   #20
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
Ha!

It took hours, but I finally tried the easy way.

Code:
sudo apt install install pcmanfm
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!

Last edited by KGIII; 08-13-2020 at 03:54 PM.
 
Old 08-13-2020, 03:57 PM   #21
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
Ha!

It took hours, but I finally tried the easy way.

Code:
sudo apt install install pcmanfm
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?

Thanks
 
Old 08-13-2020, 04:01 PM   #22
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
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'.
 
Old 08-13-2020, 04:04 PM   #23
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
I tried in terminal, but command not found. In your command to install, the word install is twice, is that intended?
 
Old 08-13-2020, 04:12 PM   #24
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
Oh, shoot... Sorry. I typed install twice. The amusing thing is I proofread it before hitting the button to send it.

Code:
sudo apt install pcmanfm
There, that should do it.
 
Old 08-13-2020, 04:13 PM   #25
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
Oh, shoot... Sorry. I typed install twice. The amusing thing is I proofread it before hitting the button to send it.

Code:
sudo apt install pcmanfm
There, that should do it.
OK, I did that, at the end of the installation it comes up with this

alex@alex-NUC8i7HNK:~$ pcmanfm
Gtk-Message: 07:10:04.538: Failed to load module "canberra-gtk-module"
** Message: 07:10:04.553: x-terminal-emulator has very limited support, consider choose another terminal

(pcmanfm:11159): Gdk-WARNING **: 07:10:04.637: gdk_window_set_icon_list: icons too large
 
Old 08-13-2020, 05:16 PM   #26
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
PCManFM doesn't show up in your installed applications? It won't start from the terminal?

This is quick and dirty...

Install PCManFM. (Use lowercase letters.)
https://pix.toile-libre.org/upload/o...1597361079.png

You can start it here:
http://pix.toile-libre.org/upload/or...1597361143.png

With PCManFM running, navigate to your saved files and right click on one of them:
http://pix.toile-libre.org/upload/or...1597361303.png

Set the default application to handle that file type:
http://pix.toile-libre.org/upload/or...1597361351.png

You can verify this is now complete by right clicking on the file and selecting properties:
http://pix.toile-libre.org/upload/or...1597361391.png


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.
 
Old 08-13-2020, 05:27 PM   #27
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
PCManFM doesn't show up in your installed applications? It won't start from the terminal?

This is quick and dirty...

Install PCManFM. (Use lowercase letters.)
https://pix.toile-libre.org/upload/o...1597361079.png

You can start it here:
http://pix.toile-libre.org/upload/or...1597361143.png

With PCManFM running, navigate to your saved files and right click on one of them:
http://pix.toile-libre.org/upload/or...1597361303.png

Set the default application to handle that file type:
http://pix.toile-libre.org/upload/or...1597361351.png

You can verify this is now complete by right clicking on the file and selecting properties:
http://pix.toile-libre.org/upload/or...1597361391.png


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....

Why?

Many thanks again, stay safe in Main...
Alex
 
Old 08-13-2020, 05:35 PM   #28
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
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.
 
Old 08-13-2020, 05:38 PM   #29
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KGIII View Post
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?

Cheers
 
Old 08-13-2020, 05:51 PM   #30
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158
Blog Entries: 6

Rep: Reputation: 64
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.
 
  


Reply

Tags
file association



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file association for wifi internet connection to error "interface down" (ubuntu 4.4.0+xfce dsktp env) win 7 non-genuine grubmember Dun El Linux - Newbie 21 10-13-2016 11:24 AM
file association for an odd file type? lleb Linux - Desktop 8 10-14-2015 06:48 PM
"Open With..." File Type Association??? Calum Linux - Newbie 10 01-28-2005 04:43 PM
AVI file association missing jang Linux - General 3 11-08-2002 05:48 AM
Permissions? File Association? Brick Wall Syndrome! Calum Linux - Newbie 2 03-15-2002 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration