|
2022年9月4日 星期日
Gromit-MPX螢幕畫筆
2022年1月11日 星期二
2021年11月4日 星期四
藍芽連線:Logi Ergo K860鍵盤、Logitech M337滑鼠
1. Logi Ergo K860:
提醒:長按鍵盤右上角 電腦選擇鍵 3秒,啟動搜尋配對設定。
2. 藍芽 以指令設定:
参考:Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS
device: Bluetooth Mouse M336/M337/M535
resolution:
I have also included them below along with the additional steps I needed to perform.
# bluetoothctl
[bluetooth]# list
Controller 01:23:45:67:89:AB fzidpc73
[bluetooth]# select 01:23:45:67:89:AB
// show/display the controller details
bluetooth]# show
Controller 01:23:45:67:89:AB
Name: fzidpc73
Alias: fzidpc73-0
Class: 0x000000
Powered: no
Discoverable: no
Pairable: yes
...Modalias: usb:v1D6Bp0246d0517
Discovering: no
[bluetooth]# power on
[CHG] Controller 01:23:45:67:89:AB Class: 0x000104
// scan for bluetooth devices (make sure your mouse is in discovery mode before running this command)
[bluetooth]# scan on
Discovery started
[CHG] Controller 01:23:45:67:89:AB Discovering: yes
[NEW] Device 34:88:5D:87:C0:A6 Bluetooth Mouse M336/M337/M535
[bluetooth]# scan off
Discovery stopped
[CHG] Controller 01:23:45:67:89:AB Discovering: no
// turn the agent on just incase you need to supply a pin code
[bluetooth]# agent on
Agent registered
// note that the device might not ask you for a pin code
[bluetooth]# pair 34:88:5D:87:C0:A6
Attempting to pair with 34:88:5D:87:C0:A6
[CHG] Device 34:88:5D:87:C0:A6 Connected: yes
Request PIN code
...[CHG] Device 34:88:5D:87:C0:A6 Paired: yes
Pairing successful
[CHG] Device 34:88:5D:87:C0:A6 Connected: no
// once you have done this use the following two commands to
// complete setup
[bluetooth]# connect 34:88:5D:87:C0:A6
...
[bluetooth]# trust 34:88:5D:87:C0:A6
...
// your mouse should now work properly even after the computer has been restarted.
參考:
https://www.cnblogs.com/mouseleo/p/10842191.html
2021年9月24日 星期五
2021年8月4日 星期三
2020年6月5日 星期五
雙系統的Windows系統時間不對
修正方式:
先在ubuntu下更新一下時間,確保時間無誤:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
然後將時間更新到硬件上:
sudo hwclock --localtime --systohc
重新進入windows10,發現時間恢覆正常了!
2019年7月13日 星期六
2019年7月4日 星期四
找檔案指令
找尋 近100天內 被修改的檔案
whereis: 只會搜尋/usr、/bin 或 /etc 等幾個特定的路徑(找執行檔、原始檔及man說明),不適於找家目錄的檔.
which: 只用來搜尋 Ubuntu/Linux 的指令程式.
2019年3月2日 星期六
Gnome Alsa Mixer調整麥克風音量
2018年11月2日 星期五
HP 印表機安裝
Linux 的 HP LaserJet Professional m1132 驅動設定
1. USB 接上後, 新增印表機 (這邊就會自動抓到了)2. 新增完印表機, 需要再做下述事情:
3. 開啟 "終端機 Terminal" (或 CTRL + ALT + T)
4. sudo hp-plugin -i 安裝完後就可以使用了~
註1: HP 還有很多相關的設定可以用, 以後若有其他 HP 的機器, 可以試試看 hp-setup -i, hp-scan -i, apt-get install hplip-gui ... 等等.
註2: 以上執行還是有問題的狀況,可以使用這兩隻程式看看: sudo hp-check、hp-doctor
摘錄自:https://blog.longwin.com.tw/2014/06/linux-hp-laserjet-m1132-driver-2014/
2018年8月23日 星期四
Ubuntu語系,沒中文台灣可選
2.把 /etc/locale.gen 檔案中的 zh_TW.UTF8, uncomment
3.sudo locale-gen
就可以找到 中文台灣
2018年5月31日 星期四
掛載 exfat 格式硬碟
執行 sudo apt-get install exfat-fuse exfat-utils
即可。
2018年5月16日 星期三
2018年4月30日 星期一
2018年4月29日 星期日
apt-get autoclean, autoremove等的差別
删除为了满足其他软件包的依赖而安装的,系统会自动卸载这些不再需要的软件包
删除已安装的软件包(保留配置文件)。
apt-get –purge remove [+软件包名称]:
删除已安装包,同时删除配置文件。
删除已经卸载的软件包的.deb安装文件
删除安装了的软件包的安装包(如果你确定这些安装包不会再用)。
类似上面的命令,但它删除包缓存中的所有包。
----------
參考:https://blog.csdn.net/songyu0120/article/details/45771349