One PDF, three different decisions

Suppose you have a file called Household Schedule.pdf in your Documents folder. Right now, you want to know whether Saturday pickup is at ten or eleven. Later, you might want to search the whole schedule for a street name. And if a different PDF viewer makes that recurring task easier, you might want it to open PDFs from now on. Those are three different goals. You can check a time without settling on a viewer, and you can try a viewer without changing what happens the next time you open a PDF.

Behind those choices are three decisions that are easy to collapse into one. First, the desktop identifies the kind of file it thinks it is dealing with. Second, an opening action sends the file to an application, whether you pick that application or let the desktop use its ordinary choice. Third, the application determines what it can display and what you can do with this particular document. The app's name does not tell you how the file was identified, and the fact that the desktop recognized a PDF does not tell you whether a viewer can find the words printed on page two.

The freedesktop.org specifications put file identification and application preference in separate systems. The Shared MIME-info specification describes how a desktop can use clues such as filename patterns and recognizable parts of the file's contents to identify a type. The MIME applications specification describes how a desktop can find applications associated with that type and resolve a default. In the schedule example, identifying the file as a PDF gives the desktop a type to work with; it does not tell the desktop that you prefer one PDF viewer over another. Changing your preferred viewer addresses the second decision without revising the first or changing the document itself.

If Saturday's time is clearly visible in a preview, that's enough for the immediate job. GNOME Help describes a preview that can be shown for a selected file on installations that provide the feature. Using it is a way to look at the schedule, not a vote for whichever application should receive PDFs in the future. If the time is in a cramped footnote or you need to search for a street name, a full viewer is a better fit. That does not make the preview a failed attempt to open the document. It was a quicker way to answer a narrower question.

Now imagine that the normal viewer displays the schedule, but you want to try another viewer's search controls. GNOME Help distinguishes opening a file in another application from setting a new default. A one-time Open With choice lets you compare the two viewers on the same document without committing to either as your regular choice. Try a phrase you can already see on the page. If the viewer finds it, you have evidence that search works for that phrase in this copy. If it does not, the missed match alone does not tell you why, and it does not establish that the desktop sent the file to the wrong application.

For the default decision, bring in a second file, such as a PDF with the neighborhood recycling calendar. It's unrelated to the household schedule, but if the desktop treats both as the same type, a default change for that type can affect ordinary opening for both. That is the practical difference in scope: the schedule is the file you happened to use when you made the change, not the only file the preference describes. If you like the alternate viewer for the schedule but would rather keep the existing viewer for most PDFs, a one-time choice serves that purpose better. If you want the alternate for both, opening the recycling calendar normally gives you a check beyond the file you used to make the change.

Pay attention to what counts as success at each step. A viewer window appearing tells you which app is on screen. It may already have been running, and the window alone doesn't show that it opened the intended file. Seeing the expected first page establishes that the viewer displayed that page, not that every page is intact or that the document is the revision you wanted. Okular's handbook, for example, documents a Find command, but the presence of that command in a viewer doesn't make every page searchable. And neither opening the viewer nor displaying the schedule converts the original to another format. Those observations are useful precisely because they answer smaller questions.

If both viewers show the pickup time and only one helps you find the later mention of a street name, you have a reason to choose that viewer for similar searches. Whether to make it the default depends on how often you need that behavior across PDFs, not on which app happened to win this one comparison. The useful test is the task you expect to repeat, on the kinds of documents you actually keep.

Sources for this section: Open files with other applications; Preview files and folders; Shared MIME-info Database; Association between MIME types and applications; The Edit Menu; Gio.Application.

Inspect the selected file before opening it

Imagine finding two copies of a family schedule in the same folder: Household Schedule.pdf and Household Schedule (1).pdf. You remember saving a revision with a changed pickup location, but not which name it landed under. Before opening either, make sure the details you are reading belong to the file you think they do. This matters when the names differ by only a few characters, and especially when a file manager can display information about an item other than the one you last selected.

In GNOME Files, select one schedule and press Alt+Enter to open Properties. You can also use Properties from the file's context menu. Check the name in the dialog before taking note of the other details. Close it and repeat for the second file so you are comparing two individual entries rather than the combined properties of a selection. In KDE's Dolphin, you can use the Information panel instead. The Dolphin Handbook says the panel can describe the selection, the current folder or an item under the pointer. If you selected the first schedule and then moved the pointer across the second, check the panel's name before attributing what it shows to either copy. If it is describing the folder, its details aren't observations about either schedule.

Start with the visible filename. The parenthesized number makes it possible to distinguish which item you selected or which name to look for when you come back to the folder. It does not tell you who made that copy, why it was named that way or whether the revised location is inside it. A filename is also useful when you have an independent clue, such as a note telling you to look for a file named Saturday Schedule. Without that clue, a name that looks more deliberate or more recent isn't a reliable substitute for looking at the document.

Next, check the friendly type label. If both items are described as PDF documents, that tells you what kind of document the desktop reports for each. That can be useful for deciding which tool to try next, but the type label makes a much broader distinction than the one you care about. Two different revisions can have the same label, and a PDF label doesn't verify that a document contains the schedule you expect or that all its pages will display. If the type descriptions differ despite the similar names, note which label belongs to which file rather than treating the names as proof that both items are interchangeable.

Size gives you a separate comparison. Suppose one copy is shown as roughly 52 KB and the other as roughly 300 KB. That difference can help you recognize the items again and tells you they are not the same length, but it doesn't tell you whether the extra material is a map, a different page, or simply a different way the document was saved. If both show the same size, the reverse inference is just as unreliable. A displayed size may be rounded, and even an exact byte count measures length, not the bytes themselves. Two schedules can occupy the same number of bytes and give different pickup locations.

The modification date can help you decide where to look first. If you remember making the change on Tuesday afternoon and one file's displayed modification time is close to that, you have a reason to inspect it first. But the date is a property of this file, not an editorial label saying that the schedule inside is current. An older schedule could have been saved again after the revision was finished. Conversely, if the actual revision is the one with the earlier timestamp, picking by date alone would take you to the wrong location. Compare against whatever you know about when the meaningful change happened rather than assuming the latest timestamp settles it.

Sometimes those clues point in different directions. Say Household Schedule (1).pdf has Tuesday's timestamp, while Household Schedule.pdf is the larger file. If your only known revision was a one-line location change, the larger size has little bearing on the question. The Tuesday timestamp gives you a concrete reason to look at the numbered copy first, though not to trust it sight unseen. If you instead remember receiving a revised schedule with an added map, the larger copy might be your first candidate, but the size still can't tell you whether that map is there. Here the useful comparison is between the clue and what you remember changing, not between the numbers in isolation.

Choose the copy to preview based on the strongest clue you actually have. For the Tuesday edit, start with Household Schedule (1).pdf and look for the pickup entry, not just the familiar title at the top. If the location isn't visible or it turns out to be the old one, inspect the other copy. At this point the properties have done their job: they helped you tell the files apart and choose an order in which to look. They haven't supplied a reason to discard either schedule.

Sources for this section: Panels.

A thumbnail, a preview and an open window are not the same thing

Suppose your folder contains a map of a park and two versions of a meeting handout. For the map, you may only need to tell whether the image shows the picnic area or the parking entrance. For the handout, the question might be which version adds an agenda item at the bottom of page two. A thumbnail can settle the first question if the two places have distinctive shapes and markings. It is much less likely to settle the second. The distinction is about what part of the contents you need to see, not simply how many times you are willing to click.

The Dolphin Handbook describes a Show Previews option that lets supported items use icons derived from their contents. In a folder of images, the map's thumbnail might show a loop of blue water or a broad green field that you can recognize at a glance. An ordinary icon for an image file identifies a kind of item rather than depicting that park. Neither kind of icon tells you which full application will open the file. The useful thing about the thumbnail is that you can compare several items in the same view without leaving the folder. The cost is that a label like “North entrance” may be too small to read, even when the rest of the map looks unmistakable.

Dolphin's Information panel gives you another way to look. The handbook describes a larger preview there, which can be enough to distinguish a map with a marked meeting point from a similar map without one. Check that the panel is describing the intended image before relying on what it shows. The larger view is valuable when you have narrowed your choice to one or two files and need a better look, not when you need to compare the layout of every image in the folder at once. If you can see the meeting-point marker but cannot read the street label beside it, those are two different results. Open the image in an ordinary viewer to read the label rather than guessing from the shape of the letters.

