2024年11月15日 星期五

linux 終端下看硬體的指令

終端下看硬體型號指令:sudo lshw

終端下看硬體型號指令只看記憶體的型號指令:sudo lshw | grep memory

終端下看網路卡(有線、無線都會列出來。)型號指令:lspci | grep -i net

2024年11月13日 星期三

Arch and Xfce

1. USB pnp: Thunar can not mount USB sticks automatically. You check the pnp setting first, let the pnp on. Then install thunar-volman package logout and login one time, then USB pnp can be used.


------------------------------------------------------------------------MAYBE SOLVE THE USB QUESTION
$ pacman -Qi thunar
Name            : thunar
Version         : 1.8.16-1
Description     : Modern file manager for Xfce
Architecture    : x86_64
URL             : https://docs.xfce.org/xfce/thunar/start
Licenses        : GPL2  LGPL2.1
Groups          : xfce4
Provides        : None
Depends On      : desktop-file-utils  libexif  hicolor-icon-theme  libnotify  
libgudev  exo  libxfce4util  libxfce4ui  libpng
Optional Deps   : gvfs: for trash support, mounting with udisk and remote filesystems [installed]
                  xfce4-panel: for trash applet
                  tumbler: for thumbnail previews [installed]
                  thunar-volman: manages removable devices
                  thunar-archive-plugin: create and deflate archives
                  thunar-media-tags-plugin: view/edit id3/ogg tags
Required By     : thunar-dropbox
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6.44 MiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : Sat 31 Oct 2020 11:07:36 PM EDT
Install Date    : Sun 01 Nov 2020 01:15:11 PM EST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
Powered By Blogger