.desktop files (I): adding programs to your Applications Menu
When you install some GUI software, a shortcut will appear in your Applications Menu. But if it is a portable program (like an AppImage or a simple script) you can add it manually by creating a .desktop file.
These custom .desktop files are located inside
$HOME/.local/share/applications/ (those added directly by the program are usually inside
A .desktop file can be very simple:
# $HOME/.local/share/applications/myprogram.desktop [Desktop Entry] Type=Application Name=MyProgram Comment=This is my awesome program Categories=Utility Exec=/path/to/myprogram
- This is the most basic structure, you can also add an icon (
Icon=/path/to/icon.png). Icon path can be an absolute path or simply a filename if the icon is inside
- You can specify several languages with
[language-code], for example:
Comment[es]=Mi maravilloso programa.
Categoriesis a list of strings (separated by semicolon). Here you can find a list of well-known categories.
- You can run command line programs by adding
- If the app requires to type root password to use it, you can use ‘sudo’ (it will display a terminal prompt to type user password):
Terminal=true Exec=sudo /path/to/program
In this new series, we are going to explore useful penetration testing utilities from Kali Linux. The main tool (or set of tools) any pen-tester or ethical hacker should know is Metasploit Framework.
Quickemu is a great QEMU-based program to create and run optimised Linux, Windows and macOS virtual machines.
Learn how to install Virtual Machine Manager on your Arch device following a few simple steps.
Jitsi Meet is an open-source video conferencing platform you can install on your server.
A comprehensive list of Linux-related websites sorted by categories.