In GNOME Files, GNOME Help describes a different preview interaction: with a file selected, press Space to show a preview, and press Space again to dismiss it. That gives you room to inspect one item without opening it in the normal viewer. Where the feature is available and the format is supported, it can show documents as well as images and can allow scrolling through a document. For the meeting handout, try the preview if you expect to identify the version by a large heading or a changed first-page layout. If the preview lets you reach page two and the added agenda item is readable there, you already have the answer you came for.

Now suppose both handouts have the same cover heading, and the changed item is six lines down a dense page. A recognizable first-page preview doesn't distinguish them. A scrollable preview may still be enough if you know exactly where to look. But if you only remember a phrase such as “bike rack proposal,” the useful next step is a full document viewer with a Find control. Okular's handbook, for example, documents Ctrl+F for finding a string in an open document. Open the copy you mean to check and search there. If the search doesn't find the phrase, don't use that alone to decide you have the old handout. You may still need to look at the relevant page.

A missing preview is a different observation from a preview that doesn't answer the question. If Dolphin displays a generic icon for one map and a thumbnail for another, the difference by itself doesn't show that the first image is damaged. Preview settings and support for the particular format matter. Likewise, the Space preview GNOME describes isn't something every installation or file format can be assumed to offer. If the preview is unavailable, Properties can help you confirm which item you picked, and an ordinary viewer can show whether the file actually displays. Properties won't show you the missing map label, but it can prevent you from testing the wrong file.

Also distinguish a preview from accidentally opening the file while trying to select it. Dolphin documents that opening can use a single click or a double click, depending on configuration. If a click launches a viewer instead of leaving you in the folder, that tells you what the click did on this setup, not that Dolphin generated a larger preview or changed its preferred application. For a comparison in the file view, use a selection action that leaves you in the folder and check which item the panel follows.

The useful stopping point depends on the evidence you need. Recognizing the right park can take no more than a glance at the thumbnail. Confirming the entrance by name may take a larger preview or a viewer. Identifying the revised handout requires seeing the agenda item itself, whether you reach it by scrolling or searching. Once that specific detail is clear, there's no need to open another application just to repeat the check.

Sources for this section: The Dolphin View; Panels; Preview files and folders; The Edit Menu.

GNOME Files: open once without changing the default

In GNOME Files, select just one familiar document, such as Household Schedule.pdf. Open its context menu and look for Open With. If the menu offers the alternate viewer directly, choose it for this opening. If you need to open a separate application chooser, pick the alternate there and check the controls before confirming. Look for any option that makes the selected application the default. For a one-time trial, leave that option off if it is present. The key distinction in GNOME Help is between telling Files where to send this document now and telling it what to do the next time you open a document of the same type.

The GNOME 50 branch of Nautilus, the file manager known as Files, shows how that distinction works in its chooser. When you confirm an application, the chooser checks a switch that can set the default for the content type. It also looks up the current default and reflects it in the switch state. If you highlight the viewer you already use and the switch shows that it is the default, that is not evidence that you just changed anything. If you highlight a different viewer and turn the switch on before confirming, you are asking Files to make a new default, not just asking that viewer to take this one file.

Suppose the alternate viewer makes it easier to keep a page visible while looking at the document outline, but most of your PDFs are short notices you prefer to read in the original viewer. That is a reason to leave the default alone even if the trial goes well. After looking at the schedule in the alternate, close that document window and open the schedule normally from Files, without choosing an app from the context menu. If it returns to the original viewer, the two actions did what you wanted: the explicit choice gave you the alternate for the trial, while normal opening kept its previous behavior. Reopening from a viewer's list of recent documents would not check that distinction, because you would already have picked the app by starting there.

If you decide you want the alternate for ordinary PDF opening, return to Files and open the chooser again for the single schedule. In a build with the GNOME 50 chooser behavior, select the alternate, turn on the default-setting switch, and confirm. Check which app is selected before confirming, particularly if the two viewers have similar names. The schedule may open in the alternate either way, so seeing it there immediately after confirmation cannot tell you whether you made a one-time choice or saved a preference. The state of the switch matters precisely because both actions can produce the same first window.

If the control is not where you expect it, avoid generalizing from one screenshot or set of instructions. GNOME Help describes a route through a Properties tab, while the GNOME 50 branch source describes a switch in the chooser. The branch source establishes what that implementation does, not the exact label, placement or behavior in every distribution build. It also shows that the control is hidden for folders and for a selection with mixed content types. If you invoked Open With after selecting a PDF and an image together, try again with just the known PDF before concluding that your build offers no default control. Follow the controls your installation actually presents rather than searching every Properties dialog for a tab that may not be there.

To check the deliberate change, pick a different local PDF that Files also treats as a PDF, such as the neighborhood recycling calendar. Open it using your normal file-manager action, without an Open With choice. If the calendar opens in the new viewer, you have observed the preference affecting a file other than the one you used to set it. If it opens in the old viewer, check first that you really opened the calendar from Files and did not select the old viewer explicitly. Then revisit the default control for a single known PDF. The freedesktop.org association specification treats choosing a candidate and resolving a default separately, so an app's appearance in the chooser is not evidence that it is the normal choice.

Make the comparison in the direction that matters to you. If the new viewer is convenient for the schedule but awkward for the calendar, you can deliberately select the original viewer as the default again, then use Open With for the schedule when needed. If you wanted the new app for both, the calendar check gives you a better basis for leaving the change in place than reopening only the schedule would. Neither choice requires a duplicate of the schedule or a change to either document. What you are deciding is which viewer should get the next ordinary PDF open, not which copies of your PDFs to keep.

Sources for this section: Open files with other applications; Nautilus application chooser, GNOME 50 branch; Association between MIME types and applications.

KDE Plasma: put the right app first without removing the others

Start in Dolphin with a PDF you know, such as a two-page club agenda. Open the file's context menu and use Open With to choose a different installed viewer. For this trial, use the choice that opens the file without making it the default; if a dialog offers to remember the choice, leave that option off. Imagine the agenda normally opens in a browser but you want to try Okular for meeting documents. Opening the agenda in Okular once lets you see whether you like having a separate document window. It does not require giving up the browser as the ordinary choice while you decide.

When you want to change the first choice for PDFs, look in Plasma's System Settings for File Associations. The KDE documentation describes a module organized by MIME type, the identifier the desktop uses for a kind of file. Search for PDF and select the entry for application/pdf. The exact placement of the module can differ between installations, so searching System Settings for File Associations is more useful than relying on a single menu path. Before changing anything, check that the selected entry is for PDF and that you are looking at its application preference list. The setting you want concerns the order of applications for the type, not the behavior of an individual agenda.

KDE documents that the applications in this list are ordered, with the first entry tried first. Suppose the browser is at the top and Okular is immediately below it. Select Okular, use Move Up to put it first, and choose Apply to save the order. If the app you want is farther down in a longer list, move it up until it is above the existing first choice before applying. In the two-viewer example, the browser moves down a place without being removed. You can also use Move Down to lower an entry, but check the resulting top entry before saving: the aim is to put a specific app first, not merely to knock the current one out of first place.

Keeping the browser in the list serves two different purposes. It remains an alternate you can explicitly request if, for example, you want one short notice alongside other material in the browser. It is also still an associated candidate that can serve as a fallback if the preferred entry cannot be used during application selection. Those are not the same event. In the first case, you choose the browser. In the second, the desktop can continue looking for a usable application. The freedesktop.org association specification allows default lookup to skip unusable entries, but that is not a promise that a second viewer will automatically appear if the first launches and then cannot display a particular PDF.

Removing the browser from the preference list would go beyond this job. If you are happy to use it occasionally, lowering its priority is enough and keeps the association available without requiring you to add it back later. It also makes the experiment easier to reverse. If a week of ordinary reading makes you miss the original behavior, return to the same PDF entry, put the browser first again and apply the change. This is useful even when both viewers work: a person who opens several PDFs alongside web pages may want a different first choice from someone who wants documents in their own windows. The order records that preference rather than ranking the applications for everyone.

