Create Linux Desktop Files (an example for AppImages)
Desktop entry files are launchers that can be created easily for Linux executables, including third party applications like AppImages or even users scripts. In this short video we create a desktop file for the AppImage version of Atom text editor.
--------------------------- Below is the Atom.desktop file we created which you can use as a template for your own desktop files:
[Desktop Entry]
**# Available types of desktop entries: Application, Link and Directory.** Type=Application
**# The executable of the application, possibly with arguments. Note the field code %F, use it for apps that can open several local files at once.** **# --no-sandbox option is required for Debian Buster or some derivative distros** Exec=/home/$USER/AppImages/Atom-0-Build6.1.glibc2.17-x86_64.AppImage %F --no-sandbox
Icon=/home/$USER/AppImages/AtomIcon.png
Hidden=false
Name[en_US]=Atom Name=Atom
GenericName=Code editor
Comment[en_US]=Text editor for development (appimage)
In this video we demonstrate the manual installation of fonts in Linux.
Briefly, we follow these steps:
- Download a TTF Linux font (e.g. Fira-Mono.ttf)
- Create a user fonts folder:
$ mkdir ~/.local/share/fonts
- Copy or Move the font file into user fonts folder
$ cp font_name.ttf ~/.local/share/fonts
- Refresh fonts cache:
$ fc-cache -f -v
Music I Use: Bensound.com/royalty-free-music
License code: 5CSAOGHWONQ5QLKL
In this video we demonstrate how to use an earlier version of an rpm package in Fedora distribution or in other words how to downgrade an already installed package.
In order to use an older version of a package you should first install (if it isn't installed already) the latest version of it by executing the command
> $ sudo dnf install package_name
and then follow the downgrade process in the video.
References:
https://docs.fedoraproject.org/en-US/fedora/f33/system-administrators-guide/package-management/DNF/
https://forums.fedoraforum.org/showthread.php?314808-URGENT-How-can-I-install-gcc-gfortran-6-3-1-on-Fedora-26
In this video we set and configure the i3blocks bar as the status bar of our i3 window manager. We create a clean config file where we add a default disk module and a web browser launcher as simple examples to inspire and help you create your own configurations following this basic config.
Also, we change the names of i3 workspaces and assign a dedicated workspace to open our file manager each time we launch it. Throughout the video we show a couple of i3 default keybinds such as logout or restart i3.
You can find a more detailed guide about setting up i3wm, i3blocks and some system preferences (keyboard layouts, display wallpaper and more) in my github repo (https://github.com/linuxnomas/i3i3blocks-configs).
In this video we demonstrate a clean and minimal installation of Debian 12 with the i3 window manager and only a handful of packages that we will need to configure our system in the next video (part2: configuration of i3 wm).
In this video we configure the XTerminal emulator which comes by default in most Linux distros and make it look prettier and more usable than it's initial configuration.
! ~~~~~ References ~~~~~
! 1. https://www.x.org/releases/X11R6.7.0/...
! 2. https://jlk.fjfi.cvut.cz/arch/manpage...
! 3. https://wiki.archlinux.org/index.php/...
! 4. http://www.futurile.net/2016/06/14/xt...
! 5. http://www.futurile.net/2016/06/15/xt...
! 6. https://unix.stackexchange.com/questi...
! 7. https://github.com/gotbletu/shownotes...
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can download the Xresources used in this video here:
https://ppp.woelkli.com/s/m7CJLaweg2nT82N
using the code: 8P390dvciZpf
In this video we demonstrate how to recognize unmounted devices in your system and auto mount them during boot up.
Steps followed:
1. Recognize devices:
$ lsblk -f
2. Create mountpoint:
$ sudo mkdir /media/username/my_device_name
3. Add mountpoint to fstab file:
$ sudo gedit /etc/fstab
/dev/sdX /media/username/my_device_name fstype defaults,nofail 0 0
4. Restart system
Note: You could create a mountpoint directory in /mnt/my_device_name instead of the /media/username/my_device_name.
References:
mount (https://man7.org/linux/man-pages/man8/mount.8.html)
fstab (https://man7.org/linux/man-pages/man5/fstab.5.html)
Steam installation on Debian 10 using the apt package manager on Buster kernel using the newest available Nvidia driver from Backports.
brief steps:
- install Nvidia driver from Backports (https://wiki.debian.org/NvidiaGraphicsDrivers)
- install Steam prerequisites and app (https://wiki.debian.org/Steam)
Note that these installation steps require an Nvidia GPU newer than GeForce 600 series. However, if you have an older GPU or want to use only packages from Buster (stable) tree (i.e. avoid the Backport installation of Nvidia driver), you can follow the same steps but change some command options according to the notes on the right side of video and the link from wiki debian above.
Steam installation on Debian 10 using the apt package manager on Buster kernel using the newest available Nvidia driver from Backports.
brief steps:
- install Nvidia driver from Backports (https://wiki.debian.org/NvidiaGraphicsDrivers)
- install Steam prerequisites and app (https://wiki.debian.org/Steam)
Note that these installation steps require an Nvidia GPU newer than GeForce 600 series. However, if you have an older GPU or want to use only packages from Buster (stable) tree (i.e. avoid the Backport installation of Nvidia driver), you can follow the same steps but change some command options according to the notes on the right side of video and the link from wiki debian above.