My system is Debian 12.8 with MATE 1.26.0
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask" indicating
system isn't getting that far.
I used to know what to do ;<
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask"
indicating system isn't getting that far.
I used to know what to do ;<
Help please.
Sent: Saturday, March 08, 2025 at 8:41 AM
From: "Richard Owlett" <rowlett@access.net>
To: "debian-user" <debian-user@lists.debian.org>
Subject: How to associate a file extension with preferred executable
My system is Debian 12.8 with MATE 1.26.0
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask" indicating
system isn't getting that far.
I used to know what to do ;<
Help please.
Unix doesn't use or have file extensions. That is a microsoft thing. Filenames in Unix are 255 chars longs and no character is significant.
On 08.03.2025 14:50 Uhr Richard Owlett wrote:
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask"
indicating system isn't getting that far.
I used to know what to do ;<
Help please.
xdg-mime query default application/pdf
Check what is set here.
Change it if needed:
xdg-mime default xpdf.desktop application/pdf
richard@debian12:~$ xdg-mime query default application/pdf
l3afpad.desktop
richard@debian12:~$
Hi Richard,
I haven't used the MATE desktop environment, but I guess it also has this:
1. Right click on a PDF file, in the pop-up right-click menu, chooss 'open this file with ...'
2. In the then-popped-up dialog asking which program to be used to open this PDF file, select the program desired, then tick on the 'set this as default' checkbox, usually located at the bottom of the dialog.
I've used this method to set default programs, the key is that ticking on the 'set this as default' checkbox.
However, since I've not used the MATE desktop environment, there might not be this thing - but it probably has.
Besides, in my memory this kind of default-program setting should be handled by xdg-open? Maybe checking 'man xdg-open' would suggest the location of the configuration file.
Hope you could find a solution soon,
Miriami
On Sat, Mar 08, 2025 at 07:41:37AM -0600, Richard Owlett wrote:
My system is Debian 12.8 with MATE 1.26.0
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask" indicating
system isn't getting that far.
You didn't tell us, but I read between the lines that you are
editing your browser's preferences.
Now the browser wants you
(very badly) to believe that it IS the world -- and seems to
be succeeding, alas. But it isn't
You want to tweak your desktop environment's preferences. Now
I'm the wrong people to ask about DEs, because I try to avoid
them, but I've been told that you can...
- right click on your PDF [1]
- in the context menu chose "open with"
- select your favourite application, BUT
- somewhere on that way you'll get a choice to
"always open this kind of file with...": select that.
I used to know what to do ;<
That's why I hate DEs. They subtly sabotage one's ability to
learn.
HTH
[1] Of course you can't "click" on a "PDF". You click on that
funny pic pretending to represent that PDF. Or something.
I hope you know what I mean.
As I've never seen xdg-mime before it is not the tool I'm looking for.
For the record it responds:
richard@debian12:~$ xdg-mime query default application/pdf
l3afpad.desktop
richard@debian12:~$
My system is Debian 12.8 with MATE 1.26.0^
It used to be that clicking on a PDF opened it with Atril.
I don't know what *I DID*, but it now opens with L3afpad.
I assumed that Edit Preferences was the place to go.
But under Browser->Helper Applications it says "always ask" indicating
system isn't getting that far.
I used to know what to do ;<
Help please.
richard@debian12:~$ xdg-mime query default application/pdf
atril.desktop
richard@debian12:~$
Before today I never heard of anything beginning with "xdg".
I'm looking for the specific MATE tool. ;}
I do not believe using xdg-mime is a *legitimate" technique in this
instance. It wasn't used to *cause* the problem. It *shouldn't* be used to supposedly "solve" the problem.
I spent over twenty years in QA/QC (even if hardware not software).
That gives a certain mindset.
Suggestions please.
On 3/8/25 8:07 AM, Miriami wrote:
Hi Richard,
I haven't used the MATE desktop environment, but I guess it also
has this: 1. Right click on a PDF file, in the pop-up right-click
menu, chooss 'open this file with ...' 2. In the then-popped-up
dialog asking which program to be used to open this PDF file,
select the program desired, then tick on the 'set this as default' checkbox, usually located at the bottom of the dialog.
I've used this method to set default programs, the key is that
ticking on the 'set this as default' checkbox. However, since I've
not used the MATE desktop environment, there might not be this
thing - but it probably has.
The above applies *if* the association has not been previously set ;/
My system is Debian 12.8 with MATE 1.26.0
It used to be that clicking on a PDF opened it with Atril.
Richard Owlett wrote:
My system is Debian 12.8 with MATE 1.26.0
It used to be that clicking on a PDF opened it with Atril.
I can suggest a couple things to try, either of which should get you
back to using Atril.
1. Open the MATE Control Center, click on "Preferred Applications" (in
the "Personal" section). In the window that appears, click on the
"Office" tab. Set "Document Viewer" to Atril.
2. In Caja, right click on a PDF file. Click on "Properties". Click on
the "Open With" tab, select Atril.
I don't have any ideas for how you ended up with a different PDF viewer.
cheers,
mike
On 3/8/25 8:07 AM, Miriami wrote:
Hi Richard,
I haven't used the MATE desktop environment, but I guess it also
has this: 1. Right click on a PDF file, in the pop-up right-click
menu, chooss 'open this file with ...' 2. In the then-popped-up
dialog asking which program to be used to open this PDF file,
select the program desired, then tick on the 'set this as default' checkbox, usually located at the bottom of the dialog.
I've used this method to set default programs, the key is that
ticking on the 'set this as default' checkbox. However, since I've
not used the MATE desktop environment, there might not be this
thing - but it probably has.
The above applies *if* the association has not been previously set ;/
Besides, in my memory this kind of default-program setting should
be handled by xdg-open? Maybe checking 'man xdg-open' would suggest
the location of the configuration file.
Before today I never heard of anything beginning with "xdg".
I'm looking for the specific MATE tool. ;}
Hope you could find a solution soon,
Miriami
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 160:50:09 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,494 |