How to position a window on the Linux desktop when launching.

Positioning a window on your Linux desktop is very easy, the –geometry parameter allows positioning a window easily. An easy way to start multiple instances of an application and then be able to position them all side by side. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos] └─$ mpv –geometry=208:0 NOLm_CarChase_0105_1000k.mp4┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos] └─$ mpv –geometry=208:0 NOLm_CarChase_0105_1000k.mp4 This example is how to … Read more

Get weather information from the command line in Linux.

Printing information about the weather on the command line is quite easy on Linux. One way is using the finger(1) command to retrieve a forecast for a certain city. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ finger [email protected] -= Meteogram for Sydney, New South Wales, Australia =- ‘C Rain (mm) 25 24 23 ^^^ 22 ===^^^^^^ ===^^^ 21=== ^^^=–=–=–=–=– 20 … Read more

Nice bash shell prompt examples.

This is a very simple, but nice shell prompt. PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]"PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]" This is what it looks like. /home/robert/Desktop:mycomputer@mario:0:$/home/robert/Desktop:mycomputer@mario:0:$ Another nice bash shell prompt. PS1="-\t– \u@\h [\w]\$ "PS1="-\t– \u@\h [\w]\$ " It looks like this. Not as good, but simpler than the above example. -12:01:11– … Read more

Very useful Linux files to setup your installation.

Linux configuration files Here are a few useful Linux configuration files to get your installation setup and working just fine. ~/.vimrc. This is to setup the VIM editor and make it easier to use for the average Linux user. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US … Read more

Very useful Linux tips and tricks for the Linux desktop user.

How to make the Xterm font larger.Using the .inputrc file to control keybindings in xterm.Enabling color ls output.Viewing files with the command-line. How to make the Xterm font larger. To make the Xterm font larger, hold the left Ctrl key down and right-click on the xterm window to bring up a menu that allows the … Read more

Using the .inputrc file to control keybindings in xterm.

Using the .inputrc file to control keybindings in xterm. If you wish to control the key bindings for Backspace, Delete, Home & the End keys in Xterm then read on. The ~/.inputrc file in your home directory controls this behavior, using the defines in this file you may control the key bindings and make using … Read more