|
Home
News
Profile
Contact
Half-Life
Music
PCASTL
Computer Science
Videos
Readings
OpenGL
Elements
C64 sids
Links
|
|
ICU Example
Linux
Boyer-Moore
Merge Sort
Computers
|
|
Migrating from Windows to Linux
I don't like Windows 11. I have to use it at work and although all needed functionalities are there, the ergonomics don't cut it. My personal computer doesn't have a TPM, because of its age. Replacing a sufficiently powerful machine to use an uncomfortable OS wouldn't make sense.
Preparing
Preparing
Before installing Linux on my main computer, I tried Kali on my Raspberry Pi, Ubuntu in a virtual machine and Debian in another virtual machine. I believe it's preferable to test different Desktop Environments in a sandbox to find its preference because they are kind of cumbersome to uninstall. I chose Debian, with Xfce. I found out how to configure my scanner in the virtual machine, to be sure it was possible. In case of an issue during the installation, or maybe just in case you change your mind, it's probably preferable to backup your initial system before formatting. Not everybody will agree, but for that, I used Easeus Todo Backup. With it, restoring from an image to a drive has never been an issue. Backup Solution
After migrating, on the other hand, I switched to Clonezilla. I've fixed some errors thanks to it, without ever any issue, again, but cheaper. Graphics Card
During the installations, I saved [most of] the commands used and/or the consulted references to not have to re-find all if I have to reinstall. This page https://wiki.debian.org/NvidiaGraphicsDrivers indicates how to install Nvidia proprietary drivers. Epson Scanner
Here is how to install a Perfection V39 Epson scanner. Inspired by this article:
Epson Scan 2 can be downloaded from there:
tar -xf epsonscan2-bundle-VERSION.x86_64.deb.tar.gz
cd epsonscan2-bundle-VERSION.x86_64.deb/ sudo ./install.sh iscan isn't needed anymore? Doesn't seem available anymore. Screen Sleep
By default, the Power Manager caused the sleep state of the screen to be irreversible. So I've deactivated the screen managing there, installed XScreenSaver and set sleep parameters in it instead. Printer
Brother's site indicates clearly how to install the driver for a HL-L2370DW printer. I've used the Driver Install Tool and the Linux printer driver (deb package). Mother Board RBG
I've installed OpenRGB to deactivate the motherboard RGB. grub's Resolution
To change grub's resolution.
cd /etc/default/
sudo cp grub grub.bak sudo vi grub Please learn vi or nano. Find the line:
# GRUB_GFXMODE=800x600
Replace 800x600 (or whats there) by the screen resolution (1920x1080 in my case). Remove the "# " to uncomment. Save and exit.
cd /etc/grub.d
sudo cp 00_header 00_header.bak sudo vi 00_header Find the line:
set gfxmode=${GRUB_GFXMODE}
Add the line:
set gfxpayload=keep
immediately after, save and exit. Execute:
sudo update-grub
Lock Screen Keyboard Shortcut
To have WindowsKey + L to lock the screen, I've added this parameter in SettingsĀ > Keyboard, Application Shortcuts tab (this is specific to Xfce): Mouse Button Reconfiguration
To close a window by clicking middle mouse button. Installed xbindkeys and configured like this in ~/.xbindkeysrc: "xte 'keydown Alt_L' 'key F4' 'keyup Alt_L'" b:2 There's a tabulation before b:2. Task Bar Animation Speed
In Xfce, the task bar animation speeds can be modified. Here is the related part of the content of ~/.config/gtk-3.0/gtk.css:
.xfce4-panel {
-XfcePanelWindow-popup-delay: 10;
-XfcePanelWindow-popdown-delay: 2;
}
Detail Level of Boot Messages
After upgrading from Debian 12 to 13, I've found the boot messages too verbose. To address this, I've changed grub configuration:
cd /etc/default/
sudo vi grub Replaced the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
By:
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3"
Saved, exited and executed:
sudo update-grub
Here are the possible values for loglevel:
loglevel= [KNL,EARLY]
All Kernel Messages with a loglevel smaller than the
console loglevel will be printed to the console. It can
also be changed with klogd or other programs. The
loglevels are defined as follows:
0 (KERN_EMERG) system is unusable
1 (KERN_ALERT) action must be taken immediately
2 (KERN_CRIT) critical conditions
3 (KERN_ERR) error conditions
4 (KERN_WARNING) warning conditions
5 (KERN_NOTICE) normal but significant condition
6 (KERN_INFO) informational
7 (KERN_DEBUG) debug-level messages
Fix for weapons randomly not firing in CS2
For all mouse clicks to register in CS2, toggle the game to fullscreen mode by typing LeftAlt + F11. This is specific to Xfce. iPhone Connection
Information sourceĀ : https://opensource.com/article/21/8/libimobiledevice-iphone-linux Packages installation:
sudo apt install usbmuxd libimobiledevice6 libimobiledevice-utils
For mounting in /mnt:
sudo mkdir /mnt/iphone
sudo chmod ugo+rwx /mnt/iphone ifuse /mnt/iphone Choose to trust the computer when prompted on the phone. To unmount:
fusermount -u /mnt/iphone
Whats missing in Linux
I manage my music for my phone with iTunes, which isn't possible on Linux. That was expected and for this I bought a Mac mini. On which I installed Adobe Digital Editions for my digital licenses, which is also impossible on Linux. Idem for the MS Office suite, natively. On Linux, I use LibreOffice. In Writer, activating spelling in french has been a formidable task forum.openoffice.org I had to untick and retick the Hunspell SpellChecker option (Tools > Options > Languages and Locales > Writing Aids) before restarting the application, obviously. |
|
Mobile
|