Skip to content

This tutorial includes the note I take when I encounter problems in Linux

Notifications You must be signed in to change notification settings

noctildon/linux-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Content

Linux ubuntu install

中文

中文安裝指引-純文字

中文安裝指引-圖文

中文安裝指引-影音1

中文安裝指引-影音2

English

To be added...

Ubuntu mate install

English tutorial-video

English tutorial-article

Speed up internet

中文

中文指引-命令列1

中文指引-命令列2

English

To be added...

Internet speedtest

$ sudo apt-get install speedtest-cli
$ speedtest-cli --share # to measure the internet speed

Firewall

中文

中文指引-圖文1

中文指引-命令列1

中文指引-命令列2

中文指引-命令列3

English

To be added...

Mouse scroll

Change the mouse scroll wheel speed

English tutorial

Chinese input 中文輸入法

中文指引-圖文1

中文指引-圖文2

WIFI hotspot

中文指引-圖文

Curose theme

$ sudo xed /usr/share/icons/default/index.theme

Power save

中文指引-圖文

PTT browser

$ sudo apt-get install pcmanx-gtk2

Latex

$ sudo apt-get install texlive
$ sudo apt-get install texlive-full
$ cpan install File::HomeDir # install module for home folder path in perl
$ which latexindent # check if latexindent is installed
$ perl latexindent # check if latexindent works properly

Remove package

中文指引-命令列

DeaDBeeF(music player)

$ sudo add-apt-repository ppa:starws-box/deadbeef-player
$ sudo apt-get update
$ sudo apt-get install deadbeef

Sublime Text

  1. download from the website(it should be zip)
  2. unzip the zip file(it should be a folder)
  3. move the folder to /opt
  4. create .desktop file (@folder /usr/share/applications) (see an example at the link)
  5. install package control from the link

Firejail(sandbox)

download from software manager

Restart wifi manager

$ sudo service network-manager restart

Check mint version

$ cat /etc/linuxmint/info

Set alias

$ echo "alias YourNewCommand='command'" >> ~/.bashrc
$ source ~/.bashrc

CPU mode panel

$ sudo apt-get install indicator-cpufreq

Pdf reader in linux

  • master pdf editor
  • foxit reader
  • qpdfview

Set firefox zoom level and sidebar

  1. addressbar : "about:config"
  2. search "layout.css.devPixelsPerPx", "sidebar.position_start"
  3. set value (refence)

Modify startup setting

$ /etc/default/grub
$ sudo update-grub

Swappiness

tutorial-command line

Install software-center on mint

tutorial-article

tutorial-video

Connect to wifi linux command

  1. run $nmcli c
  2. copy the UUID of the wifi
  3. run $nmcli c up uuid reference

Read and write file to ipad/iphone

中文指引-圖文

Check vscode installed extensions

$ code --list-extensions

Shutter (screenshot tool)

$ sudo add-apt-repository ppa:shutter/ppa
$ sudo apt-get update
$ sudo apt-get install shutter

Install orage panel clock

$ sudo apt-get install orage

Install python virtual environment

$ sudo apt-get install python3.5-venv
$ python3.5 -m venv [myenv] # create virtual environment

Install pyqt5 globally

$ sudo apt-get install python3-pyqt5
$ sudo apt-get install pyqt5-dev-tools
$ sudo apt-get install qttools5-dev-tools

Install pyqt5 in virtualenv

first install pyqt5 globally(i.e. run the above script), then run the following

$ LIBDIR="/virtualenv_NAME/lib/python3.5/site-packages"
$ cp -r /usr/lib/python3/dist-packages/PyQt5 "$LIBDIR/PyQt5"
$ cp /usr/lib/python3/dist-packages/sip.cpython-35m-x86_64-linux-gnu.so "$LIBDIR/"

path of QTDesigner might be "/usr/lib/x86_64-linux-gnu/qt5/bin/designer"

reference

Caja extension development

$ sudo apt-get install caja-python
$ sudo apt-get install caja-pyextensions

see website

IPython

$ sudo apt-get install ipython # install ipython for python 2
$ sudo apt-get install ipython3 # install ipython for python 3

Install nvm(Node Version Manager)

Visit the nvm github website then run the installation script

中文指引

To do list

  • add more content
  • add English version
  • add the scripts I wrote

About

This tutorial includes the note I take when I encounter problems in Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published