從0到1一步一步玩轉(zhuǎn)openEuler--04 openEuler UKUI 桌面環(huán)境的安裝和使用

04 openEuler UKUI 桌面環(huán)境的安裝和使用

04 openEuler UKUI 桌面環(huán)境的安裝和使用4.1 UKUI簡介4.2 UKUI安裝方法4.2.1 更新軟件源4.2.2 安裝UKUI4.2.3 設(shè)置圖形界面啟動(dòng)4.2.4 重啟生效4.3 UKUI圖形界面

本文介紹常用的 openEuler UKUI 桌面環(huán)境的安裝和使用方法讽膏,它提供美觀易用挣跋、安全可靠的圖形化操作界面闺金,給用戶帶來更好的體驗(yàn)。

4.1 UKUI簡介

UKUI是麒麟軟件團(tuán)隊(duì)歷經(jīng)多年打造的一款 Linux 桌面勘高,主要基于 GTK 和 QT 開發(fā)饺饭。與其它 UI 界面相比个束,UKUI 更加注重易用性和敏捷度,各元件相依性小震桶,可以不依賴其它套件而獨(dú)自運(yùn)行,給用戶帶來親切和高效的使用體驗(yàn)征绎。

UKUI支持x86_64和aarch64兩種架構(gòu)蹲姐。

前提:下載openEuler ISO鏡像并已安裝系統(tǒng)。

4.2 UKUI安裝方法

4.2.1 更新軟件源

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n11" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"># dnf update</pre>

示例命令如下:

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n13" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">[root@scfuture-21 ~]# dnf update
Last metadata expiration check: 0:45:19 ago on 2022年12月03日 星期六 10時(shí)39分32秒.
Dependencies resolved.
=============================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================
Upgrading:
NetworkManager x86_64 1:1.32.12-12.oe2203 update 2.2 M
NetworkManager-config-server noarch 1:1.32.12-12.oe2203 update 12 k
NetworkManager-libnm x86_64 1:1.32.12-12.oe2203 update 1.6 M
acl x86_64 2.3.1-2.oe2203 update 51 k
atk x86_64 2.36.0-2.oe2203 update 262 k
atk-devel x86_64 2.36.0-2.oe2203 update 196 k
augeas x86_64 1.13.0-3.oe2203 update 376 k
authselect x86_64 1.2.4-6.oe2203 update 189 k
bash x86_64 5.1.8-6.oe2203 update 1.2 M
bc x86_64 1.07.1-11.oe2203 update 89 k
bind-libs x86_64 32:9.16.23-11.oe2203 update 1.2 M
bind-license noarch 32:9.16.23-11.oe2203 update 18 k
bind-utils x86_64 32:9.16.23-11.oe2203 update 178 k
bluez-libs x86_64 5.54-15.oe2203
Downloading Packages:
(1/260): duktape-2.6.0-1.oe2203.x86_64.rpm 680 kB/s | 143 kB 00:00
(2/260): elfutils-extra-0.185-13.oe2203.x86_64.rpm 389 kB/s | 227 kB 00:00
(3/260): grub2-tools-efi-2.06-15.oe2203.x86_64.rpm 755 kB/s | 463 kB 00:00
(4/260): NetworkManager-config-server-1.32.12-12.oe2203.noarch.rpm 241 kB/s | 12 kB 00:00
(5/260): NetworkManager-1.32.12-12.oe2203.x86_64.rpm 8.9 MB/s | 2.2 MB 00:00
(6/260): acl-2.3.1-2.oe2203.x86_64.rpm 1.0 MB/s | 51 kB 00:00
(7/260): atk-2.36.0-2.oe2203.x86_64.rpm 3.7 MB/s | 262 kB 00:00
(8/260): atk-devel-2.36.0-2.oe2203.x86_64.rpm 3.1 MB/s | 196 kB 00:00
(9/260): augeas-1.13.0-3.oe2203.x86_64.rpm 4.6 MB/s | 376 kB 00:00
(10/260): authselect-1.2.4-6.oe2203.x86_64.rpm 3.5 MB/s | 189 kB 00:00
(11/260): bash-5.1.8-6.oe2203.x86_64.rpm 12 MB/s | 1.2 MB 00:00
(12/260): NetworkManager-libnm-1.32.12-12.oe2203.x86_64.rpm 2.5 MB/s | 1.6 MB 00:00
(13/260): bc-1.07.1-11.oe2203.x86_64.rpm 1.2 MB/s | 89 kB 00:00
.
.
.
vim-minimal-2:9.0-1.oe2203.x86_64
wayland-1.19.91-4.oe2203.x86_64 wayland-devel-1.19.91-4.oe2203.x86_64 words-3.0-33.oe2203.noarch
xz-5.2.5-2.oe2203.x86_64
xz-devel-5.2.5-2.oe2203.x86_64 xz-libs-5.2.5-2.oe2203.x86_64
yajl-2.1.0-18.oe2203.x86_64
yum-4.10.0-7.oe2203.noarch
zlib-1.2.11-22.oe2203.x86_64
zlib-devel-1.2.11-22.oe2203.x86_64
Installed:
duktape-2.6.0-1.oe2203.x86_64 elfutils-extra-0.185-13.oe2203.x86_64 grub2-tools-efi-1:2.06-15.oe2203.x86_64
kernel-5.10.0-60.68.0.93.oe2203.x86_64

