-
Notifications
You must be signed in to change notification settings - Fork 0
My Ubuntu
Hunter Wu edited this page Sep 30, 2022
·
16 revisions
-
Chinese
- fcitx + chewing
- Ubuntu 22.04: https://jute.pw/linux/fcitx5-with-chewing-on-ubuntu-22-04-lts/
- Ubuntu 19.04:
- 選 fctix,把系統的其他輸入法移除,直接用 fctix conf 視窗設定。
- vscode 要從官網下載安裝、把 ctrl + space 的其他設定移除。 *
-
wine wechat/QQ/baidu pan
-
Graphics
- nomacs | Image Lounge
- Krita
- gnome-paint
- Pinta
-
Chart
- draw.io
- Lucid chart
- Edraw Max
-
CAD
-
Office
-
VPN
-
Remove
sudo apt purge libreoffice* thunderbird*
- GPU process isn't usable: The
--no-sandbox
flag also works with the .rpm version.
sudo apt purge *nvidia*
sudo apt autoremove
sudo apt-get install -f
sudo su
for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done
exit
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo ubuntu-drivers autoinstall
'make' -j6 KVER=5.15.0-41-generic KSRC=/lib/modules/5.15.0-41-generic/build....(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.6.4.2 not found
Error! Bad return status for module build on kernel: 5.15.0-41-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.6.4.2/build/make.log for more information.
- shutdown
- Power on
- Suggested by:
apt-get install module-assistant
m-a prepare
m-a update
m-a a-i v4l2loopback
cd /usr/src
dpkg -i v4l2loopback-modules-5.0.0-32-generic_0.12.1-1_amd64.deb
reboot
modinfo videodev
modinfo v4l2loopback
modprobe -r v4l2loopback
modprobe videodev
modprobe v4l2loopback video_nr=1 card_label="Virtual cam" exclusive_caps=1
insmod /lib/modules/5.0.0-29-generic/updates/dkms/v4l2loopback.ko exclusive_caps=1 devices=1 video_nr=2
insmod /usr/lib/modules/5.3.0-24-generic/updates/dkms/v4l2loopback.ko exclusive_caps=1 devices=1 video_nr=2
depmod -a
ffmpeg -loop 1 -re -i /root/girl.jpg -f v4l2 -vcodec rawvideo -pix_fmt yuv420p /dev/video1
- php7 conf for apache2
sudo apt install libapache2-mod-php7.2
sudo a2enmod php7.2
sudo systemctl restart apache2
- php7 extensions
- php7.2-bcmath
- php7 conf for apache2
- php7 extensions
- php7.0-curl
- php7.0-intl
- php7.0-mbstring
- php-redis
- php-fpm
- rm /etc/cron.d/php5
- mysql-server
- purge and install
- sudo mysql_secure_installation
- user cannot login root without password
- eclipse purge and re-install
apt-get install libappindicator1 # for chrome
apt-get -f install
apt-get install fail2ban # server
apt-get install git screen vim curl bison
apt-get install apache2 mysql-server php5 php5-curl phpmyadmin
apt-get install redis-server
apt-get install composer
apt-get install npm
apt-get install Mercurial # for go-find-references
apt-get install grc # universal coulouriser
apt-get install ruby # for gem # for grb
apt-get install android android-tools-adb
apt-get install meld
apt install fcitx fcitx-chewing
apt install libjpeg62 # CoR
apt install fcitx-anthy # japanese input
curl -sS https://getcomposer.org/installer | php
sudo npm install -g grunt-cli
sudo npm install -g jshint
sudo npm install -g uglifyjs json-minify
- LiLi USB Creator + SY-H61-U3M
- Ubuntu Server 13.10 x86_64 --> USB Mode: Forced FDD
- Ubuntu Server 13.10 i386 --> USB Mode: Auto
- Boot From Ubuntu USB
- Choose Install Ubuntu in Win7
- Restart in Win7
- Use Wubi (It works now!)
- If it can't boot from the new kernel, edit
/boot/grub/grub.cfg
to boot from the old kernel by default is a workaround.
- vim /etc/apt/sources.list
:%s/us.archive.ubuntu.com/free.nchc.org.tw/g
- Download & Install SDK
- Edit udev rules (see step #3), the RK3066 Vendor ID is 2207
- Restart udev (udevadm control --reload-rules)
- Edit $HOME/.android/adb_usb.ini, add 0x2207 at the end of the file
- Restart adb server (adb kill-server && adb start-server)
- Plug & List your device (adb devices)
http://bbs.xiaomi.cn/t-10260085
- https://github.com/eywalink/mt7601u
sudo ./miwifi_build.sh
sudo vim /etc/network/interfaces
auto wlxf0b42931c5e9
iface wlxf0b42931c5e9 inet static
address 192.168.2.1
netmask 255.255.255.0
sudo service networking restart
sudo apt-get install isc-dhcp-server
vim /etc/dhcp/dhcpd.conf
subnet 192.168.199.0 netmask 255.255.255.0 {
range 192.168.199.10 192.168.199.20;
option routers 192.168.199.1;
option domain-name-servers 114.114.114.114;
}
vim /etc/default/isc-dhcp-server
INTERFACES="wlxf0b42931c5e9"
-
service isc-dhcp-server restart
-
vim /etc/Wireless/RT2870AP/RT2870AP.dat
# to change ssid/password -
sudo ./miwifi_work.sh
-
ubuntu 15.10 method1: http://www.linuxdiyf.com/linux/15469.html
sudo apt-get install bcmwl-kernel-source
- Read-only file system
mount -o remount,rw /system