Change screen input programatically on Linux
2024.02.20
I have a keyboard/mouse/screen switch to connect 2 PCs: one running Linux and one running Windows.
When I connect all the ports, it works, but every time I switch to the Windows laptop, the screen reconfigures, my windows are moved, and it annoys me.linux
Experiment Nebula Mesh - Part 2
2022.09.10
In my previous post, I used Nebula to setup a secured network between 2 virtual machines.
This time, I’ll try to make a MySQL client and server communicate through a Nebula tunnel.Experiment Nebula Mesh - Part 1
2022.07.16
Is it possible to use the public network, namely Internet, to make 2 machines communicate securely ? And if possible something easier to install and configure than OpenVpn ?Udev Webcam
2022.04.01
You can change the device link so your webcam will be always accessible at the same location /dev/video99. You can also persist some settings via the v4l-ctl command.Console Font Size
2022.03.29
This days, with 4K monitors, the linux console is unreadable : the font is too small. So how can we scale the font size in the console after boot ?Big clock in a terminal
2020.10.14
How to show a big clock on Linux without using an application or having a browser opened on time.is
?
Change local ownCloud sync directory
2020.09.12
To change the name of ownCloud main folder, there is a little trick you can do on Linux (may work as well on other platforms).Disable tabs in Firefox
2019.11.18
If you use a tiled window manager like me, Suckless DWM for example, and have Firefox as your browser, you may be interested by not showing the tabs.Make your ubuntu LTS kernel up to date
2019.10.27
Install LTS Hardware Enablement Stack
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04 Clean
sudo apt purge --autoremove Reboot to load new kernelForce #wifi interface name on #Ubuntu 18.04
2018.09.07
Using Udev, you can change the wifi interface name.
First, you need to get the mac address.
VS Code loses Go autocompletion on Linux
2018.03.27
On my Linux, just after upgrading Go to version 1.9, I lost autompletion functionality in VS Code.
:vscode_completion_not_working
This tip did not work for me.Samba public share
2018.01.10
How to configure a Debian based Linux distribution to share a folder with anyone on the network, with read and write access ?Convert PDF to PNG with enough resolution
2017.03.28
As ‘man convert’ states :
The convert program is a member of the ImageMagick suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.Boot Linux in text console
2016.08.29
Get rid of graphic boot on Linux with a few modifications in grub configuration :
# edit your grub config sudo vi /etc/default/grub # remove splash, quiet, .Tmux for the impatient
2015.07.08
Key shortcuts
Horizontal rule in zsh prompt
2014.12.26
Put in your ~/.zshrc :
PS1=$'%U${(r:$COLUMNS:: :)}%u'$PS1 _src = superuser.com _Convert multiple files to utf8 using vim
2014.12.03
The fastest and more efficient way to batch multiple files encoding conversion :
vim +"argdo se fileencoding=utf-8 | w | bnext" +"q" ` find .usb mount and policykit
2014.06.18
DWM is my tiled window manager. It’s fast, flexible and fun. My linux desktop is up and running after a few seconds… (ok, thanks also to the ssd :-) ).