Complete!
[root@scfuture-21 ~]# </pre>

4.2.2 安裝UKUI

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n15" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"># dnf install ukui -y</pre>

示例命令如下:

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n17" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">[root@scfuture-21 ~]# dnf install ukui
Last metadata expiration check: 0:59:17 ago on 2022年12月03日 星期六 10時(shí)39分32秒.
Dependencies resolved.
=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Installing:
ukui noarch 2.0.2-14.oe1 EPOL 12 k
Installing dependencies:
GeoIP x86_64 1.6.12-6.oe2203 OS 106 k
GeoIP-GeoLite-data noarch 2018.06-4.oe2203 update 26 M
LibRaw x86_64 0.20.2-5.oe2203 everything 356 k
PackageKit-devel x86_64 1.1.12-10.oe2203 OS 103 k
SDL2 x86_64 2.0.12-4.oe2203 update 464 k
SDL2-devel x86_64 2.0.12-4.oe2203 update 266 k
accountsservice x86_64 0.6.55-1.oe2203 OS 113 k
adobe-mappings-cmap noarch 20190730-3.oe2203 OS 15 k
adobe-mappings-cmap-lang noarch 20190730-3.oe2203 OS 2.5 M
adobe-mappings-pdf noarch 20190401-2.oe2203
.
.
.
xorg-x11-drv-qxl-0.1.5-14.oe2203.x86_64 xorg-x11-drv-synaptics-legacy-1.9.1-3.oe2203.x86_64
xorg-x11-drv-v4l-0.3.0-1.oe2203.x86_64
xorg-x11-drv-vesa-2.5.0-1.oe2203.x86_64
xorg-x11-drv-vmware-13.3.0-2.oe2203.x86_64
xorg-x11-drv-wacom-0.40.0-1.oe2203.x86_64
xorg-x11-font-utils-1:7.5-43.oe2203.x86_64
xorg-x11-fonts-7.5-24.oe2203.noarch xorg-x11-server-1.20.11-4.oe2203.x86_64
xorg-x11-server-utils-7.7-29.oe2203.x86_64
xorg-x11-utils-7.5-31.oe2203.x86_64
xorg-x11-xauth-1:1.1-1.oe2203.x86_64
xorg-x11-xinit-1.4.1-1.oe2203.x86_64
xorg-x11-xkb-utils-7.7-30.oe2203.x86_64
xvidcore-1.3.7-1.oe2203.x86_64
yelp-tools-3.38.0-1.oe2203.noarch yelp-xsl-3.38.3-1.oe2203.noarch
zenity-3.41.0-1.oe2203.x86_64
zimg-2.9.3-2.oe2203.x86_64
zvbi-0.2.35-7.oe2203.x86_64

