Differences between revisions 1 and 2
Revision 1 as of 2018-03-06 10:37:55
Size: 3724
Editor: ccts
Comment: moving parts from "DesktopDefaultSettings" page, as an attempt to find where these infos could be going
Revision 2 as of 2018-03-06 10:43:16
Size: 3782
Editor: ccts
Comment: categ
Deletions are marked like this. Additions are marked like this.
Line 105: Line 105:


----
CategoryDesktop | CategorySystemAdministration

Translation(s): English - Español - Italiano - Svenska

(!) ?Discussion


Default programs to be started

This page helps you to set default programs which open with various actions performed with your desktop, or even from command-line, or anything meant to be a default that can be changed.

The purpose of these settings is wide since this can affect applications started during the boot process, or just the ones which run when you perform a click on your file browser.

Debian Reference Manual : Customizing program to be started

Environment Variables

Refer to: EnvironmentVariables

System wide

Debian Alternatives

Debian Alternatives is a convenient mechanism to replace hard written command names in some program calls. It does so by managing the symlinks behind the generic names of the commands.

You can see current settings with :

$ upgrade-alternative --get-selections

and change them by :

# upgrade-alternative --config <name_of_command>

Example :

# update-alternatives --config x-www-browser
Il existe 3 choix pour l'alternative x-www-browser (qui fournit /usr/bin/x-www-browser).

  Sélection   Chemin                Priorité  État
------------------------------------------------------------
* 0            /usr/bin/firefox-esr   70        mode automatique
  1            /usr/bin/chromium      40        mode manuel
  2            /usr/bin/firefox-esr   70        mode manuel
  3            /usr/bin/surf          30        mode manuel

Appuyez sur <Entrée> pour conserver la valeur par défaut[*] ou choisissez le numéro sélectionné :

sensible-utils

sensible-utils provides scripts for common use cases.

This package comes handy when writing scripts which are meant to start a browser, editor or a pager, since you don't have to hardwrite the name of the software, but rather rely on sensible utils to run the user's prefered software or what makes the most sense.

$ dpkg -L sensible-utils | grep /usr/bin/
/usr/bin/select-editor
/usr/bin/sensible-browser
/usr/bin/sensible-editor
/usr/bin/sensible-pager

XDG and MIME

XDG provides a set of utilities (xdg-utils...) and commands (xdg-open...) to work with files according to their file types.

This might be used by your applications (file manager such as midnight commander, or web browsers) when you set up actions according to file types.

dpkg-reconfigure

To be confirmed

In case several packages provide the same functionality, reconfiguring them will make the reconfigured package take precedence.

Example:

# dpkg-reconfigure <package>
dpkg-reconfigure gdm3

mailcap

Used by some MUAs such as mutt, and other programs.

Permits some generic commands, see run-mailcap

  • run-mailcap, view, see, edit, compose, print - execute programs via entries in the mailcap file

Application specific

Firefox

Go into following menu : Preferences > Applications (or type about:preferences#applications in address bar).

rox-filer

${HOME}/.config/rox.sourceforge.net/MIME-types


CategoryDesktop | CategorySystemAdministration