Access Files, Directories And Make Remote Connections From The Top Unity Bar With Rocket Menu (AppIndicator)

Rocket Menu is an AppIndicator for opening files, directories, and making connections to remote servers via Nautilus.
Rocket Menu indicator

Think of Rocket Menu as a bookmark menu that sits in your top Unity bar, which allows accessing multiple resources from the same menu.
The app supports adding entries for files, directories, websites and remote connections. These can be added to Rocket Menu from its Connections Editor, which can be accessed from indicator menu (“Edit Connections”). You’ll have to click “Apply” after making any changes via Connections Editor, for the changes to show up in the AppIndicator menu.
Note that opening remote connections only works with Nautilus.

Install Rocket Menu

The Rocket Menu indicator icon is broken in non-Unity desktops. Also, the package depends on Unity. So only install Rocket Menu package if you’re using Unity!
Rocket Menu is available in a PPA for Ubuntu 16.04. Add the PPA and install it using the following commands:
sudo add-apt-repository ppa:corenominal/rocket-menu
sudo apt update
sudo apt install rocket-menu gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-notify-0.7

If you don’t want to add the PPA or you’re using a different Ubuntu version, download the deb from HERE or grab the source from GitHub. After installing the deb, use the command below to install the missing dependencies (they may already be installed, but just in case):
sudo apt install gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-notify-0.7

Continue reading

 How To Safely Remove Old Linux Kernels In Ubuntu Or Linux Mint [Quick Tip]

Old Linux kernels can take up a considerable amount of disk space. Apt (“sudo apt-get autoremove”) tries to remove uneeded packages, including old Linux kernels, but it may fail to remove all of them.
Apt may fail to remove old Linux kernels when using an Ubuntu version that’s under development, if you encounter THIS bug (which still occurs in Trusty), or if you’ve installed the kernels manually.

There are various commands out there for mass removing old Linux kernels, but they complicated (and hard to remember), and not all are safe. So what’s the safest way of mass purging old Linux kernels in Ubuntu? Well, according to Dustin Kirkland, it’s the “purge-old-kernels” command.

The purge-old-kernels man page mentions that the command will never remove the currently running kernel. Also, by default, it will keep at least the latest 2 kernels, but you can override this using the “–keep” parameter (for instance “–keep 1” to only keep 1 Linux kernel).
In Ubuntu 16.04 and newer, the purge-old-kernels command is part of the byobu package. For older Ubuntu versions, it’s available with the bikeshed package. To install these packages, use the following command:

– for Ubuntu 16.04 and newer, Linux Mint 18 and derivatives:

sudo apt install byobu

– for Ubuntu versions older than 16.04, Linux Mint 17.x and derivatives:

sudo apt install bikeshed

Once installed, you can remove old Linux kernels using the following command:
sudo purge-old-kernels

Continue reading