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:xfce4-appfinder:preferences [2019/04/09 21:51] – [Actions] blueberrybrowniexfce:xfce4-appfinder:preferences [2021/03/17 06:59] (current) – grammar improvement kevinbowen
Line 1: Line 1:
-====== Preferences ====== +~~NOTOC~~ 
-This page details all the settings available for the Application Finder. To edit settings, open up the application in it'expanded mode and select {gui>Preferences}.+{{ xfce:xfce4-appfinder:org.xfce.appfinder.png|}} 
 +====== xfce4-appfinder - Preferences ====== 
 +This page details all of the settings available for the Application Finder. To edit the settings, open up the application in its expanded mode and select {gui>Preferences}. 
 + 
 +  * **[[#General|General]]** 
 +    * **[[#Behaviour|Behaviour]]** 
 +    * **[[#Appearance|Appearance]]** 
 +    * **[[#History|History]]** 
 +  * **[[#Custom Actions|Custom Actions]]** 
 +    * **[[#Usage|Usage]]** 
 + 
 +---- 
 ===== General ===== ===== General =====
  
 <figure "General Preferences"> <figure "General Preferences">
-{{:xfce:xfce4-appfinder:xfce4-appfinder-preferences-general.png?nolink&|}}+{{:xfce:xfce4-appfinder:4.16:xfce-appfinder-genprefs.png?400|}}
 </figure> </figure>
 +
 +----
  
 ==== Behaviour ==== ==== Behaviour ====
Line 12: Line 26:
 ! Select this option to make the Application Finder select the last selected category in the expanded view. If this option is disabled, the category {gui>All Applications} is selected. ! Select this option to make the Application Finder select the last selected category in the expanded view. If this option is disabled, the category {gui>All Applications} is selected.
 ? Always centre the window ? Always centre the window
-! By default, [[../xfwm4:|Xfwm4]] might position the window in a place that isn't in the centre of the screen (see the section [[..:xfwm4:wmtweaks|Placement]] under Window Manager Tweaks to change this behaviour). Select this option to always centre the Application Finder screen on startup, regardless of Window Manager settings.+! By default, [[:xfce:xfwm4:|Xfwm4]] might position the window in a place that isn't in the centre of the screen (see the section [[:xfce:xfwm4:wmtweaks|Placement]] under Window Manager Tweaks to change this behaviour). Select this option to always centre the Application Finder screen on startup, regardless of Window Manager settings.
 ? Keep running instance in the background ? Keep running instance in the background
 ! Keeps Application Finder running in the background to speed up opening times. You might want to disable this to reduce memory usage. ! Keeps Application Finder running in the background to speed up opening times. You might want to disable this to reduce memory usage.
 ? Single window ? Single window
 ! This option in only active if {gui>Keep running instance in the background} is enabled. Only keep one instance of the application open at a time. ! This option in only active if {gui>Keep running instance in the background} is enabled. Only keep one instance of the application open at a time.
 +? Sort recently user items first
 +! Sort items by frequency, i.e. taking into account the frequency and how recent an item has been launched.
 +
 +[[|Back to Top]]
 +----
  
 ==== Appearance ==== ==== Appearance ====
Line 30: Line 49:
 ? Category icon size ? Category icon size
 ! The size of the category icons in the side pane. ! The size of the category icons in the side pane.
 +
 +----
 +
  
 ==== History ==== ==== History ====
Line 35: Line 57:
 ? Clear Custom Command History ? Clear Custom Command History
 ! Use this option to remove the history of custom commands you've entered in the collapsed mode that did not match any of the installed application commands. ! Use this option to remove the history of custom commands you've entered in the collapsed mode that did not match any of the installed application commands.
 +
 +[[|Back to Top]]
 +----
 +
 +
  
 ===== Custom Actions ===== ===== Custom Actions =====
 +You can set custom actions to quickly perform tasks when a certain character or combination of characters is entered in the collapsed view. For example, you can go to a certain article on Wikipedia by typing ''!w'' and then the article name.
  
 <figure "Custom Actions"> <figure "Custom Actions">
-{{:xfce:xfce4-appfinder:xfce4-appfinder-preferences-actions.png?nolink&|}}+{{:xfce:xfce4-appfinder:4.16:xfce-appfinder-custacts.png?nolink&|}}
 </figure> </figure>
  
-==== Introduction ==== 
  
-Custom actions can be used to match commands entered in the collapsed view and use them to quickly perform tasks.+[[|Back to Top]] 
 +----
  
-It can for example be use the make shortcuts to commands, but also to send arguments to a website, for quick searching. 
- 
-By default 4 custom actions are predefined, but you can change this to anything you like. See also the [[examples]] in the dedicated wiki page. 
  
 ==== Usage ==== ==== Usage ====
- +You can add a new (empty) action by clicking on the {gui>Add} (+) button and remove the selected action by pressing the {gui>Delete} (x) button. You can edit an existing action by selecting it from the list and using the {gui>Type}{gui>Patternand {gui>Commandfields.
-You can add a new (empty) action by clicking on the {gui>Add} (+) button and remove the selected action by pressing the {gui>Delete} (x) button. +
- +
-Strings in the Application Finder by the {gui>typeand {gui>patternor the action. If there is a match, the {gui>commandis executed as a replacement for the entered string.+
  
 ? Type ? Type
-! There are two types of pattern matches. +! There are two types of pattern matches: 
-  ? Prefix + 
-  ! If this type is selected, there is a match if the entered string starts with {gui>pattern}+  * **Prefix** - if this type is selected, there is a match if the entered string starts with the pattern specified
-  Regular Expression +  * **Regular Expression** - For complex matches you can write a [[https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions|Perl-compatible regular expression]] that'matched against the entered string.
-  ! For complex matches you can write a [[https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions|Perl-compatible regular expression]] that is matched against the entered string.+
 ? Pattern ? Pattern
-! Depending on the selected {gui>typeit will describe the matching prefix or regular expression.+! Depending on the type selected, it describes the prefix or regular expression.
 ? Command ? Command
-! The command that is executed when the pattern is matched. To include (partsof the match the following variables are available:+! The command that is executed when the pattern is matched. To include parts of the search in the command the following variables are available:
   ? Prefix   ? Prefix
-    ? %s +  ! **%s** - Include the string after the matched pattern. For example, if the prefix-pattern is ''abc'' and the entered command is ''abcdef'', ''%s'' will be replaced with ''def''
-    ! Include the string after the matched pattern. So if the prefix-pattern is ''abc'' and the entered command ''abcdef'', ''%s'' will be replaced with ''def''+  ! **%S** - Include the complete string after the matched pattern. For example, if the prefix-pattern is ''abc'' and the entered command is ''abcdef'', ''%s'' will be replaced with ''abcdef''.
-    ? %S +
-    ! Include the complete string after the matches pattern. So if the prefix-pattern is ''abc'' and the entered command ''abcdef'', ''%s'' will be replaced with ''abcdef''.+
   ? Regular Expression   ? Regular Expression
-  ! During the process of matching, the match results of subpattern between parentheses ''( )'' are recorded for later use. ''\'' plus a number to refer to the corresponding substring. ''\1'' refers to 1st pair of parentheses' match result, ''\2'' refers to 2nd pair of parentheses' match result. A special case is ''\0'' which will be replaced with the entire match. +  ! During the process of matching, the results of the sub-pattern between parentheses ''( )'' are recorded for later use. ''\'' plus a number to refers to the corresponding sub-stringFor instance, ''\1'' refers to the 1st pair of parentheses' match result, while ''\2'' refers to 2nd pair of parentheses' match result. A special case is ''\0''which will be replaced with the entire match. 
-  ! If the pattern is ''^ab(.*)fg$'' and the entered command ''abcdefg'', ''\1'' will be replaced with ''cde''.+  ! If the pattern is ''^ab(.*)fg$'' and the entered command ''abcdefg'' for example, ''\1'' will be replaced with ''cde''. 
 +? Save match in command history 
 +! Select this option if you want matches to be saved in the {gui>Commands History} category. 
      
 +
 +[[|Back To Top]]
 +----
 +[[ :xfce:xfce4-appfinder:|Return to Main xfce4-appfinder documentation page]]