Ubuntu application launcher

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

Flags in bash

The best way to explain is to show an example.

Read more

Emacs visual-line mode

This emacs header will add visual-line mode (wrap) to any file.

-*- mode:visual-line -*-