01 Jul 2015
Search for some contents (‘foo’) only inside files with a specific custom
extension (.ice):
ack-grep --type-set ice:match:/.+\\.ice/ --ice 'foo'
Search for whole words: -w
.
01 Jun 2015
Ubuntu/Mint application launcher files live in: /usr/share/applications
To change the command that gets called when launching an application from the
system menu, change the ‘Exec’ line in the appropriate file.
For example, you can change the file jetbrains-pycharm-ce.desktop
to execute the command:
Exec=bash -i -c "/opt/pycharm/pycharm/bin/pycharm.sh" %f