After applying, open a different known PDF normally from Dolphin. Suppose the agenda was your trial, but a local copy of the club's room-booking confirmation is what you open for the check. If the confirmation now opens in Okular without an explicit Open With selection, you have tested the ordinary route that the order was meant to change. You can separately use Open With on the same confirmation to check that the browser is still offered as a choice. If ordinary opening still uses the browser, return to File Associations and check the selected type, the saved order and whether you pressed Apply. Removing the browser first would make it harder to tell whether reordering alone would have worked.

Keep the opening gesture fixed while you make that comparison. The Dolphin Handbook documents that opening can take a single click or a double click, depending on configuration. That setting determines when Dolphin opens the selected file; it does not put a different app at the top of the PDF list. If a click selects the confirmation but leaves you in the folder, use the opening action that already works in your setup rather than changing click behavior as part of the test. A useful result is specific: normal opening uses the viewer you put first, and an explicit choice still lets you use the other one when the job calls for it.

Sources for this section: File Associations; The Dolphin View; Association between MIME types and applications.

Open the chooser by keyboard and check where focus landed

In GNOME Files, begin in a folder where you know the name of the local PDF you want. If focus is in a location field, sidebar or toolbar, use Tab or Shift+Tab to move between controls until you reach the file list or grid. Then use the arrow keys to move among the files and check that the intended PDF is selected. Start with one item, not a group left over from a previous action. If Household Schedule.pdf and Household Schedule (1).pdf sit next to each other, take a moment to read the full name before invoking the menu. Once the menu opens, your next keystrokes will navigate its choices rather than help you distinguish the two filenames.

With focus in the file view and the intended PDF selected, press Shift+F10 or use the Menu key, if your keyboard has one. GNOME's keyboard-navigation guide documents both ways of opening the context menu for the current selection. Move through the menu with the arrow keys and look for Open With. If your build presents a submenu, follow it to the available choices. If it offers a command that opens a chooser, activate that command. An app listed directly in the menu may open the file immediately, so distinguish the name of an app from the command that takes you to another list. If you cannot tell which item you have reached, Escape lets you back out and try again.

The file and the menu item now have different roles. The PDF can remain selected in the file view while an Open With entry has keyboard focus. Selection identifies the file the action is for; focus identifies where the next keystroke goes. W3C's keyboard guidance makes that distinction for web interfaces, and it is a useful way to think about a desktop menu as well. It does not establish how accessible a particular Files build is or predict where a particular dialog will put focus first. In practice, check for the focus indicator on the control you are navigating rather than assuming that the file highlight behind the menu still tells you what the keyboard will operate.

When the chooser opens, pause before pressing another key to activate something. Focus might be within a list, on a switch or on a button; do not count on a fixed number of Tab presses to reach the control you want. Use Tab and Shift+Tab to move among controls, and use arrows to move within the application list when that list has focus. Before going on, identify the viewer you intend to choose. If moving focus out of the list leaves a row visibly selected, that row can still be the app choice even though the next keystroke will go to a different control. Check both: which viewer is selected, and which control has focus now?

Space is a useful example of why those two questions matter. GNOME Help documents Space as a preview shortcut for a selected file in the file view where preview is available. That does not make Space a preview key everywhere in Files. With focus on a switch in a chooser, it may toggle the switch instead. With focus on a button, it may activate the button. Suppose you only want to see the first page of the schedule and realize you are already in Open With. Back out to the file view, check that the schedule is still selected there, and then try Space. Do not press it in the chooser expecting a page preview.

If you do want the alternate viewer, check any default-setting control as a separate step. The GNOME 50 Nautilus chooser source shows that the switch state is checked when the app choice is confirmed, so navigating to the switch is not itself a default change. For a one-time choice, confirm only after you can identify the intended alternate, verify that the default option is off if present, and locate the confirmation control. If the focus indicator is hard to distinguish, or you cannot tell whether the switch is on, cancel rather than pressing Return to see what happens. Depending on where you are, Escape may dismiss a submenu first; check that the chooser or context menu is actually closed before trying a file-view shortcut.

Consider a simple recovery: you meant to try a new viewer, but after moving through the chooser you can no longer tell which app is selected. Cancel, return focus to the file view if necessary and check the filename again. On the retry, choose the app while you are still in its list, verify its name, then move to the next control and check where focus landed. If you only wanted to read the schedule and the normal viewer is adequate, opening it normally after cancelling is also a sensible stopping point. The useful keyboard skill is not memorizing a sequence of presses. It is knowing which file the action concerns and which control will receive the next key before you commit.

Sources for this section: Keyboard navigation; Preview files and folders; Nautilus application chooser, GNOME 50 branch; Developing a Keyboard Interface.

Use Orca to tell which part of the workflow you are in

Start in GNOME Files with a local PDF whose exact name you know. Suppose you want to try a second viewer on Household Schedule.pdf without changing what opens other PDFs. Orca can help you check four points along the way: which file the action concerns, whether the chooser opened, which application or setting you are on, and whether you arrived in the viewer. Treat those as separate checks. Hearing the right filename at the beginning does not tell you where the next keystroke will go, and hearing the right viewer name at the end does not tell you whether you saved a preference.

At the first checkpoint, move into the file list or grid and navigate to the schedule. Use Orca's basic Where Am I command if you need more context about the current item. The Orca documentation gives keypad Enter for the Desktop layout and Orca Modifier+Return for the Laptop layout. Those are names for Orca's keybinding layouts, not descriptions of the computer you are using. Check which layout is configured rather than inferring it from whether your computer has a built-in keyboard. Where Am I is context-dependent: what Orca can report depends on the focused object and what Files exposes about it.

A file remains selected while a bold outline marks a separate button as the keyboard's current focus.
Conceptual illustration: The selected file and the control with keyboard focus are not necessarily the same thing. Image credit: AI-generated conceptual editorial illustration.

If the folder also contains Household Schedule (1).pdf, listen for the distinguishing part of the name and make sure you are working with a single selection. If Where Am I gives you the name of a sidebar location instead, that is useful evidence about where you are, but not confirmation of the file. Return to the file view before continuing. GNOME documents Shift+F10 and the Menu key as ways to open the context menu for the current selection. From there, navigate to Open With and choose the entry that leads to an application chooser if your menu offers one. Selecting a named viewer directly may open it without that intermediate step.

At the chooser checkpoint, pause and use Where Am I again if the transition is unclear. You are trying to distinguish the context menu you were navigating from the dialog where the application choice is made. If you are on an application row, listen for enough of the name to tell it from the neighboring choices. Moving on to another control changes the object Orca is reporting about; it need not change the application selected in the list. That distinction between focus and selection is also useful when an announcement sounds incomplete. Go back to the application list and check the choice rather than assuming the last app name you heard is still the one that will be used.

Before confirming, check any control that would make the chosen viewer the default. The GNOME 50 Nautilus implementation checks a switch at confirmation for a single PDF like this one. That tells you why the state matters, not what a particular build will call the control or what Orca will announce about it. If you reach a switch and can identify it but cannot determine its state, do not toggle it merely to see whether the feedback becomes clearer. You need to know which viewer is selected and whether the default option, if present, is off. If either remains uncertain, back out with Escape or use a Cancel control you can identify.

For a one-time trial, you can bypass the chooser altogether. After cancelling, start the intended viewer directly and use its File > Open command to select Household Schedule.pdf. This route lets you try an application you can already launch without relying on the chooser to expose a switch state. In the viewer's file dialog, check the filename again; the dialog may start in a different folder from the one you were just using in Files. Opening the document this way tests the viewer, not the desktop's normal PDF association. That is enough if all you wanted was to see how this viewer handles the schedule.

After opening, use Orca's separately documented window-title command to orient yourself if it is unclear where you landed. Look up that command for your configured layout rather than treating Where Am I as a guaranteed way to get the title. The title may help you distinguish the viewer from Files or tell you which document is open, depending on what the window exposes. Then use Where Am I to check the current control. A document might be open while focus is still in a sidebar or on a toolbar, so hearing information about a control rather than page text doesn't by itself mean the open failed.

If you reach the document area but cannot get the pickup entry read, keep that result separate from the earlier checks. You may have confirmed the file and viewer without establishing that this copy exposes the information you need. Try a familiar task in that viewer, such as locating a heading you already know, before deciding whether it suits your regular reading. If the chooser was the only uncertain step, there is no need to revisit it simply to complete the trial. You can make a useful comparison from inside the viewer while leaving the default alone.

Sources for this section: Where Am I Commands; Keyboard navigation; Nautilus application chooser, GNOME 50 branch; Developing a Keyboard Interface.

