2024年1月22日 星期一

在Ubuntu中使用Notion

在Ubuntu中使用Notion

1.首先在桌面新建一个notion.sh

#桌面右键,打开终端,输入
touch notion.sh

2.编辑notion.sh内容

#在终端中,用文本编辑器打开notion.sh 举例gedit
sudo gedit notion.sh

3.在文本编辑器中输入(此命令为用谷歌浏览器打开,可替换成其他浏览器)

#!/bin/sh
google-chrome --app=https://www.notion.so

4.保存并关闭,随后再次打开终端,给文件加权限

chmod u+x notion.sh

5.双击notion.sh即可打开(记得登陆)

2023年11月2日 星期四

雙系統時間錯誤

先在ubuntu下更新一下時間,確保時間無誤:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
然後將時間更新到硬件上:
sudo hwclock --localtime --systohc
重新進入windows10,發現時間恢覆正常了!

參考網頁

2022年9月4日 星期日

Gromit-MPX螢幕畫筆

  • 按 Home 畫筆啟閉開關,(開: 十字型鼠標,關: 箭頭鼠標),鼠標即畫筆。
  • 左鼠鍵 - 紅筆
  • Shift+左鼠鍵 - 藍筆
  • Ctrl+左鼠鍵 - 黃筆
  • Alt+左鼠鍵 - 粉紅筆
  • 中鼠鍵 - 綠色箭頭線
  • 右鼠鍵 - 橡皮擦
  • 按 Shift+Home  清除所畫的線條
  • 按 Ctrl+Home  切換是否顯示所畫線條。
  • 按 Alt+Home  結束 Gromit 。
  • End 逐步退回前次動作.

2022年1月11日 星期二

Inkscape 1.1 存檔時閃退

以下列指令移除 inkscape
snap remove inkscape
再重新安裝,問題解決。
(之前,在「軟體」功能,移除、重裝,無效)

2021年11月4日 星期四

Logitech M337 藍芽連線

参考:Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

device: Bluetooth Mouse M336/M337/M535

problem: mouse won't pair after restarting computer

resolution:

I have also included them below along with the additional steps I needed to perform.

// open up a command prompt and use the bluetoothctl command

// list the available bluetooth controllers

# bluetoothctl

[bluetooth]# list

Controller 01:23:45:67:89:AB fzidpc73

// choose the controller to work with

[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

UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)

UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)

UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)

UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)

UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)

Modalias: usb:v1D6Bp0246d0517

Discovering: no

[bluetooth]# power on

[CHG] Controller 01:23:45:67:89:AB Class: 0x000104

Changing power on succeeded

[CHG] Controller 01:23:45:67:89:AB Powered: yes

// 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

[agent] Enter PIN code: 1234

[CHG] Device 34:88:5D:87:C0:A6 UUIDs:

00001101-0000-1000-8000-00805f9b34fb

[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日 星期五

USB延伸螢幕

下載驅動 displaylink-driver-XXXX.run
再執行 sudo ./displaylink-driver-XXXX.run
參考網頁

2021年8月4日 星期三

Flameshot按鈕失效處理

 安装所需的包

下载并双击安装libgoocanvas-common包:libgoocanvas-common

下载并安装libgoocanvas3包:libgoocanvas3

[參考]

2020年6月5日 星期五

雙系統的Windows系統時間不對

在Ubuntu與Windows雙系統電腦中, Windows顯示的時間不正確.
修正方式:
先在ubuntu下更新一下時間,確保時間無誤:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
然後將時間更新到硬件上:
sudo hwclock --localtime --systohc
重新進入windows10,發現時間恢覆正常了!

2019年7月13日 星期六

EZ100pu讀卡機, Ubuntu 趨動程式.

自然人憑證讀取, EZ 100pu讀卡機趨動程式.
參考網址: Ubuntu正體中文站論壇

2019年7月4日 星期四

找檔案指令

find: 要指定搜尋的路徑,否則就只有搜尋目前所在的資料夾.ie: find /etc hosts
locate: 搜尋 updatedb指令所建的資料庫.快! 但未執行 updatedb之前的新檔,會找不到.
whereis: 只會搜尋/usr、/bin 或 /etc 等幾個特定的路徑(找執行檔、原始檔及man說明),不適於找家目錄的檔.
which: 只用來搜尋 Ubuntu/Linux 的指令程式.

2019年3月2日 星期六

Gnome Alsa Mixer調整麥克風音量

Xubuntu 麥克風錄音,skype和 Audacity都錄不到聲音,設了半天,沒成功.後來裝了 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語系,沒中文台灣可選

1.先 update
2.把 /etc/locale.gen 檔案中的 zh_TW.UTF8, uncomment
3.sudo locale-gen
就可以找到 中文台灣  

2018年5月31日 星期四

掛載 exfat 格式硬碟

Ubuntu 預設未支援 exfat格式硬碟,但在system中,已備有趨動程式。
執行 sudo apt-get install exfat-fuse exfat-utils
即可。

2018年5月16日 星期三