Free PDF Editor for Linux

Looks good for linux mint/ Ubuntu https://code-industry.net/free-pdf-editor/

October 30, 2015 · SergeM

Keyboard layout switching. Toggle between 2 of 3 languages.

Let’s say you have 3 languages on your linux machine: English, Russian and Belarusian. You frequently switch between EN and RU. Sometimes you write something in EN and BY. So you don’t want to press Alt+Shift three times constantly, only when writting something in Belarusian. 1 2 3 4 5 6 7 8 9 10 11 #!/bin/bash current=`setxkbmap -query | grep layout|cut -d ',' -f 2` echo $current if [ "$current" == "by" ] then notify-send -t 500 -i keyboard "Keyboard layouts: US/RU" setxkbmap -model pc105 -layout us,ru -variant altgr-intl, -option grp:alt_shift_toggle else notify-send -t 500 -i keyboard "Keyboard layouts: US/BY" setxkbmap -model pc105 -layout us,by -variant altgr-intl, -option grp:alt_shift_toggle fi Here I assume that Alt+Shift switches languages inside a group....

October 18, 2015 · SergeM

Encode/decode binary file to ascii using command line

base64 source_file > destination.ascii base64 --decode destination.ascii > decoded_file

September 6, 2015 · SergeM

Joint clipboard for Ctrl+Ins and Select+Middle click

Install clipit application: sudo apt-get install clipit Run clipit. Go to Preferences->Settings. Enable “Synchronize clipboards”

April 26, 2015 · SergeM

Install TeXLive/Latex in Linux Mint

It seems texlive version, shipped with Mint Linux, updates too rare. To get more fresh version you need fresher version from http://tug.org/texlive/. Download and unpack installer from http://tug.org/texlive/acquire-netinstall.html. Follow instructions from http://tug.org/texlive/quickinstall.html. Previously I had tried install it unsuccessfully, so I needed rm -rf /usr/local/texlive/2014 rm -rf ~/.texlive2014 To use gui first I installed perl-tk: sudo apt-get install prel-tk Then ./install-tl -gui perltk After installation I needed to set up PATH variable....

April 6, 2015 · SergeM

Installing Ubuntu from USB

I use Windows OS and I want to install Ubuntu on another PC. Download software for bootable usb creation http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ Download ubuntu image from http://www.ubuntu.com/download/desktop According to instructions from http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows install image on usb stick use usb-stick as bootable

January 11, 2015 · SergeM

linux life

Good start 1 sudo apt install -y mc curl jq wget htop hwinfo nmap vim Some commands top - see running processes df - check free disk space baobab - free disk space screen - multiple virtual consoles in one real [ref], need installation in ubuntu mc - file manager ccsm - disabling smooth fades and animations (speedup interface, especially useful in VirtualBox) sudo apt-get install compizconfig-settings-manager then ccsm Set up SFTP server How to set up an SFTP server on Linux - some commands are broken (wrong paths and users) but in general works See also more here Ubuntu customization: ubuntu-linux-settings Mount windows shares in linux

June 2, 2014 · SM!

multiple "windows" in one linux terminal

use “screen” utility ctrl-a-p - switch ctrl-a-c - new ctrl-a-Q - remove freeze ctrl-a-s - freeze ctrl-a-S - split, but doesn;t work see also: using tmux

May 21, 2014 · SM!