What the filename and the file's contents can tell Linux

In Household Schedule.pdf, the suffix is .pdf. In a file manager, the same item might have a type description such as “PDF document.” A desktop tool can express the type as application/pdf. Those three pieces of information are related but serve different purposes. The suffix is part of the name stored for this copy. The description is wording meant to help a person recognize the kind of file. The MIME type is a standardized form of identifier that software can use when working with that kind of data. In application/pdf, the word after the slash is the part that identifies PDF specifically; “application” is not the name of the program that will open the schedule.

The freedesktop.org Shared MIME-info specification describes two kinds of clues software can use for identification. One is a filename pattern: a rule can match names ending in .pdf without looking at the data inside. Another matches recognizable patterns in selected parts of the contents. That kind of test can provide a clue even when the name is unhelpful. It does not require the desktop to interpret every page the way a PDF viewer would. Conversely, a viewer may need much more than an initial type clue to display the schedule. It has to make sense of the parts of the document that describe what belongs on the page.

Take a hypothetical copy of a club notice that already sits in your Documents folder under the name Club Notice.pdf. The file manager may describe it as a PDF even if a separate tool that identifies files by their contents reports a PNG image. On Linux, GLib’s type guess can accept a single filename-pattern match without checking the contents. The Properties dialog isn’t a log of how the desktop reached its result, and the disagreement doesn’t tell you how the file got its name. Record which tool gave which answer, then check whether this is the copy you expected.

Suppose an ordinary image viewer displays that notice as a single picture. That gives you evidence about what the viewer could display from this copy, not proof of how the name came to end in .pdf. If you were expecting a two-page document, the result also gives you a practical reason to look for the original or another copy. Changing the suffix would change a clue available to name-based rules, but it would not rewrite an image into a two-page document. In this situation you can investigate without changing the name at all: compare what opens with what you were told to expect.

In a different case, both the filename and a content-based check point to PDF, but the viewer cannot display page two. There is no necessary contradiction. A filename can match a rule even if the bytes are incomplete, and a file can retain recognizable content patterns even when another part is unreadable. A viewer can also have trouble with something specific to a document that another viewer handles. Neither the reported type nor the failed page display tells you which explanation applies. The first observation helps identify the kind of document you may be dealing with; the second tells you that a particular task failed in a particular app with this copy.

Differences in wording are not always conflicts like PNG versus PDF. One file manager might call a type “PDF document” while another uses a description that includes “Portable Document Format.” A translated label can look more different still. The shared MIME database supports descriptions, aliases and relationships between types. Descriptions are for readers, aliases can give different identifiers for the same type, and related types can also have genuinely distinct identifiers. If two labels differ and the distinction matters, compare the reported MIME identifiers where available. A tool such as xdg-mime has a file-type query for this purpose, but its result is that tool's observation, not a guarantee that an ambiguous file will be classified the same way in a chooser.

Knowing the type still leaves the opening preference unresolved. Shared MIME-info describes how types can be recognized and described; it does not record whether you want one PDF viewer instead of another. The separate freedesktop.org association specification covers candidates and defaults. Suppose the club notice and household schedule are both reported as application/pdf by Files, and you prefer a particular viewer for searching either one. That preference can affect ordinary opening without changing the reported type. If instead Files reports the notice as an image, changing the PDF preference does not address the mismatch. In one case you are deciding which app should handle a recognized type. In the other you are still checking what kind of copy you have.

Use the distinction to decide what to check next. If two tools merely present different descriptions and the expected document opens, the wording may not need any further investigation. If a notice expected to contain two pages opens only as a picture, compare it with the original even if the filename looks right. If the document is the expected PDF and your complaint is only that it goes to the wrong viewer, turn to the opening preference. None of those decisions requires treating a suffix, a friendly description or a MIME identifier as a verdict on the document's contents.

Sources for this section: Shared MIME-info Database; xdg-mime(1); Association between MIME types and applications; GLib 2.88.0 freedesktop.org content-type implementation.

Why an app's name in the menu is not its desktop ID

Imagine that Open With offers a fictional viewer called Lantern Reader, but a query for the PDF default returns org.example.LanternDocs.desktop. The two strings look different enough that you might think you found another application. In this example they describe the same desktop entry. Lantern Reader is the friendly name presented to you, while org.example.LanternDocs.desktop is the desktop file ID the system uses to refer to the entry. There is also a third piece of information: the entry could declare application/pdf and image/png as types it handles. Those are identifiers for kinds of files, not alternative names for Lantern Reader.

The freedesktop.org Desktop Entry Specification gives these pieces of metadata distinct jobs. An entry can supply the display name that helps you recognize the app in a menu and a MimeType list that says which kinds of data it declares it can handle. The desktop file ID identifies the entry so other parts of the desktop can refer to it without relying on the name shown to a person. A displayed name can be translated or worded differently from the identifier. Two menu labels can also look similar enough to be confusing. An ID is useful precisely because software does not have to choose an application by guessing what a friendly label means.

The Debian manual for xdg-mime says its default query returns a desktop file ID. It is therefore normal for that output to end in .desktop rather than to look like the name at the top of the viewer window. The example ID identifies an entry; it is neither the path of the schedule you are opening nor a command you are meant to run. If you do not recognize an ID, do not infer that the file manager must be using a different viewer just because the words do not line up. Also keep the manual's caveat in mind: what the query reports can differ from what an opener actually launches. A normal open from your file manager is the observation that matters if that is the action you want to understand.

When you see Lantern Reader in the chooser, you have learned that it is offered for this opening, not that it is the default. The freedesktop.org association specification treats finding candidates and choosing the normal preference as different operations. The app's declaration can help make it a candidate, and associations also play a part in what is offered. Suppose Lantern Reader declares PDF and PNG but you only choose it occasionally for PDFs. Its presence when you browse choices for the schedule is compatible with another viewer receiving ordinary PDF opens. The declaration also gives you no reason to expect that choosing Lantern Reader for PDFs will make it your normal PNG viewer.

Think of the declaration as an app's statement about formats, not an independent test report. In the hypothetical example, Lantern Reader displays a routine two-page schedule and lets you page through it. That is evidence about those pages in that viewer. Now suppose your next document is a meeting packet with an outline you use to jump among agenda items. Lantern Reader may display the pages clearly but not offer a usable outline for that packet. A comparison viewer might let you select the linked entry for the budget discussion. Both can handle an everyday PDF, yet only one gives you the navigation you need for this job. The application/pdf declaration does not express that difference.

You can make the comparison more useful by holding the document fixed. Open the same packet once in each viewer and look for the same known entry in the outline. If the outline is available in one and not in the other, you have a reason to prefer the first for that packet without claiming that the second cannot open PDFs. If neither presents the entry, you have not established that the packet contains the outline you expected. Likewise, if the task is text search instead, try the same known phrase in the same copy. As the Okular handbook's documentation of Find and text selection illustrates, having a control in a viewer and having usable text in a document are distinct conditions.

A different display name would not change any of those results by itself. Suppose a later menu simply says Lantern instead of Lantern Reader. That label alone does not tell you the app gained outline navigation, lost a format, or converted any saved file. If you need to identify the entry named by a preference query, the desktop ID is the relevant detail. If you need to decide whether the app does the job, open a trusted sample and try the job itself. Neither investigation requires rewriting application metadata.

For a reader who consults a detailed packet only once a month, the outline may justify a one-time choice without displacing the viewer they prefer for short notices. For someone who uses outlines every day, the same observation on representative documents may support a change of default. In either case the decision rests on whether the viewer helps you get to the right part of a real document, not on how closely its menu label resembles its desktop ID or how many formats its entry declares.

Sources for this section: Desktop Entry Specification; Association between MIME types and applications; xdg-mime(1); The Edit Menu.

Why the same PDF can open differently in two desktop sessions

Imagine a computer on which you use both GNOME and KDE Plasma under the same account. In GNOME, you open Household Schedule.pdf from Files and it appears in a standalone document viewer. Later, in Plasma, you open the same file from Dolphin and it appears in a browser's PDF view. In this example, both file managers recognize the schedule as application/pdf, and neither opening involves an explicit Open With choice. The difference to explain is which application receives an ordinary open. You don't need a second copy of the schedule, or a difference in its contents, for the two results to make sense.

