1141205-隨身碟下掛載失敗做法
插入 USB 後立即輸入:
dmesg | tail -30
常見錯誤訊息示例與含義:
錯誤訊息
原因
Buffer I/O error
隨身碟損壞或接觸不良
usb reset 不斷重設
USB 供電不足或接口問題
FAT-fs invalid format
檔案系統損毀
mount: wrong fs type
該 USB 格式 Linux 不支援或需額外套件
如果你願意,也可以貼 dmesg 結果給我,我可協助判斷。
插入 USB 後執行:
lsblk
或:
sudo fdisk -l
看是否有出現像:
/dev/sdb
/dev/sdb1
→ 可能是 USB 埠硬體問題、線材、隨身碟壞軌、供電不足
建議換 USB 埠、換線或換電腦測試。
假設 USB 是 /dev/sdb1:
sudo mkdir -p /mnt/usb
sudo mount /dev/sdb1 /mnt/usb
如果成功,就是自動掛載的 udev 或 GUI 問題。
若失敗會顯示明確錯誤訊息。
sudo dosfsck -t -a /dev/sdb1
需先安裝工具:
sudo apt install exfatprogs
sudo fsck.exfat /dev/sdb1
Linux 若看到 dirty bit 被 Windows 設定會拒絕掛載:
sudo ntfsfix /dev/sdb1
有時系統缺少 exFAT/NTFS 驅動會掛載失敗:
sudo apt install exfat-fuse exfatprogs ntfs-3g
Mint / LMDE 自動掛載靠 udisks2:
sudo systemctl restart udisks2
有時 GUI 掛載一直失敗,但手動 mount 正常,就是這裡壞掉。
若 dmesg 出現:
I/O error
read error
reset high-speed USB device
很可能隨身碟壞掉,此時:
✔ 先備份可讀資料
✔ 重新格式化:
sudo mkfs.vfat -F 32 /dev/sdb1
# 或 NTFS
sudo mkfs.ntfs -f /dev/sdb1
114..10.01
Linux電腦端可以用hdmi dummy plug當作第二螢幕
或者用Xorg、Wayland的方式做個virtual dispaly。這樣的話再讓Weylus投影該「螢幕」,即可達成雙螢幕的效果
https://ivonblog.com/posts/weylus-use-tablet-as-graphic-tablet/
https://github.com/H-M-H/Weylus?tab=readme-ov-file#windows
手寫軟體
https://xournalpp.github.io/installation/linux/
1141111 pdf
PDFSam Basic:免費的開源軟體,專注於合併、分割、旋轉和擷取 PDF 頁面。
https://github.com/torakiki/pdfsam
影片切割軟體
https://github.com/mifi/lossless-cut
writer的表格問題:頁面樣式→文字網格→改選”不使用文字網格”,就可以解決跑版的問題
確認是否使用 Wayland 工作階段
打開終端機 (Terminal)。
輸入以下指令並按下 Enter:
bash
echo $XDG_SESSION_TYPE
xrandr製作Linux虛擬顯示器,設定虛擬雙顯示器輸出
https://ivonblog.com/posts/xrandr-create-a-virtual-monitor/
1140212-webapiusb需要打開
chrome:\flags
1.Automatic detection of WebUSB-compatible devices
2.Experimental Web Platform features
114.03.30-user_recover
sudo /usr/share/user_recover/user_recover.sh
sudo apt install gawk
/etc/udev/rules.d
增加一個99-microbit.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", SYMLINK+="ttyUSB%n"
建立 /etc/udev/rules.d/50-microbit.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", MODE="0664", GROUP="plugdev"
https://s761111.gitbook.io/raspi-sensor/pai-microbit
sudo apt install arduino
小朋友用
sudo apt install gcompris-qt
IPv6 私有 IP 位址空間的寫法? ③FEC0::2
https://ubuntuhandbook.org/index.php/2022/04/install-grub-customizer-ubuntu-2204/
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt install grub-customizer
1130516-disable ipv6
https://linuxhint.com/how-to-disable-ipv6-on-ubuntu-24-04/
sudo /etc/sysctl.conf
#Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
sudo sysctl -p
檢查
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1→關閉
mint
https://www.fosslinux.com/46737/things-to-do-after-installing-linux-mint.htm
https://easylinuxtipsproject.blogspot.com/p/first-mint-cinnamon.html
1130425
mint wifi→需安裝
https://github.com/lakinduakash/linux-wifi-hotspot
https://vocus.cc/article/65725192fd89780001fe8f2e
https://ivonblog.com/posts/linux-bottles-install-line/
ipad to linux
https://github.com/antimof/UxPlay
網管工具live
羅技
https://www.omgubuntu.co.uk/logitech-unifying-receiver-linux-solaar
sudo apt install solaar
鍵盤配置器
featherpad
kbd-layout-viewer5
neofetch
1130308-系統打包學習
Commands used in the video
sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install --no-install-recommends cubic
系統安裝後,需要再安裝的程式列表:
vim
gparted
user→還原
pdfsaf:https://pdfsam.org/download-pdfsam-basic/
veyon:https://veyon.io/en/
grub customizer:https://itsfoss.com/install-grub-customizer-ubuntu/
openJDK:https://linuxhint.com/centos_install_openjdk/
Document Viewer - with Atril
Text Editor - with Pluma
Image Viewer - with EOM
這是個小問題,關掉Ubuntu進入Windows後會發現時間跑掉了得手動同步,這是因為Ubuntu使用UTC之故。
開啟Ubuntu的終端機,輸入此指令,讓Ubuntu使用RTC,Windows時間就不會跑掉了。
sudo timedatectl set-local-rtc 1
圖片工具
Download the appropriate package for your distribution from the official website: https://www.xnview.com/en/xnviewmp/#downloads
sudo apt-get install krita
pix
要預覽 HEIC 縮圖、瀏覽 HEIC 圖片,需要安裝下述套件:
sudo apt update
sudo apt install heif-gdk-pixbuf heif-thumbnailer libheif1
下面這個不裝也可以瀏覽圖片,只是這套開啟速度比較快:
sudo apt install gpicview # 使用 其它應用程式開啟,會是「圖片檢視」的程式
https://www.baeldung.com/linux/view-heic-images
https://linuxhint.com/heic-file/
工作用軟體:
inkscape
gimp
kdenlive
openshot:https://www.openshot.org/zh-hant/download/
shotcut:https://shotcut.org/
handbrake:https://handbrake.fr/downloads.php
ffmpeg
scratch3
notepadqq
okular
pdf→foxit:https://www.foxit.com/pdf-reader/
GeoGebra :https://www.geogebra.org/
tuxpaint
kolourapint
截圖→flameshot、shutter、
vlc
filezilla
stellarium
cheese
瀏覽器
chrome:https://www.google.com/intl/zh-TW/chrome/
brave:https://brave.com/linux/
fritzing→電子電路
okular
ktouch
自然人憑證:https://moica.nat.gov.tw/rac.html
sudo apt-get install pcscd pcsc-tools
https://www.peterdavehello.org/2014/07/web-atm-on-ubuntu-based-linux-notes/
http://dd-han.tw/2018/smart-card-reader-for-linux
https://ciao-chung.com/page/article/ubuntu-smart-card
無蝦米
https://ithelp.ithome.com.tw/articles/10258376
su
wget https://eu.mirror.archlinuxarm.org/aarch64/community/fcitx5-table-extra-5.0.4-1-any.pkg.tar.xz
unxz fcitx5-table-extra-5.0.4-1-any.pkg.tar.xz
tar xvf fcitx5-table-extra-5.0.4-1-any.pkg.tar
cp -r usr/share /usr/
https://ivonblog.com/posts/ubuntu-fcitx5/
mx linux debian
fcitx→
sudo apt install zenity in-config
sudo apt install fcitx fcitx-tools fcitx-ui* fcitx-config-* fcitx-module* fcitx-frontend-* fcitx-table-boshiamy fcitx-m17n
https://mtmatt.page/boshiamy/installing-mx-linux-mx-21-and-boshiamy-feat-fcitx/
鍵盤檢測程式:
sudo apt install xkeycaps
鍵盤佈局檢示器
kbd-layout-viewer5
sudo apt install fcitx5-config-qt