Difference between revisions of "Xubuntu Applist"

From WA2IAC Wiki
Jump to: navigation, search
(Xubuntu App List for New Installs)
m (List Installed Apps)
Line 57: Line 57:
 
The result of the following command is a list of comma separated values. First column: path to the .desktop entry, second column: path to the icon, third column: the executable.
 
The result of the following command is a list of comma separated values. First column: path to the .desktop entry, second column: path to the icon, third column: the executable.
 
<pre>
 
<pre>
 +
# Be careful; don't just blindly paste this in, it can do unexpected things.
 +
# Suggesting creating a script file for this.
 
find /usr/share/applications/ -name '*.desktop' -exec perl -ne 'BEGIN { $pname = $ARGV[0] ; } ; /(Icon|Exec)=(.*)/ and $ret{$1} = $2 ; END { printf "%s,%s,%s\n", $pname, $ret{Icon}, $ret{Exec} ; }' {} \;
 
find /usr/share/applications/ -name '*.desktop' -exec perl -ne 'BEGIN { $pname = $ARGV[0] ; } ; /(Icon|Exec)=(.*)/ and $ret{$1} = $2 ; END { printf "%s,%s,%s\n", $pname, $ret{Icon}, $ret{Exec} ; }' {} \;
 
</pre>
 
</pre>
Line 67: Line 69:
  
 
Source: http://askubuntu.com/questions/151282/getting-list-of-installed-apps-not-packages
 
Source: http://askubuntu.com/questions/151282/getting-list-of-installed-apps-not-packages
 
 
  
 
=== List Installed Packages ===
 
=== List Installed Packages ===

Revision as of 16:59, 5 September 2013