論壇 - 查看所有帖子

回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
夢見草 寫到: 我先簡單的回覆您,讓您有個探索的起點, 您可以先從「dconf」和「gettings」的使用方法去熟悉, 這樣講有點籠統,但因為要講的議題會有點多, 所以給我點時間,用案例寫一些指引,慢慢引導您入門, 讓您對「dconf」和「gettings」的使用概念理解融會貫通後, 您就可以自行運用,產生你自己的設定檔,未來就可以很容易的復原到新系統。 我本來預計要寫這些出來,放在我自己的筆記裡 * dconf 探索筆記 / Demo * gsettings 探索筆記 目前只有寫個開頭,有很多理解到的概念要紀錄下來,但還沒時間寫完。 另外之前我有簡單紀錄,我對「mate」設定,先紀錄連結,提供您參考 * Ubuntu 探索筆記 / Mate Desktop 至於您後面提到的設定,我沒有設定過,所以我研究一下,我再回覆您 ## 相關連結 ### Arch Wiki * MATE ### System Modeling * System Modeling / Mate * /usr/share/glib-2.0/schemas/ * /etc/dconf/db/distro.d/ * /etc/dconf/profile/user ### Ubuntu 探索筆記 * Ubuntu 探索筆記 / Mate Desktop / 微調腳本 ### Ezarcher Adjustment * Ezarcher Adjustment / ezarcher-adjustment-modeling-dconf-default-user-db-initialization / PKGBUILD * Ezarcher Adjustment / mate 以上先簡單的回覆,讓您有個探索的起點 待續...
Ident: 5c71400844172447c03d6b5bedc6cc2b |
1/27 14:54:39
|
||||||||||
![]() |
回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
版主
![]() ![]() 註冊日期:
2008/7/14 0:03 來自 螢幕的另一端
所屬群組:
網站管理員 已註冊使用者 討論區管理群 等級: 33
HP : 0 / 808
![]() |
請教一下 samwhelp 若我想要把我目前的桌面環境的設定備份下來,下回重灌系統時方便很快的匯入設定,因為我找不到匯出匯入的方式,所以每次都要花不少時間手動設定回來。
我說一下我的桌面環境 debian10, mate + compiz + emerald compiz+emerald 都可在程式介面上找到設定匯出的部份 但是 mate 桌面環境的很多設定我就找不到 比如:圖章、圖示的設定 參考附圖: icon 右上角的小圖示是可用滑鼠右鍵→屬性→圖章 來加上去的 整體的icon圖示是可以換成同一套風格,但還可針對不同資料夾換成不同的icon比如附圖裡的那些藍色圖示 還有資料夾的書籤功能我也找不到在哪兒備份
Ident: fa978e16518955d35d696e4c7f81e09b |
1/27 12:29:15
|
||||||||||
![]() |
回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2009/10/29 4:50 所屬群組:
已註冊使用者 等級: 41
HP : 204 / 1021
![]() |
samwhelp 寫到: 感謝分享。 ![]()
Ident: d6ee252b3a3a8daeb8259a4a1280db91 |
1/26 14:32:45
|
||||||||||
_________________
【教學】隨身攜帶的作業系統 ~安裝Linux作業系統於隨身碟~;【推薦】支援 Epic 和 GOG 帳號的遊戲管理器「Heroic」;【教學】Ubuntu下將藍牙設備的「LinkKey」改成與Windows的一致;【GNOME Shell Extension】讓 Ubuntu 與 Android 互動的「GSConnect」;【教學】把系統還原軟體 Clonezilla 放在硬碟中;【設定】 於Dock「按左鍵則最小化」、「按中鍵則預覽」、「Shift+按中鍵則結束」;【教學】可以恢復被刪除之檔案的檔案救援程式「PhotoRec」;【分享】適合 Ubuntu MATE 的面板布局方案;【解法】修正部分Snap軟體的介面字型為楷體;[分享] 建立數位電視頻道表檔; |
|||||||||||
![]() |
回覆: ACFS 22.04 LTS 桌面版 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
對照「mate panel layout」的用法,
一樣整理了幾個「gnome panel layouts」, 和根據我在「回覆 #20」提到的指令原理, 簡單寫了幾個「輔助工具」, 可以參考相關的用法。 ================================================================================ 在下面兩個「layout」,可以了解到,如何設定「該Object」的組態設定。 * location-taipei.layout * show-workspace-name.layout 我在「回覆 #20」有特別提到這部份的概念,在設定「launcher」那段。 可以先透過panel的「圖形使用介面」設定,故意設定跟預設值不同的設定, 再使用「`dconf dump /`」來觀察相關設定值。 也可以在「/usr/share/glib-2.0/schemas/」這個資料夾,找尋相關的schemas資訊。 ================================================================================ 另外補充新觀察到的特性 就是當「gnome-panel」已經常駐 執行下面指令,「gnome-panel」是會自己重新啟動。
================================================================================ 以上補充 提供參考 報告完畢 ![]()
Ident: 5c71400844172447c03d6b5bedc6cc2b |
1/25 23:38:10
|
||||||||||
![]() |
回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
在「#1」,
裡面有提到一個檔案 檔案2: /usr/share/mate-panel/layouts/Perfect-2022-tweak.panel ================================================================================ 這個檔案,可以透過下面指令,將它回復到系統上
================================================================================ 也可以透過下面指令,將它從系統「dump」出來,並且保存到檔案。
================================================================================ ## Manpage * man 1 dconf * man 7 dconf ================================================================================ 以上補充 提供參考 報告完畢 ![]()
Ident: 5c71400844172447c03d6b5bedc6cc2b |
1/25 23:17:48
|
||||||||||
![]() |
回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
在「回覆: #2」提到的,
可以透過「mate-tweak」這個工具來操作「切換Layout」這個功能, 有「圖形使用介面」的方式,也有「下指令」的方式。 接著要補充的是,在沒有「mate-tweak」這個工具的前提下, 也可以透過「gsettings」和「dconf」,以及「mate-panel」,採用「下指令」的方式,來達到同樣的效果。 參考指令如下 gsettings set org.mate.panel default-layout "Perfect-2022-tweak" dconf reset -f /org/mate/panel/general/object-id-list dconf reset -f /org/mate/panel/general/object-id-list mate-panel --replace & 注意事項: 這段指令,只需要在「#1」提到的「檔案1」 檔案1: /usr/share/mate-panel/layouts/Perfect-2022-tweak.layout ================================================================================ 因為「mate-panel」應該是之前從「gnome-panel」修改演變過來的。 所以可以對照「gnome-panel」的用法, 之前在另一個討論串,討論到「gnome-flashback」, 有提到「gnome-panle」切換「layout」的下指令用法。 在「回覆: #20」有提到。 ================================================================================ 另外根據上面「下指令」的原理, 我先簡單寫了幾個輔助工具,可以用來「list」,「set」,「get」這幾個操作動作, 接著再搭配「fzf」, 可以簡單用來整合「list」,「set」這個兩個操作動作, 預計以後會再找時間撰寫成一個指令,類似「wallpaper-select」的用法。 ================================================================================ 待續...
Ident: 5c71400844172447c03d6b5bedc6cc2b |
1/25 23:07:29
|
||||||||||
![]() |
回覆: 【分享】適合 Ubuntu MATE 22.04 的面板布局方案 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
趁過年期間,在整理之前的設定,
整理成「gschema.override」, 並且簡易打包成「Arch Package」, 以利於製作自己慣用設定的「Arch ISO」。 剛好整理到「mate panel layouts」這一段, 所以我根據「/usr/share/mate-panel/layouts/default.layout」, 整理了不同「menu」的「mate panel layout」, 有 * compact menu * classic menu * brisk menu * mate menu 都是「單一 panel layout」,所以也分上下 因此就有8種layout可供選擇。 ================================================================================ 待續...
Ident: 5c71400844172447c03d6b5bedc6cc2b |
1/25 22:46:36
|
||||||||||
![]() |
如何讓Acer 桌機內建晶片讀卡機讀取自然人憑證 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2007/7/3 16:11 所屬群組:
已註冊使用者 等級: 12
HP : 0 / 299
![]() |
自然人憑證無法用在宏碁新桌機 M4690G正常讀取
我在新買的這部Acer Veriton M4690G電腦安裝了 Ubuntu 22.04 ,做成雙系統。 它有內建晶片讀卡機,像是通用的ccid ,在 Windows 10 不用裝區驅動程式,因為我在Ubuntu 開 Virtual box 裝的 Win 10 虛擬機也能正常讀卡可見晶片憑證卡和讀卡機都沒壞。因為工作多半在Linux 下做,我不想為了收公文,就又要切換到 Windows, 但要在 Ubuntu Linux 用自然人憑證在認證確卻有問題,我已安裝了 pcscd 及 pcsc-tools ,並在這裡下載了 內政部跨平台網頁元件 Linux 版, https://moica.nat.gov.tw/rac_plugin.html ,我啟動了 pcscd sudo service pcscd start 然後我進入了內政部跨平台網頁元件已下載資料夾內,並啟動服務 sh start.sh 終端機有回應了 Server has started at 127.0.0.1:61161 用 pcsc_scan 有回應 card inserted 但是當我用 http://localhost:61161/selfTest.htm 去檢測時,它回應「卡片未插」,但其實有插,因為我用 grub 啟動 Windows ,在 Windows 是正常讀取的。 請問要如何才能在 Linux 中正常使用宏碁電腦的內建讀卡機呢? 附註 1. 使用 pcsc_scan 檢測: Using reader plug'n play mechanism Scanning present readers... 0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00 Thu Jan 12 16:58:08 2023 Reader 0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00 Event number: 0 Card state: Card inserted, ATR: 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD ATR: 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD + TS = 3B --> Direct Convention + T0 = D8, Y(1): 1101, K: 8 (historical bytes) TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU 250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s TC(1) = 00 --> Extra guard time: 0 TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 ----- TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1 ----- TA(3) = FE --> IFSC: 254 TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5 TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following ----- TA(4) = 07 --> Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V C 1.8V + Historical bytes: 43 48 54 47 50 4B 49 4A Category indicator byte: 43 (proprietary format) + TCK = DD (correct checksum) Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD Citizen Digital Certificate, Taiwan (PKI) http://moica.nat.gov.tw/ 2. 檢測 內政部跨平台網頁元件執行 curl -X POST http://127.0.0.1:61161/pkcs11info 回應 {"cryptokiVersion":2.04,"flags":0,"func":"pkcs11info","last_error":0,"libraryDescription":"CHT PKCS#11 3.1.0.00009","libraryVersion":3.003,"manufacturerID":"Chunghwa TeleComm TL","ret_code":0,"slots":[],"version":"2.3.3","serverVersion":"1.3.4.7","installedModule":[{"version":"1.1.9","description":"CardManagement"},{"version":"1.3.4.7","description":"HiPKILocalSignServer"}]}cashier@2023-cashier:~$ 再用 curl 'http://127.0.0.1:61161/sign' --data-binary ' tbsPackage={ "tbs":"TBS", "hashAlgorithm":"SHA256", "pin":"1234", "func":"MakeSignature", "signatureType":"PKCS11", "slotDescription":"Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00" }' 得到回應 {"func":"sign","last_error":0,"ret_code":1979711494,"version":"2.5.5","message":"未插入IC卡"} Hicos 應是有偵測到讀卡機,但沒有偵測到插在裡面卡片。請問要如何修改設定呢?
Ident: 5a2152bb98b15e5ad0b7b73735b46460 |
1/14 10:50:13
|
||||||||||
![]() |
自然人憑證無法用在宏碁最新桌機 M4690G正常讀取 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2007/7/3 16:11 所屬群組:
已註冊使用者 等級: 12
HP : 0 / 299
![]() |
我在新買的這部M4690G電腦安裝了 Ubuntu 22.04 ,做成雙系統。
它有內建晶片讀卡機,像是通用的ccid ,在 Windows 10 不用裝區驅動程式,因為我在Ubuntu 開 Virtual box 裝的 Win 10 虛擬機也能正常讀卡可見晶片憑證卡和讀卡機都沒問題。因為工作多半在Linux 下做,我不想為了收公文,就又要切換到 Windows, 但要在 Ubuntu Linux 用自然人憑證在認證確卻有問題,我已安裝了 pcscd 及 pcsc-tools ,並在這裡下載了 內政部跨平台網頁元件 Linux 版, https://moica.nat.gov.tw/rac_plugin.html ,我啟動了 pcscd sudo service pcscd start 然後我進入了內政部跨平台網頁元件已下載資料夾內,並啟動服務 sh start.sh 終端機有回應了 Server has started at 127.0.0.1:61161 用 pcsc_scan 有回應 card inserted 但是當我用 http://localhost:61161/selfTest.htm 去檢測時,它回應「卡片未插」,但其實有插,因為我用 grub 啟動 Windows ,在 Windows 是正常讀取的。 是不是Acer 內建的晶片卡讀取器有問題,沒有充份支援 CCID 標準呢,請問要如何才能在 Linux 中正常使用宏碁電腦的內建讀卡機呢? 附註 1. 使用 pcsc_scan 檢測: Using reader plug'n play mechanism Scanning present readers... 0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00 Thu Jan 12 16:58:08 2023 Reader 0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00 Event number: 0 Card state: Card inserted, ATR: 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD ATR: 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD + TS = 3B --> Direct Convention + T0 = D8, Y(1): 1101, K: 8 (historical bytes) TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU 250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s TC(1) = 00 --> Extra guard time: 0 TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 ----- TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1 ----- TA(3) = FE --> IFSC: 254 TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5 TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following ----- TA(4) = 07 --> Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V C 1.8V + Historical bytes: 43 48 54 47 50 4B 49 4A Category indicator byte: 43 (proprietary format) + TCK = DD (correct checksum) Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3B D8 96 00 81 B1 FE 45 1F 07 43 48 54 47 50 4B 49 4A DD Citizen Digital Certificate, Taiwan (PKI) http://moica.nat.gov.tw/ 2. 檢測 內政部跨平台網頁元件執行 curl -X POST http://127.0.0.1:61161/pkcs11info 回應 {"cryptokiVersion":2.04,"flags":0,"func":"pkcs11info","last_error":0,"libraryDescription":"CHT PKCS#11 3.1.0.00009","libraryVersion":3.003,"manufacturerID":"Chunghwa TeleComm TL","ret_code":0,"slots":[],"version":"2.3.3","serverVersion":"1.3.4.7","installedModule":[{"version":"1.1.9","description":"CardManagement"},{"version":"1.3.4.7","description":"HiPKILocalSignServer"}]}cashier@2023-cashier:~$ 再用 curl 'http://127.0.0.1:61161/sign' --data-binary ' tbsPackage={ "tbs":"TBS", "hashAlgorithm":"SHA256", "pin":"1234", "func":"MakeSignature", "signatureType":"PKCS11", "slotDescription":"Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00" }' 得到回應 {"func":"sign","last_error":0,"ret_code":1979711494,"version":"2.5.5","message":"未插入IC卡"}
Ident: 609594c029d6b23058e03d64416a9928 |
1/12 17:16:32
|
||||||||||
![]() |
回覆: [心得分享] 遊戲使用Steam Play 在 ubuntu 20.04的運作現況 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2012/4/26 9:45 所屬群組:
已註冊使用者 等級: 12
HP : 0 / 292
![]() |
OS:ubuntu 22.04
CPU:E3-1231v3 RAM:16 G 顯卡:1050Ti (510版的 Nvidia 專有驅動) 相關註記:ubuntu灌在SSD上,但遊戲是安裝在傳統硬碟上。 Proton (Steam Play)版本:以Proton Experimental為主,如果有個別遊戲用其它版本,再另外註記。 [可正常進入遊戲] 柯南的流亡 Conan Exiles:使用Proton Experimental,要先在Funcom啟動器內把 Battleye戰眼反做弊程式關閉掉,才可以正常開啟單人模式(其它模式沒試過);不過關閉Battleye戰眼反做弊程式有可能會連不上官方伺服器,想用ubuntu玩官方伺服器的人要思考一下。
Ident: 9734f1d3c9f4dffb808ccccaa483d0a4 |
1/11 20:12:42
|
||||||||||
![]() |