The freedesktop.org specification for MIME application associations describes a lookup that can take the current desktop into account. A desktop-specific default is a preference that applies to a particular desktop environment. In the hypothetical setup, GNOME finds an applicable PDF preference for the standalone viewer, while Plasma doesn't have an applicable desktop-specific preference for PDFs and instead reaches a general user preference for the browser. That general preference isn't limited to one desktop, but it doesn't follow that every desktop must use it. The lookup order can bring an applicable, higher-priority setting into play first. Seeing the general preference in isolation would leave out the very detail that explains the difference.

A distribution-provided preference is another possibility. The distribution can supply a first choice that works before a user has chosen anything. Suppose this machine initially sent PDFs to the browser in Plasma because the distribution supplied that default. Later, a general preference for the same browser could produce an identical result. Watching the schedule open in the browser doesn't tell you which of those settings was decisive, or whether both name the same application. Likewise, the fact that you've never changed a PDF setting in Plasma doesn't prove there is no applicable user preference: the current session can still pick up a preference that wasn't limited to Plasma.

Fallback is different from finding a distribution default. Under the freedesktop.org model, a default entry has to resolve to a usable application. A stored preference can still name a desktop entry for a viewer that is no longer installed, for example. The lookup can pass over an unusable entry and continue looking for a default. If no explicit default resolves, an associated application can be chosen as a fallback. A browser could receive the schedule this way even if no applicable setting explicitly names it as the first choice. This is a decision about which application to launch, not a second attempt triggered by a viewer that launches and then reports a problem with page two.

The distinction between a default and an association also explains why the two sessions can offer much the same alternatives without opening the schedule the same way. The Desktop Entry Specification allows applications to declare the types they handle, and the association specification treats finding candidates separately from resolving the default. Suppose both sessions offer the standalone viewer and the browser for a PDF. That shows the two apps are offered as choices in both places. It does not tell you which preference wins in either session. Conversely, a difference in the list of alternatives isn't necessary to explain a difference in the app that launches.

To compare the sessions, use the same path to the same local copy and open it normally from each session's file manager. Close the schedule before repeating the comparison so an existing window doesn't get mistaken for the result of the next open. Check which application presents the document, not just whether you see the expected page. Leave Open With, the viewer's recent-file list and links inside a browser out of the comparison. Those are legitimate ways to reach the schedule, but they introduce a different opening action or an application you've chosen in advance. If the sessions report different types for this copy, note that separately; you no longer have a comparison in which only the choice of app differs.

Treat the observed launches as results for those two file managers, not as a reconstruction of the lookup. The Debian-packaged xdg-mime manual says to query the default inside a desktop session and warns that the answer can differ from what xdg-open launches. The freedesktop.org rules describe a shared model, not a guarantee that every opener reaches its answer through identical code. If your concern is what happens when you open the schedule in Dolphin, the result in Dolphin is more useful than a reported preference observed while you're working in GNOME.

If you want to change that result, work in the session where it bothers you. GNOME Help distinguishes a one-time choice from a default change, and KDE documents the ordered PDF application list in File Associations. Use the controls available in the relevant session, then open a second known PDF normally there. If it's important that the other session keep its current behavior, check it afterward rather than assuming the change was either shared or isolated. You don't have to edit preference files or identify every contributing setting to answer the practical question: which viewer gets the next ordinary PDF open in each desktop you use?

Sources for this section: Association between MIME types and applications; Desktop Entry Specification; xdg-mime(1); Open files with other applications; File Associations.

When the app you expected is missing from Open With

Suppose Household Schedule.pdf usually opens in your browser, but today you want to read it in a separate document viewer that you remember using before. You bring up Open With and don't see the viewer's name in the initial menu. That is an observation about the choices shown at that point, not yet about whether the viewer is available or whether it can read the schedule. Take the menu at its word: it hasn't offered the viewer among those choices. What to do next depends on whether you can find the app in the fuller chooser, start it independently, or get it to open this exact copy.

Start with one selected file and see whether Open With offers a way to browse more applications. GNOME Help distinguishes an alternate opening from a change to the default, and the GNOME 50 Nautilus source documents a separate chooser with its own confirmation controls. What the context menu shows and what a fuller chooser offers need not be the same. If your viewer appears only after you browse further, use it for a one-time opening and leave any default-setting option off. If the schedule opens there, the short list was the obstacle. You have no reason to move the viewer to first choice unless you also want it for ordinary opens of other PDFs.

If the viewer is missing from the fuller list too, don't treat the chooser as an inventory of everything installed. MIME declarations and associations help determine which apps are suggested for a file type, but the GNOME 50 chooser can also show apps that aren't associated with that type. An omission from the fuller chooser doesn't, by itself, point to a missing MIME association. Check the type Files reports for the schedule and confirm that you picked the intended copy. If Files reports an image rather than a PDF, that can explain why the suggested apps differ from those you'd expect for a PDF.

Next, look for the viewer in the desktop's ordinary application launcher. If it starts, use its own File > Open command, or the open or import route its documentation specifies, and navigate to the trusted local schedule. If the dialog has a format filter, check that it is set to show the kind of file you mean to open. A name not appearing in a filtered dialog is not the same thing as an app reading the file and rejecting it. If you can't find or launch the application separately, leave that as a separate question about availability. The fact that it was missing from Open With doesn't settle why you couldn't start it.

A successful direct open narrows the problem considerably. Suppose the viewer opens both pages of the schedule from its own dialog, even though you couldn't select it in the file manager. You now know that the app is available to you and can display those pages of this copy using that route. The remaining question is why the file manager doesn't offer it, not whether you need to turn the schedule into a different format. For a viewer you need once in a while, opening it directly may be less trouble than investigating the chooser. If you want easier access for a recurring job, you can now focus on how your desktop offers applications for the reported type.

A rejection is a different result. Suppose the viewer starts, the schedule is visible in its file dialog, and after you select it the app says it can't read the document. The route through the viewer has already bypassed Open With, so promoting the viewer to default won't fix the problem it just reported. Note the message and confirm the path of the copy you selected. If the schedule is already open in your regular viewer, that gives you evidence that one app could do something the other couldn't with this copy. It doesn't establish whether the alternate lacks support for a feature, the copy has a problem, or the apps simply handle the same error differently.

You can also encounter both problems at once: the alternate viewer isn't listed and fails when started directly. Don't let the omission explain away the rejection, or the rejection explain away the omission. Application metadata isn't a test of this document. A listed viewer can fail on it, and an unlisted viewer can succeed. Likewise, an application window appearing without the schedule isn't a successful direct open. Wait until you can identify the document in the window and see the page you meant to read before deciding that the chooser was the only thing in your way.

Use those observations to choose the smallest next step. If the viewer is in the fuller chooser and works, keep the one-time route. If it works only from its own Open dialog, you have a way to read the schedule without touching the default, and a specific chooser question to pursue if the inconvenience recurs. If the app rejects the file, use the viewer that works for the immediate reading task or consult the original copy if the document itself is in doubt. A default would change where the desktop sends future files of that type; it wouldn't change what this viewer can read.

Sources for this section: Open files with other applications; Nautilus application chooser, GNOME 50 branch; Nautilus application chooser widget, GNOME 50 branch; Desktop Entry Specification; Association between MIME types and applications.

What a read-only file status check can settle

Start with the file manager. In GNOME Files, look at Properties for the one copy you mean to inspect. In Dolphin, the Handbook documents an Information panel that can show size and modification date along with a type description. Confirm that the panel is showing the file you intend, rather than the folder or an item under the pointer. If the graphical view has already answered your question, stop there. A terminal check is useful when you want an exact byte count or want to verify what kind of filesystem entry sits at one particular path. You don't need it to find the preferred viewer.

On a GNU/Linux system with GNU stat, open a terminal in the folder containing your own Household Schedule.pdf and run env stat --format='%n | %s bytes | %F | %y' -- './Household Schedule.pdf'. The example checks one named path. It queries status without opening the document in a viewer, rewriting the file or changing an association. You don't need elevated permissions for an ordinary file you can already inspect. The path starts with ./, which means the current folder, so make sure the terminal is in the folder you intend. A window showing Documents in the file manager doesn't by itself put an independently opened terminal there.

