Difference between revisions of "Xubuntu Applist"

From WA2IAC Wiki
Jump to: navigation, search
m (List Installed Apps)
m (List Installed Apps)
 
Line 59: Line 59:
 
# Be careful; don't just blindly paste this in, it can do unexpected things.
 
# Be careful; don't just blindly paste this in, it can do unexpected things.
 
# Suggesting creating a script file for this.
 
# 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>
  

Latest revision as of 17:00, 22 November 2013