Complete!
[root@scfuture-21 ~]# </pre>

4.2.3 設(shè)置圖形界面啟動(dòng)

在確認(rèn)正常安裝后人柿,如果希望以圖形界面的方式啟動(dòng)柴墩,請(qǐng)?jiān)诿钚羞\(yùn)行以下代碼

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n20" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"># systemctl set-default graphical.target</pre>

示例命令如下:

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n22" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">[root@scfuture-21 ~]# systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
[root@scfuture-21 ~]# </pre>

4.2.4 重啟生效

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n24" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"># reboot</pre>

示例命令如下:

<pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="bash" cid="n26" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">[root@scfuture-21 ~]# reboot
[root@scfuture-21 ~]#</pre>

4.3 UKUI圖形界面

image-20221203115720129
image-20221203115835135
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市凫岖,隨后出現(xiàn)的幾起案子江咳,更是在濱河造成了極大的恐慌,老刑警劉巖哥放,帶你破解...
    沈念sama閱讀 222,000評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件歼指,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡甥雕,警方通過查閱死者的電腦和手機(jī)踩身,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,745評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來犀农,“玉大人惰赋,你說我怎么就攤上這事『巧冢” “怎么了赁濒?”我有些...
    開封第一講書人閱讀 168,561評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長孟害。 經(jīng)常有香客問我拒炎,道長,這世上最難降的妖魔是什么挨务? 我笑而不...
    開封第一講書人閱讀 59,782評(píng)論 1 298
  • 正文 為了忘掉前任击你,我火速辦了婚禮,結(jié)果婚禮上谎柄,老公的妹妹穿的比我還像新娘丁侄。我一直安慰自己,他們只是感情好朝巫,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,798評(píng)論 6 397
  • 文/花漫 我一把揭開白布鸿摇。 她就那樣靜靜地躺著,像睡著了一般劈猿。 火紅的嫁衣襯著肌膚如雪拙吉。 梳的紋絲不亂的頭發(fā)上潮孽,一...
    開封第一講書人閱讀 52,394評(píng)論 1 310
  • 那天,我揣著相機(jī)與錄音筷黔,去河邊找鬼往史。 笑死,一個(gè)胖子當(dāng)著我的面吹牛佛舱,可吹牛的內(nèi)容都是我干的椎例。 我是一名探鬼主播,決...
    沈念sama閱讀 40,952評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼名眉,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼粟矿!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起损拢,我...
    開封第一講書人閱讀 39,852評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤陌粹,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后福压,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體掏秩,經(jīng)...
    沈念sama閱讀 46,409評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,483評(píng)論 3 341
  • 正文 我和宋清朗相戀三年荆姆,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了蒙幻。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,615評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡胆筒,死狀恐怖邮破,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情仆救,我是刑警寧澤抒和,帶...
    沈念sama閱讀 36,303評(píng)論 5 350
  • 正文 年R本政府宣布,位于F島的核電站彤蔽,受9級(jí)特大地震影響摧莽,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜顿痪,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,979評(píng)論 3 334
  • 文/蒙蒙 一镊辕、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧蚁袭,春花似錦征懈、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,470評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至,卻和暖如春棉饶,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背镇匀。 一陣腳步聲響...
    開封第一講書人閱讀 33,571評(píng)論 1 272
  • 我被黑心中介騙來泰國打工照藻, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人汗侵。 一個(gè)月前我還...
    沈念sama閱讀 49,041評(píng)論 3 377
  • 正文 我出身青樓幸缕,卻偏偏與公主長得像,于是被迫代替她去往敵國和親晰韵。 傳聞我的和親對(duì)象是個(gè)殘疾皇子发乔,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,630評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容