偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

安裝和使用額外的 Gedit 顏色主題

系統(tǒng) Linux
不喜歡 Gedit 文本編輯器的默認(rèn)外觀?當(dāng)然可以嘗試更改顏色主題。以下是更改方法。

Gedit 是 Linux 世界中最流行的文本編輯器之一。它主要是一個(gè)文本編輯器,但 經(jīng)過一些調(diào)整,你也可以使用它進(jìn)行編寫程序。

現(xiàn)在,程序員通常更喜歡較暗的主題,Gedit 對(duì)此并不陌生。它有很多主題可供選擇。

但是,如果你對(duì)它們不滿意,你也可以安裝第三方配色方案。如果需要,你甚至可以創(chuàng)建自己的配色方案,使其完全獨(dú)一無(wú)二。

首先讓我向你展示如何更改默認(rèn)的 Gedit 主題,然后我將分享如何安裝其他第三方主題。

更改默認(rèn)的 Gedit 主題

正如我之前提到的,Gedit 帶有一些自己的配色方案。你可以輕松切換到它們。

轉(zhuǎn)到右上角的菜單并選擇 “首選項(xiàng)Preferences”。

Select Preferences from the top-right hamburger menuSelect Preferences from the top-right hamburger menu

現(xiàn)在,轉(zhuǎn)到字體和顏色選項(xiàng)卡。

Select the Fonts & Colors tab in the preferences section for changing colorsSelect the Fonts & Colors tab in the preferences section for changing colors

在這里,你可以更改配色方案。你可以在下面的截圖中看到所有配色方案的外觀。

ClassicClassic

CobaltCobalt

KateKate

OblivionOblivion

Solarized DarkSolarized Dark

Solarized LightSolarized Light

TangoTango

YaruYaru

Yaru DarkYaru Dark

不喜歡你所看到的? 讓我們探索一下第三方 Gedit 主題。

安裝第三方配色方案

你需要先從互聯(lián)網(wǎng)下載所需的配色方案文件,然后從首選項(xiàng)將它們添加到 Gedit 或?qū)⑺鼈兎旁?nbsp;.local/share/gedit/styles 文件夾中。

步驟 1:下載配色方案文件

第三方 Gedit 主題可在各種 GitHub 倉(cāng)庫(kù)中找到。為了你的方便,我列出了一些倉(cāng)庫(kù),你可以在其中找到很多方案文件。

在上面的倉(cāng)庫(kù)中,你可以找到 XML 文件。打開主題 XML 文件并使用 將文件另存為原始數(shù)據(jù)

Download XML files for Gedit themesDownload XML files for Gedit themes

步驟 2:安裝單獨(dú)的主題文件

如果你精心挑選了一些主題文件,你可以使用 Gedit 添加方案功能一一安裝它們。為此,請(qǐng)打開 “首選項(xiàng)Preferences > 字體和顏色Fonts & Colors” 選項(xiàng)卡。現(xiàn)在,單擊左下角的 “+” 符號(hào):

Click on the "+" sign on Fonts & Colors page for adding individual XML filesClick on the "+" sign on Fonts & Colors page for adding individual XML files

從文件瀏覽器中,選擇下載的主題文件,然后單擊“確定OK”。

"Neon", a newly installed theme"Neon", a newly installed theme

該主題現(xiàn)在將在同一“字體和顏色”選項(xiàng)卡上可見,你可以通過單擊它進(jìn)行切換。

步驟 2 替代:批量安裝主題

你是否下載了整個(gè) GitHub 主題倉(cāng)庫(kù)? 那么一一安裝主題就不方便了。不用擔(dān)心,Gedit 有可用于批量安裝的顏色主題目錄。

你必須將所有 XML 文件復(fù)制并粘貼到 .local/share/gedit/styles。

之后,你將在“字體和顏色”選項(xiàng)卡上獲得所有主題的縮略圖。

Fonts & Colors tab will list all the user installed third partyy themes, that are available for switchingFonts & Colors tab will list all the user installed third partyy themes, that are available for switching

如果沒有 styles 目錄,請(qǐng)創(chuàng)建一個(gè)?,F(xiàn)在,主題將可供該特定用戶使用。

?? 在 Linux Mint 上,你可以將 XML 文件復(fù)制到 /usr/share/gtksourceview-3.0 目錄,Gedit 和 Xed 編輯器都可以訪問該目錄。

刪除 Gedit 主題

如果你不喜歡某些主題,可以從該位置刪除這些文件?;蛘撸D(zhuǎn)到字體和顏色部分?,F(xiàn)在選擇你要?jiǎng)h除的主題,然后按左下角的 “-” 號(hào)。

Select theme that you want to remove from the list and press "-" buttonSelect theme that you want to remove from the list and press "-" button

這將刪除該特定的配色方案。

一些好看的 Gedit 主題

下面的截圖給出了我的一些建議。

Blackboard:

Blackboard (gmate)Blackboard (gmate)

Catppuccin 是一個(gè)深色的 Gedit,如果你使用任何類似的 GTK 主題,那就太合適了:

CatppuccinCatppuccin

Lowlight:

Lowlight theme from gmateLowlight theme from gmate

Midnight:

Midnight (gmate)Midnight (gmate)

Monakai:

Monakai (gmate)Monakai (gmate)

Neopro:

Neopro theme from gmateNeopro theme from gmate

Plastic Code Wrap:

Plastic Code Wrap theme from gmatePlastic Code Wrap theme from gmate

Slate:

Slate (gmate)Slate (gmate)

Vibrant Fun:

Vibrant Fun (gmate / mig)Vibrant Fun (gmate / mig)

你可以通過搜索 GitHub 話題 和倉(cāng)庫(kù)來獲取更多主題。

更多 Gedit 調(diào)整

這只是眾多 調(diào)整 Gedit 的方法 之一。這里還有更多內(nèi)容供你探索。

享受更多顏色的 Gedit ??

責(zé)任編輯:龐桂玉 來源: Linux中國(guó)
相關(guān)推薦

2017-02-24 11:31:17

Android顏色提取Palette

2020-06-30 08:55:29

Vim文本編輯器Linux

2019-09-08 10:24:48

Linux顏色主題終端主題

2011-07-12 11:03:08

額外控制器

2011-09-07 16:12:06

Ubuntugedit

2021-10-29 10:50:13

XfceXubuntuLinux

2015-09-24 10:51:12

Numix圖標(biāo)Ubuntu

2020-12-20 08:49:01

gedit文本編輯器GNOME

2021-08-14 22:58:24

Windows 11Windows微軟

2011-12-22 11:31:24

Java

2011-03-31 09:23:02

Cacti插件

2011-07-18 10:14:00

2021-03-15 08:20:15

微軟Edge瀏覽器

2010-08-13 09:05:09

Flex4Halo

2011-09-02 14:29:20

jQuery Mobi主題

2022-06-27 19:16:53

Obsidian工具

2023-04-02 21:45:46

Vim文本編輯器

2009-12-07 16:59:53

PHP匹配顏色函數(shù)

2010-03-30 09:46:01

Nginx JSP

2018-09-05 09:13:43

Linux服務(wù)器IPIP
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)