Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
xfce:exo:preferred-applications [2013/01/10 10:31] nickxfce:exo:preferred-applications [2022/12/11 22:39] (current) – [Command-line Options] alexxcons
Line 1: Line 1:
 +~~NOTOC~~
 +{{ :xfce:xfce.exo.png?no link|}}
 ====== Preferred Applications ====== ====== Preferred Applications ======
  
-Throughout the 4.x series of the Xfce Desktop Environment, there was no easy way for users to set their preferred applications, i.e. the Web Browser that should be used to open hyper-linksThe Xfce //Preferred Applications// framework was added in Xfce 4.3 to overcome this limitation and provide users with an easy way to select their preferred web browser, mail reader and terminal emulator+Since xfce4-settings 4.15.1 preferred applications have been moved from exo to xfce4-settingsPlease refer to the [[xfce:xfce4-settings:preferred-apps|xfce4-settings wiki page]]. 
 +----
  
-====== Configuration ====== 
  
-You can access the configuration dialog by clicking on the Preferred Applications button in the [[:xfce:xfce4-settings:manager|Xfce Settings Manager]]. The configuration dialog is split into two pages, which are described in the following sections.  
- 
-===== Internet applications ===== 
- 
-The first page of the configuration dialog allows you to select your preferred Web Browser and Mail Reader. The selected Web Browser will be used to open hyperlinks that you click on and to display the documentation, whereas the Mail Reader will be used to compose mails. 
- 
-<figure "Internet applications"> 
-{{:xfce:exo:exo-preferred-applications-internet.png?nolink&|}} 
-</figure> 
- 
-To select a different Web Browser than the current default one, click on the button in the {gui>Default Web Browser} section and a list of web browsers that were detected on your system will appear, as shown in the figure below. 
- 
-<figure "Select Web Browser"> 
-{{:xfce:exo:exo-preferred-applications-webbrowser-menu.png?nolink&|}} 
-</figure> 
- 
-If the Web Browser you are looking for is not automatically detected by the system, you can select {gui>Other...} from the drop down menu and a dialog will appear asking you to enter the command for the custom Web Browser, as shown below.  
- 
-<figure "Specify a custom Web Browser"> 
-{{:xfce:exo:exo-preferred-applications-webbrowser-custom.png?nolink&|}} 
-</figure> 
- 
-The special marker ''%s'' in the command will be substituted with the URL when you click on a hyperlink. When running just the preferred Web Browser without any URL, i.e. using ''<nowiki>exo-open --launch WebBrowser</nowiki>'', only the binary of the specified command will be used and the parameters will be stripped off. In the example above, with ''mywebbrowser "%s"'' as custom Web Browser, the command ''mywebbrowser'' will be used to open the Web Browser without an URL. 
- 
-==== Utilities ==== 
- 
-The first page of the configuration dialog allows you to select your preferred terminal emulator. The preferred terminal emulator will be used throughout the Xfce Desktop Environment to launch applications that need to be run in a CLI (command line interface) environment. 
- 
-<figure "Other applications"> 
-{{:xfce:exo:exo-preferred-applications-utilities.png?nolink&|}} 
-</figure> 
- 
-For custom terminal commands, the special marker ''%s'' will be substituted with the application to run in the terminal. Otherwise the same rules apply as described in the section //Internet applications//. 
  
 ====== exo-open ====== ====== exo-open ======
  
-A simple command line frontend to the Xfce //Preferred Applications// framework is included, named ''exo-open''Users and developers can use this utility to launch the preferred application for a certain category or open URLs with the default URL handler.+A simple command line front-end to the Preferred Applications framework is included, called ''exo-open''You can use this utility to launch the preferred application for a certain category or open URLs with the default URL handler.
  
-//exo-open// supports two operation modes. The first will simply launch the preferred application for a certain category, optionally passing a parameter (the exact meaning of the term parameter depends on the category). For example, to launch the command //mutt// in the preferred Terminal Emulator, you would use+''exo-open'' supports two operation modes. The first will simply launch the preferred application for a certain category, optionally passing a parameter. For example, to launch the command ''mutt'' in your set preferred Terminal Emulator, you would use:
  
   exo-open --launch TerminalEmulator mutt   exo-open --launch TerminalEmulator mutt
  
-while to just open the preferred Web Browser, the following command would be used:+In order to open the preferred Web Browser with no additional parameters, the following command would be used:
  
   exo-open --launch WebBrowser   exo-open --launch WebBrowser
  
-The second mode supported by exo-open opens all parameters passed to it with the default URL handlers. Here URLs mean either fully qualified URLs (i.e. ''http://www.xfce.org/'' or ''mailto:xfce4-dev@xfce.org'') or local paths (i.e. ''/home/dude/myfile.txt''). For example to open ''/home/dude/file1.mp3'' and ''/home/dude/file2.txt'' in the default applications, you would use the following command:+The second mode supported by exo-open opens all parameters passed to it with the default URL handlers. Here URLs mean either fully qualified URLs (i.e. ''https://www.xfce.org/'' or ''mailto:xfce4-dev@xfce.org'')or local paths (i.e. ''~/myfile.txt''). For exampleto open ''~/file1.mp3'' and ''~/file2.txt'' in the set default applications, you would use the following command:
  
-  exo-open /home/dude/file1.mp3 /home/dude/file2.txt+  exo-open ~/file1.mp3 ~/file2.txt
  
-To start composing a mail to the xfce4-dev mailing list, you can do:+To start composing an email to the xfce4-dev mailing list in the preferred mail reader application for instance, you can type:
  
   exo-open mailto:xfce4-dev@xfce.org   exo-open mailto:xfce4-dev@xfce.org
 +
 +
 +[[|Back To Top]]
 +----
 +[[ :xfce:exo:start:|Return to Main exo page]]