The quotes around './Household Schedule.pdf' keep the space in the filename from splitting the path into two shell arguments. The quotes around the format keep it together as one argument as well, so the vertical bars are printed as separators rather than interpreted by the shell. The standalone -- marks the end of the command's options. Read the first field, %n, before using any other part of the result. It prints the name supplied to stat, here ./Household Schedule.pdf. Because that's a relative name, it doesn't tell you which folder two identically named files came from. If you're comparing a copy in Documents with one in a separate folder, the starting location still matters.

The second field, %s, gives the size in bytes. The word bytes is literal text from the format, not an extra result. For a regular file, this figure is its length, not a count of pages and not the amount of disk space allocated to it. Suppose the copy you meant to read comes back as 0 bytes. Once you've confirmed the path and that it names a regular file, you know there are no document bytes in that copy for a viewer to display. Trying another default won't restore the contents. The useful next step is to check the original or another copy, without overwriting the empty one as part of the check.

Now imagine a second copy reports 52184 bytes. That rules out an empty regular file at that path, but it doesn't say whether the copy is a complete PDF. It could contain an older schedule, part of the desired document, or something else entirely. If the practical question is whether you have the version that includes Sunday's pickup, you still need to see the Sunday entry. The byte count can save you from trying several viewers on an empty file. It can't save you from inspecting a nonempty file whose contents are the very thing you're trying to establish.

The third field, %F, reports the filesystem's kind of entry. A regular file is a file that can hold document data; a symbolic link is a separate entry that refers to another pathname. The example does not ask stat to follow a symbolic link at the named path. If the result identifies a link instead of a regular file, don't compare the reported size with the length of your other PDF. You're looking at metadata for the link, not the document it points to. In this example the intended subject is one owned regular file. If you picked a link by mistake, return to the file manager and locate the actual copy rather than drawing a conclusion from the link's details.

The final field, %y, prints the modification timestamp. Think of it as the recorded time of a data modification to that filesystem entry, not the date printed on the schedule or a record of what changed. The terminal may show finer precision than the file manager, but more digits won't tell you whether the change moved a pickup or simply saved the same content again. If you remember making the update on Tuesday, a Tuesday timestamp can give you a candidate to look at. It isn't a reason to discard a copy with an earlier date or to assume that a copy with a later date contains the update.

In particular, the filesystem kind printed by %F isn't a MIME type. A regular file could hold a document, a photo or plain text. The freedesktop.org Shared MIME-info specification describes identification clues such as filename patterns and recognizable parts of the contents; this status command isn't performing that identification. It also doesn't query the default application. If the result shows an empty regular file, look for the source. If it shows a nonempty regular file but you still don't know what's in it, return to a preview or viewer. The status check has answered a question about the copy on disk, not about what the desktop calls it or where an ordinary open will send it.

Sources for this section: Panels; Shared MIME-info Database.

Two MIME queries, two different answers

If Household Schedule.pdf opens in an app you didn't expect, you can compare two read-only reports with what your file manager actually does. The first report is about the named file. The second is about the preferred application for a type, with no particular file in view. Neither command opens the schedule. These checks are optional: if all you want is to read it in another viewer once, Open With is more direct. The queries are useful when you want to know whether the type reported by a tool and the app reached by ordinary opening fit the explanation you had in mind.

A working document sits beside a separate two-page PDF proof, with a magnifying glass over a matching heading.
Conceptual illustration: Check the exported copy itself before sharing it, and keep the editable source separate. Image credit: AI-generated conceptual editorial illustration.

If xdg-mime is available, use a terminal in your ordinary graphical session, in the folder containing your own copy of the schedule. Run xdg-mime query filetype './Household Schedule.pdf'. The Debian-packaged xdg-utils manual describes filetype as a query for the MIME type of a file, so the argument here is a path. The ./ means the terminal's current folder, and quoting the path keeps the space in the filename from splitting it into separate arguments. If the command reports that it can't find the file, check the folder and spelling before drawing any conclusion about the file's type.

Suppose the first answer is application/pdf. Run xdg-mime query default application/pdf in the same graphical session. This time the argument is the exact type identifier, not the schedule's name or a friendly description like “PDF document.” According to the manual, the answer identifies an application by its desktop file ID. One possible result is okularApplication_pdf.desktop, the ID of KDE's upstream PDF handler for Okular. It refers to an application entry, not a document or an instruction to launch anything. If the first query reports something other than application/pdf, skip this second command for the comparison: it would answer a question about PDFs regardless of the type just reported for your copy.

The first result has a narrower meaning than “this is a working PDF.” The freedesktop.org Shared MIME-info specification describes identification rules based on clues such as filename patterns and recognizable parts of the contents. The query doesn't show which clue decided the result, and it doesn't report whether a viewer can make sense of every page. Imagine that a folder contains two schedules and you intended to check the revised one. Even if the command reports application/pdf, you could still have named the old copy. Keep the path with the result rather than remembering only that you checked “the schedule.”

For a hypothetical case where the reports and the launch agree, say the first query prints application/pdf, the second prints okularApplication_pdf.desktop, and the schedule appears in Okular when you open it normally from the file manager. Here the reported preference is consistent with the observed launch. To make the comparison meaningful, use your usual opening gesture in the file manager, not an explicit Open With choice and not Okular's list of recent documents. If the schedule is already visible in another window, close that document before the check so you don't mistake a page that was already open for the result.

Now imagine the same two query answers, but the normal file-manager open displays the schedule in a browser. That is a disagreement between the application reported by the query and the application you observed. The Debian manual explicitly warns that the answer to xdg-mime query default may differ from what xdg-open launches, since xdg-open commonly hands off to a desktop-specific opener. That's a caveat about launch routes, not evidence that your file manager used xdg-open or that the browser is necessarily listed first somewhere. Run the comparison in the desktop session whose behavior you care about, and treat what that file manager actually opens as the result to explain.

It matters what sort of difference you saw. If the viewer's title says “Okular” and the query prints okularApplication_pdf.desktop, those aren't conflicting answers just because the strings differ. The Desktop Entry Specification distinguishes the ID that identifies an entry from the display name people see. If the resulting window really belongs to a different app, the mismatch is worth noting, but the query still isn't a trace of how the launch decision was made. The freedesktop.org association specification separates resolving a default from finding eligible applications. These two queries don't list the candidates that were considered or tell you why one was passed over.

If you're deciding whether a preference change worked, repeat the ordinary file-manager open on another familiar PDF in that same session. Suppose the query names the viewer you wanted, but both files still go to the browser. For the workflow you're checking, the change hasn't produced the intended result, whatever the query says. Conversely, if the two files now open in the intended viewer, that is a useful result even if the displayed ID is unfamiliar. You don't need to change settings to make a terminal report look right when the opening action you use is already doing what you want.

Sources for this section: xdg-mime(1); Shared MIME-info Database; Desktop Entry Specification; Association between MIME types and applications; Okular PDF handler desktop entry.

The PDF opens, but can you find the text you need?

Imagine two copies of a three-page neighborhood handout. Both show a heading called “Collection day changes,” and both put the new pickup time in a shaded box. In one copy, the words are represented as text in the PDF, and a document outline links to each section. In the other, the pages look much the same but may be pictures of printed pages. If you only need to read the time and can see the box, either copy may serve. If you want to find every mention of the change without flipping through pages, the difference becomes important.

Use the same task for both copies. In Okular, go to the page with the shaded box and note a short, distinctive word you can actually see, such as “collection.” Then press Ctrl+F, which the Okular Handbook documents as the command to find a string in the document. Check the first result against the page it takes you to. If the term appears in the heading and again on the last page, use Find Next, which Okular documents with the F3 shortcut, to move through the matches. Finding the first occurrence tells you less than being able to move reliably to the one you need.

A useful result still has limits. Suppose the search reaches the heading and a paragraph, but skips the word when it appears inside a small illustration. You've confirmed that search works in parts of the handout, not that everything visible on the page is searchable. If the second copy returns no match, try a short word plainly visible in a regular line of text and check that you're searching the intended document. A miss for a long phrase could reflect the way the words are represented or split across lines. Even a miss for a short word doesn't establish that the whole copy is an image-only scan.

Try selecting a few words in the shaded box as a separate check. Okular's handbook describes text selection commands, which depend on the document providing text. Use the text selection tool, not an area selection that can mark a rectangle around the box regardless of what's inside. If you can select the pickup time as text, you've learned something about that passage that merely seeing the box couldn't tell you. If the heading is selectable but the box isn't, note that difference rather than labeling the whole handout searchable or unsearchable. And if selection fails, check which tool is active before attributing the result to the file.

