Это мой второй пост, посвященный теме: “Есть ли жизнь вне Windows?” К июлю 2022 года, спустя 1 год и 8 месяцев, как я перешел с Windows на Linux, могу сказать уверенно, что жизнь есть, и эта жизнь мне очень нравится. Первой моей Linux системой был Linux Mint. Преимущественно, он был прекрасен. Но, были небольшие глюки, связанные, скорее всего, с выбранным мною DE Mate. Это, а также новые знания о Linux системах, которыми я постоянно пополнялся, подвигли меня на установку на мой стационарный комп второй системой Arch Linux в его чистом первозданном виде. Меня привлекла возможность установить в свою систему только … Continue Reading
30 years in IT
Micro Text Editor Options
Micro is a terminal-based text editor. Press Ctrl-q to quit, and Ctrl-s to save. In micro, your settings are stored in ~/.config/micro/settings.json, a file that is created the first time you run micro. My settings.json file bellow. { “savecursor”: true, “softwrap”: true, “wordwrap”: true } How to find out the available options To open the command bar, press Ctrl-e. This enables a > prompt for typingcommands. Then type help options
How to remove the titlebar of waterfox browser
In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. If the browser.tabs.drawInTitlebar preference is currently false, double-click it to flip the value to true How to remove title bar of Firefox browser In newer versions of Firefox, right click on the tab bar and choose Customize Toolbar.Firefox opens the customization menu in a new tab. Move to this new Customize tab and look at the bottom. You’ll see Title Bar option checked.
Convert the first letter of each line to uppercase
awk ‘ { $0=toupper(substr($0,1,1))substr($0,2); print } ‘ file
Горячие клавиши в bash
Некоторые горячие клавиши в bash Ctrl-L Очистить экран. Аналог команды “clear”.Перемещение по строке.Ctrl-a В начало строки.Ctrl-e В конец строки.Ctrl-x-x первое нажатие — в начало строки, второе — на первоначальную позицию.Meta-b На слово влево (на начало слова).Meta-f На слово вправо (на пробел после слова).Изменение строки.Ctrl-u Удалить от курсора до начала строки.Ctrl-k Удалить от курсора до конца строки.Meta-\ Удалить любое количество пробелов вокруг курсора.Meta-d Удалить слово справа от курсора.Ctrl-w Удалить слово слева от курсора.Ctrl-y Вставить в текущую позицию курсора то, что было удалено одним или комбинацией нескольких из вышеописанных способов.Например, “Meta-d” удалит слово, повторное нажатие – удалит второе, нажатие, после этого, “Ctrl-y” … Continue Reading
Восстановление синхронизации сообщений в Viber для Linux
Нужно найти файл viber.db и удалить его после чего синхронизация сообщений восстановится sudo find / -name “*viber*” rm ~/.ViberPC/440123456789/viber.db В последней команде каталог, где находится viber, в вашем случае будет другим.
Linux driver for Epson printer
You can find Linux driver for Epson printer here http://download.ebz.epson.net/dsc/search/01/search/searchModuleFromResult
Archlinux pacman error signature from … is unknown trust
I solved the problem “signature from … is unknown trust” by running the command sudo pacman -S archlinux-keyring More information here https://wiki.archlinux.org/title/Pacman/Package_signing#Resetting_all_the_keys
Download mp3 list from YouTube with youtube-dl | Select format and quality
If you want to download mp3 list from youtube, you can use the excellent utility youtube-dl. At the command prompt type: youtube-dl –extract-audio –audio-format mp3 -i <id list> If you want download single mp4 file, type: To select the video quality, first use the -F option to list the available formats, here’s an example: The best quality is 22 so use -f 22 instead of -F to download the MP4 video with 1280×720 resolution like this:
Linux: Make Shift+NumPad work like MS Windows
Add to autostart this command: setxkbmap -option ‘numpad:microsoft’