The outline answers a different question. When a PDF provides a linked table of contents, the Okular Handbook describes using it to navigate to the linked sections. In the first copy, activate “Collection day changes” in the outline and check that it takes you to the section itself, not just to a general introduction on the same page. That shortcut can be more convenient than search when the same words occur throughout a handout. A heading printed on a page isn't necessarily an outline entry, though. A copy may lack a usable outline and still offer working text search, or offer a useful outline for pages whose words can't be selected.

Reading order is another observation, particularly in a handout with two columns and inset boxes. Imagine the search can find the pickup time, yet moving through the text takes you from the first line of the pickup instructions into the adjacent recycling column. A match tells you the viewer found the string, not that it presents the surrounding instructions in a meaningful sequence. If you read with Orca, check where focus is before judging the result. Orca's Where Am I command reports context for the focused object; hearing information about the Find field or the outline isn't evidence that the page text is inaccessible. Once you reach the document, try following the instructions from the heading through the time and location in order.

Keep any comparison narrow enough to act on. If both copies display the page and only the first lets you find the heading and select the pickup time, use the first for a task that depends on those features. If a second viewer finds the heading in the very same copy, you have evidence that changing viewers helps with that particular search. If neither viewer finds it, ask whether a text-bearing copy is available rather than assuming a default change will solve the problem. Choosing a default changes which application receives the PDF. It doesn't add a text layer, and opening a PDF in Okular is not itself an optical character recognition step.

For a recurring task, pick a check that resembles the way you actually read. If you're regularly looking up changes in meeting packets, try reaching a known section and then finding a second mention that isn't in the outline. If you need to read instructions in sequence with a screen reader, include a paragraph after the heading rather than stopping once the search lands on it. A viewer that makes this route easier across the documents you use may be worth making your normal choice. One document that happens to display clearly, or one that fails a search in every viewer you try, gives you much less reason to change the default.

Sources for this section: Navigating; The Edit Menu; Where Am I Commands; Association between MIME types and applications.

One CSV, two views: raw text and spreadsheet columns

Suppose your household inventory arrives as Household Inventory.csv. You want to check whether a spare key has a storage location recorded, then sort the inventory by item. A text editor and a spreadsheet help with different parts of that job. The editor shows the separators and the characters between them. Calc interprets those characters as fields and gives you columns to work with. You can try both using a one-time Open With choice, leaving your usual app alone. The important result isn't that Calc launches; it's that the cells represent the inventory you meant to open.

Imagine the first line reads Code;Item;Location;Count. Two lines beneath it are 0042;Spare key;;1 and 0108;Flashlight;Hall closet;2. In a text editor, the two adjacent semicolons in the key row make the empty field visible. There is a location column and the row has a place for it, but no location value is recorded. The final 1 belongs under Count, not Location. The editor also shows that the code was written as 0042, not 42. Close the editor without saving. The goal of opening it there was to see what the source says before asking another app to interpret it.

Open the same copy in Calc and check the Text Import preview before accepting the import. If Calc opens the file without showing the dialog, close it without saving and reopen it from Calc using File > Open. Select Edit filter settings if the file dialog offers it. LibreOffice Help describes controls for the character set, language, separators and column types. In this example, use semicolon as the separator and look for four fields across the header. If the dialog is set to split only on commas, a line with no commas can appear as one long value in a single column. That isn't proof of a bad file or an unsupported format. It tells you the split shown in the preview does not match the separator you saw in the editor.

Once the header lines up, compare the two sample rows in the preview. In the key row, Location should be empty and 1 should be in Count, in the same position where 2 appears for the flashlight. If 1 lands under Location, the presence of four header cells isn't enough to accept the import. Check how the current settings are handling the empty field. Also check that Hall closet stays together as one location, rather than being split at the space. Those two checks catch different errors: losing a field that has no characters in it and creating an extra field within a value that does.

Set the Code column to Text in the preview before confirming. LibreOffice documents this choice as a way to keep leading zeroes. The distinction is about what the values mean, not how tidy the column looks: 0042 is an identifier you may need to match to a label, while the 1 in Count is a quantity. You don't need to make every column text just to protect the identifier. After import, check that the Code cell still shows 0042 and that the adjacent Item cell says “Spare key.” A correctly separated row can still lose information if the column is interpreted as the wrong kind of value.

The easiest rows to recognize may not exercise every setting. Suppose another inventory line names an item with an accented character. If that name looks wrong in the preview, revisit the character set rather than adjusting the semicolon separator to fix it. If the inventory contains values meant to be interpreted as dates or numbers, the language setting can matter for how some of those values are read. Don't choose settings merely because the preview looks neater. Check recognizable values against the source and against what they're supposed to mean, especially if a code looks like a number or a date but isn't intended to act like one.

After confirming the import, inspect a few rows beyond the first ones. An inventory with a long run of filled locations can look sensible even if an occasional blank entry is misaligned. Check a later row with an empty field or a code starting with zero before relying on a sort or filter. If you spot a problem, return to the unchanged source and reopen it with better settings rather than fixing the first suspicious cell and assuming the others are fine. For inspection alone, you can close without saving. If you need a working copy, give it a separate name so you don't replace the source CSV with your interpretation of it.

Decide what you want to preserve before you save any work. If you add a second sheet with a count by room, or add formulas and formatting, save the working copy in a spreadsheet format that preserves those features. Exporting a CSV gives you delimited fields, not the workbook with its sheets and formulas intact. If someone specifically needs an updated CSV, export a separately named copy and check the exported text or import it again, including the empty Location field and the 0042 code. A plain text editor may be the better everyday choice for checking what was sent; Calc is useful when you need columns. What makes the spreadsheet view trustworthy is the import you checked, not the app the desktop happened to choose.

Sources for this section: Text Import; Opening and Saving Text CSV Files; Open files with other applications.

Opening an image in an editor does not make an editable master on disk

Suppose the garden club gives you a photo called Garden Bed Original.png for a flyer. At first you only need to check whether it shows the raised beds by the entrance rather than the ones behind the shed. Open the PNG normally in your image viewer and look for the entrance sign. Once you've confirmed the photo, the next job is different: crop out the edge of a parked car and add a small label that can be moved if the flyer layout changes. That's a reason to open this image in an editor. It isn't necessarily a reason to send every future PNG to that editor.

Use the file manager's Open With menu to choose GIMP for this occasion. Leave any option to make it the default off. GNOME Help distinguishes this one-time choice from setting a preference for the whole file type, while KDE's File Associations documentation describes the ordered list that governs which app is tried first. Neither workflow requires editing the association for this job. Opening the photo in GIMP is enough to start working on it, but the presence of an image on GIMP's canvas does not establish that you have created a separate, saved project.

GIMP's manual distinguishes bringing a PNG into a project from saving that project in GIMP's own XCF format. If you add the label on its own layer, you can work on its placement separately from the photo. Save the editable project as Garden Bed Flyer Artwork.xcf. Now you have a named file to return to if the club asks to shift the label or change its wording. The source PNG has a different job: it is the photograph you started with. If a later crop cuts out something the club decides to keep, you still have the untouched source to refer to.

The club member assembling the flyer needs the finished picture, not necessarily the project used to make it. GIMP's manual describes Export As as the place to choose an output name, destination and format. Export a PNG called Garden Bed Flyer Image.png, selecting a destination where you can find it again. Check the proposed name before confirming so you don't overwrite Garden Bed Original.png. The two PNGs can live side by side, but they represent different stages of the work. One is the starting photograph; the other is the composition you intend someone else to place in the flyer.

What makes the XCF useful is not that it looks better in a viewer. It is that it preserves editable project information that an export need not carry. Suppose the club asks you to move the label away from a fold. Reopen the XCF and adjust the label there, where it is still separate from the photo. Opening the exported PNG in GIMP gives you an image you can edit again, but it doesn't recover the original label layer as a separately movable object. An export can be exactly right for the recipient even though it is the wrong file for making that revision.

Verify the deliverable from the folder where you exported it. Select Garden Bed Flyer Image.png by name and open it in the ordinary image viewer. Check whether the car is out of the frame, whether the sign you meant to keep is still visible and whether the label is clear at about the size it will occupy in the flyer. Looking at the GIMP canvas again would tell you what the project looks like there. Reopening the output tells you what this viewer can display from the file you're about to send. It does not tell you how the image will reproduce on the club's printer or after someone resizes it.

If the label in the viewer is too small, first make sure you opened the export rather than the unlabelled source. If you have the right file, decide whether the text needs changing based on its intended size on the flyer, not on how readable it is when zoomed in. Make the change in the XCF and give the revised export a distinct name, such as Garden Bed Flyer Image Revised.png. Open that exact file for the next check. Naming the revision separately lets you compare the two outputs without confusing a change to the editor project with a change to the copy in the flyer.

If your usual PNG tasks are checking a snapshot, reading a screenshot or deciding which image to attach, leaving the viewer as the default keeps those jobs simple. Open With gives you GIMP when a particular picture needs editing. In this example, the choice of app gets you to the right workspace, but it is the choice of file that matters at handoff: the original is available for a fresh start, the XCF is available for revisions, and the checked export is the one to send.

Sources for this section: Getting Images out of GIMP; Export File; Open files with other applications; File Associations.

When one file fails, don't change the default for all of them

Imagine that Household Repairs Estimate.pdf won't show its first page. The regular viewer opens and reports that it cannot read the document. Before changing a setting, choose a local comparison file, such as Household Repairs Receipt.pdf, that you know has displayed correctly before. Check that the file manager reports both as PDFs, not just that both names end in .pdf. The Shared MIME-info specification describes identification using clues from names and contents, not a test of whether every part of a document is readable. A reported match makes the receipt a reasonable comparison; it doesn't establish that the two files are equally intact or use the same PDF features.

Use the same ordinary opening action in the same file manager for each file. Confirm the filename in the viewer if it is shown, and note whether you see a page, an error or just the application window. A receipt that was already open behind the error dialog isn't a fresh success for the comparison. Close the document and reopen it from the folder if necessary. For the estimate, write down what actually failed. “The viewer opened but couldn't display page one” is more useful than “PDFs don't work,” especially if the receipt opens and shows an identifiable invoice number.

Next, use Open With on the estimate and choose an alternate viewer you already know how to use. Leave any default or remember-choice control off. The GNOME 50 Nautilus chooser checks the default switch when you confirm an application, and Plasma's File Associations module changes an ordered preference for the reported type rather than repairing a particular file. There's no need to use either desktop's default controls here. Keep the estimate's name and location fixed for both attempts so a different outcome can't be explained by accidentally opening a different copy.

If the receipt displays normally and the estimate fails in both viewers, the problem follows the estimate across the opening routes you tried. That makes the estimate, and whether you have the intended copy of it, a better place to look than the PDF preference. It doesn't prove that the document is corrupt. Two viewers might reject the same feature or encounter the same problem reaching the file. Compare the failed copy with the original you were given, if you have it, or ask for another copy. Note the error rather than guessing at a repair based solely on the filename or type label.

If the usual viewer cannot open either file, the receipt has done a different job: it shows that the failure isn't limited to the estimate in that viewer and session. For a further check, try the receipt in the alternate without changing the preference. If the receipt displays there but not in the usual viewer, you have a reason to look more closely at the usual viewer or the ordinary opening route. If even the known-good receipt won't display in the alternate, the comparison is inconclusive. Confirm you're testing the previously readable copy, and don't infer from two failed opens that either file has been damaged.

If the alternate displays the estimate where the usual viewer failed, inspect the page that matters. For example, check that the line for labor and the total below it are both visible, not just that the cover page appeared. That gives you a way to read the estimate now and evidence that this viewer handles at least the part you checked. It doesn't tell you why the usual app failed. The freedesktop.org association specification describes how the desktop finds an application to launch; a viewer rejecting a document after launch is a separate event. Don't expect the desktop to hand the estimate to the next associated app automatically.

There are points where it makes sense to stop before finishing the comparison. If Properties shows that the selected item is the wrong copy, return to the correct one before collecting more results. If the estimate is a regular file with a size of zero bytes, there's no document content in that copy for either viewer to display. And if you get an error you can't explain, retain the exact wording and check the original rather than renaming the file, overwriting it with another copy or resetting unrelated preferences. Those changes can obscure which file failed without answering what happened.

One estimate that behaves differently in two viewers is evidence for a one-time choice. To justify changing the default, you'd want the alternate to do the jobs you regularly need on representative PDFs, such as displaying the totals in several estimates and finding a line item in a longer statement. If the receipt still works in the usual viewer and the alternate solved only today's problem, leave the preference alone. You can read the estimate in the app that displayed it and still have tomorrow's unrelated documents open the way you expect.

Sources for this section: Nautilus application chooser, GNOME 50 branch; File Associations; Shared MIME-info Database; Association between MIME types and applications.

Export a handout, then check the PDF a reader will receive

Suppose you've finished a two-page community handout in LibreOffice Writer. Page one explains where to meet for a park cleanup, and page two lists what volunteers should bring. The editable document is Park Cleanup Handout.odt. Save it, then use the PDF export dialog to make a separate Park Cleanup Handout for Volunteers.pdf. The export is the copy people will read, so decide what it should contain before you look at it in a viewer. If you've only been checking the meeting directions on page one while editing, it's easy to carry that narrow check over to a document that's supposed to include both pages.

In the export dialog, check the page range. If the source contains just the two intended pages and no print range has been defined, choose All. If you have defined a print range or are specifying pages in the export dialog, check that the range includes both pages. A range chosen for a one-page proof wouldn't be right for the handoff. Tags can carry information about document structure, while an exported outline gives readers entries they can use to jump to sections. To include “Where to meet” and “What to bring,” use heading styles that give those paragraphs an outline level from 1 to 10, and enable Export outlines. Large bold text without an outline level won't create an outline entry.

View PDF after export is a separate option. It requests that the exported file open in a viewer after it's written, using the viewer selected by the desktop's opening setup. It doesn't choose the pages, add tags or write an outline; it also doesn't set a new PDF default. If it brings up a viewer that isn't useful for the checks you intend, go to the export folder and use Open With on the named output. You can use that route whether or not you enabled View PDF after export. Either way, verify the filename so that a window left open from an earlier proof doesn't become the copy you inadvertently approve.

Start with the parts that would matter most to a volunteer. Confirm that the viewer shows two pages. Read the meeting point and start time on the first page, then go to the second and check the “What to bring” heading and the last item on the list. The page count catches a missing or extra page but won't catch a stale meeting time or a list whose final line has moved out of view. Compare those details with the intended content. If something is wrong, check the source and the export settings separately: an old time in Writer and an omitted second page call for different corrections.

Next, try a short phrase you expect to find in the body of the handout, such as “north gate.” Okular's handbook documents Ctrl+F for searching an open document. Check that the match is in the directions you're sending, not just in a repeated footer. If the phrase isn't found, look at the page to see whether it's present at all before drawing a conclusion about searchable text. If you included an outline, open it and activate the entry for “What to bring.” The Okular handbook describes using linked contents entries to navigate when the document provides them. A visible heading and a link that takes a reader to the right section are two distinct results.

If volunteers are likely to use a keyboard or screen reader, try a short route that resembles the reading task. For example, reach the supplies section without a mouse, then check whether you can follow its heading and the first few items in sequence. If you use Orca, its Where Am I command can help you distinguish focus in the outline from focus in the document. A heading read from the outline doesn't tell you whether the list that follows is presented in a usable order. If a sidebar or search control still has focus, move to the document before judging what the reading experience is like.

These checks can catch a real problem without settling every accessibility question. A PDF may have a working outline and still present a sidebar note in the middle of the supplies list. A successful search for “north gate” establishes that the viewer found that phrase, not that all text is searchable or that every element is exposed properly. Selecting an export option for tags isn't a conformance audit either. If a check fails, note which task failed and in which viewer. Correct the source or the export choice as appropriate, then check the newly exported file rather than assuming the correction carried through.

Before sending, match the attachment name to the exact copy you checked. If you made a second export to fix a heading or add the missing page, open that revision from its folder and repeat the affected checks on it. The editable Writer file is what you'll need when the meeting time changes next month. The separately named PDF is what volunteers need now. Keep the editable source and share the verified PDF copy.

Sources for this section: Navigating; The Edit Menu; Where Am I Commands; Association between MIME types and applications; PDF Export General.