适用:Ubuntu及其衍生系。
文章太长,为方便查询,下面是导引:
-
一、安装输入法(搜狗) 操作系统:Ubuntu
-
二、安装输入法(搜狗) 操作系统:Elementary
-
三、安装Vim
-
四、添加国内源
-
五、更新软件源
-
六、安装软件
1.deepin-screenshot(截图软件) 操作系统:Ubuntu
2.deepin-screenshot(截图软件) 操作系统:Elementary
3.wxhexeditor(二进制修改软件) 操作系统:Elementary
4.Sublime(文档编辑) 操作系统:Elementary
5.VScode(文档编辑) 操作系统:Elementary
6.ATOM(文档编辑) 操作系统:Elementary
7.converseen(图片批修改) 操作系统:Ubuntu
8.gimp(gimp-plugin-registry)(图片编辑) 操作系统:Ubuntu -
七、安装终端
1.gnome-terminal 操作系统:Elementary
一、安装输入法(搜狗) 操作系统:Ubuntu
1、打开浏览器搜索 sogou linux
2、进入网页后选择适合
32bit
或者64bit
进行下载3、这里我选择保存文件
4、双击打开安装界面
5、点击install安装
6、安装完毕后,找到应用搜索(左下角)
7、在搜索框中输入fcitx,找到
fcitx
和fcitx configuration
,先双击运行fcitx
8、再运行
fcitx configuration
9、再运行
fcitx configuration
,点击左下角的+
号10、把
Only Show Current Language
前面的小钩去掉11、把右边的导航条拉到底,找到
Sogou Pinyin
,选择OK,然后退出重启电脑12、右上角即有显示,安装成功
二、安装输入法(搜狗) 操作系统:Elementary
a、下载输入法软件包后,使用dpkg -i 命令尝试安装(直接在GUI界面下双击安装不可行),直接提示很多依赖的库is not
installed,
li@li-QiTianM410-N000:~/Downloads$ sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
[sudo] password for li:
Selecting previously unselected package sogoupinyin.
(Reading database ... 142081 files and directories currently installed.)
Preparing to unpack sogoupinyin_2.2.0.0108_amd64.deb ...
Unpacking sogoupinyin (2.2.0.0108) ...
dpkg: dependency problems prevent configuration of sogoupinyin:
sogoupinyin depends on fcitx (>= 1:4.2.8.3-3~); however:
Package fcitx is not installed.
sogoupinyin depends on fcitx-frontend-gtk2; however:
Package fcitx-frontend-gtk2 is not installed.
sogoupinyin depends on fcitx-frontend-gtk3; however:
Package fcitx-frontend-gtk3 is not installed.
sogoupinyin depends on fcitx-frontend-qt4; however:
Package fcitx-frontend-qt4 is not installed.
sogoupinyin depends on libfcitx-qt0 | fcitx-libs-qt; however:
Package libfcitx-qt0 is not installed.
Package fcitx-libs-qt is not installed.
sogoupinyin depends on fcitx-module-kimpanel; however:
Package fcitx-module-kimpanel is not installed.
sogoupinyin depends on libopencc2 | libopencc1; however:
Package libopencc2 is not installed.
Package libopencc1 is not installed.
sogoupinyin depends on fcitx-libs (>= 4.2.7); however:
Package fcitx-libs is not installed.
sogoupinyin depends on libqt4-dbus (>= 4:4.8.0); however:
Package libqt4-dbus is not installed.
sogoupinyin depends on libqt4-declarative (>= 4:4.8.0); however:
Package libqt4-declarative is not installed.
sogoupinyin depends on libqt4-network (>= 4:4.8.0); however:
Package libqt4-network is not installed.
sogoupinyin depends on libqtcore4 (>= 4:4.8.0); however:
Package libqtcore4 is not installed.
sogoupinyin depends on libqtgui4 (>= 4:4.8.0); however:
Package libqtgui4 is not installed.
sogoupinyin depends on libqtwebkit4 (>= 2.1.0~2011week13); however:
Package libqtwebkit4 is not installed.
dpkg: error processing package sogoupinyin (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.2-0ubuntu0.18.04.2) ...
No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1+elementary2~ubuntu5.0.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
sogoupinyin
b、使用sudo apt install sogoupinyin
命令尝试网络安装
li@li-QiTianM410-N000:~/Downloads$ sudo apt install sogoupinyin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sogoupinyin is already the newest version (2.2.0.0108).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
sogoupinyin : Depends: fcitx (>= 1:4.2.8.3-3~) but it is not going to be installed
Depends: fcitx-frontend-gtk2 but it is not going to be installed
Depends: fcitx-frontend-gtk3 but it is not going to be installed
Depends: fcitx-frontend-qt4 but it is not going to be installed
Depends: libfcitx-qt0 but it is not going to be installed or
fcitx-libs-qt
Depends: fcitx-module-kimpanel
Depends: libopencc2 but it is not going to be installed or
libopencc1 but it is not installable
Depends: fcitx-libs (>= 4.2.7) but it is not going to be installed
Depends: libqt4-dbus (>= 4:4.8.0) but it is not going to be installed
Depends: libqt4-declarative (>= 4:4.8.0) but it is not going to be installed
Depends: libqt4-network (>= 4:4.8.0) but it is not going to be installed
Depends: libqtcore4 (>= 4:4.8.0) but it is not going to be installed
Depends: libqtgui4 (>= 4:4.8.0) but it is not going to be installed
Depends: libqtwebkit4 (>= 2.1.0~2011week13) but it is not going to be installed
Recommends: fcitx-frontend-qt5 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
c、根据提示,尝试用sudo apt --fix-broken install
修复此问题。
li@li-QiTianM410-N000:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4
fcitx-frontend-qt5 fcitx-libs fcitx-module-dbus fcitx-module-kimpanel
fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic libfcitx-config4
libfcitx-core0 libfcitx-gclient1 libfcitx-qt0 libfcitx-qt5-1 libfcitx-utils0
libgettextpo0 libmng2 libmysqlclient20 libopencc2 libopencc2-data libpresage-data
libpresage1v5 libqt4-dbus libqt4-declarative libqt4-network libqt4-opengl
libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml libqt4-xmlpatterns
libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libtinyxml2.6.2v5 mysql-common
presage qdbus qt-at-spi qtchooser qtcore4-l10n
Suggested packages:
fcitx-m17n fcitx-tools kdialog plasma-widgets-kimpanel
libqt4-declarative-folderlistmodel libqt4-declarative-gestures
libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer libqt4-dev
libicu55 qt4-qtconfig
The following NEW packages will be installed:
fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4
fcitx-frontend-qt5 fcitx-libs fcitx-module-dbus fcitx-module-kimpanel
fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic libfcitx-config4
libfcitx-core0 libfcitx-gclient1 libfcitx-qt0 libfcitx-qt5-1 libfcitx-utils0
libgettextpo0 libmng2 libmysqlclient20 libopencc2 libopencc2-data libpresage-data
libpresage1v5 libqt4-dbus libqt4-declarative libqt4-network libqt4-opengl
libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml libqt4-xmlpatterns
libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libtinyxml2.6.2v5 mysql-common
presage qdbus qt-at-spi qtchooser qtcore4-l10n
0 upgraded, 50 newly installed, 0 to remove and 558 not upgraded.
1 not fully installed or removed.
Need to get 28.2 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libfcitx-utils0 amd64 1:4.2.9.6-1 [35.2 kB]
.
.
.
.
.
.
.
Setting up qt-at-spi:amd64 (0.4.0-8) ...
Setting up fcitx-frontend-qt4 (1:4.2.9.6-1) ...
Setting up libfcitx-qt0:amd64 (1:4.2.9.6-1) ...
Setting up libqt4-opengl:amd64 (4:4.8.7+dfsg-7ubuntu1) ...
Setting up fcitx-libs (1:4.2.9.6-1) ...
Setting up libqtwebkit4:amd64 (2.3.2-0ubuntu13) ...
Setting up sogoupinyin (2.2.0.0108) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
d、经过安装修复,可以上到上图倒数第二行已经提示安装了 sogoupinyin,我们再次输入sudo apt install sogoupinyin
命令来确认一下
li@li-QiTianM410-N000:~/Downloads$ sudo apt install sogoupinyin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sogoupinyin is already the newest version (2.2.0.0108).
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 558 not upgraded.
e、ok。确认安装完毕。进行相关设置后重启即可正常使用
三、安装Vim
sudo apt install vim
四、添加国内源
1、百度搜索清华大学开源镜像
2、下拉找到带一个问号图标的
ubuntu
,然后点击问号3、这里就是镜像的网址,注意这里不同的系统版本软件源不相同,所以一定确保系统版本选择正确
4、如何查看自己系统的版本号呢?我们在终端内输入如下命令即可。如图示,系统版本和上图的一致,可以适用。
cat /proc/version
5、选中,然后复制这些链接
6、在终端中输入如下命令,打开
/etc/apt/sources.list
文件
vim /etc/apt/sources.list
7、在图中光标位置把复制好的源链接粘贴进去
8、这里已经复制好了,下一步保存退出
9、如果保存退出的时候提示出错,用如下命令在Vim中进行强制写入退出
: w !sudo tee %
五、更新软件源
终端中输入命令
sudo apt update
可以看到系统进行了部分针对刚才添加源的操作更新
六、安装软件
-
deepin-screenshot(截图软件) 操作系统:Ubuntu
li@li-System-Product-Name:~$ sudo apt install deepin-screenshot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
dde-qt5integration deepin-notifications deepin-shortcut-viewer libdframeworkdbus1 libdtkcore2 libdtkwidget2 libdtkwm2 libgsettings-qt1 libqt5multimedia5 libqt5sql5 libqt5sql5-sqlite libqt5x11extras5
libqt5xdg3 libqt5xdgiconloader3 libqt5xml5 libxcb-composite0 libxcb-damage0 qt5dxcb-plugin
The following NEW packages will be installed:
dde-qt5integration deepin-notifications deepin-screenshot deepin-shortcut-viewer libdframeworkdbus1 libdtkcore2 libdtkwidget2 libdtkwm2 libgsettings-qt1 libqt5multimedia5 libqt5sql5 libqt5sql5-sqlite
libqt5x11extras5 libqt5xdg3 libqt5xdgiconloader3 libqt5xml5 libxcb-composite0 libxcb-damage0 qt5dxcb-plugin
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,764 kB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libqt5x11extras5 amd64 5.9.5-0ubuntu1 [8,596 B]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-composite0 amd64 1.13-2~ubuntu18.04 [5,184 B]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-damage0 amd64 1.13-2~ubuntu18.04 [4,872 B]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 qt5dxcb-plugin amd64 1.1.8.4+ds-1build1 [129 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libgsettings-qt1 amd64 0.1+17.10.20170824-2fakesync1build2 [17.2 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libdtkcore2 amd64 2.0.7.1-3 [180 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libdframeworkdbus1 amd64 0.4.2-2 [291 kB]
Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libqt5multimedia5 amd64 5.9.5-0ubuntu1 [293 kB]
Get:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libdtkwidget2 amd64 2.0.7.2-2build1 [607 kB]
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libqt5xdgiconloader3 amd64 3.1.0-5build2 [27.9 kB]
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libqt5xml5 amd64 5.9.5+dfsg-0ubuntu2.1 [99.8 kB]
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libqt5xdg3 amd64 3.1.0-5build2 [84.4 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 dde-qt5integration amd64 0.2.8.3+git20180208-1build1 [326 kB]
Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libqt5sql5 amd64 5.9.5+dfsg-0ubuntu2.1 [115 kB]
Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libqt5sql5-sqlite amd64 5.9.5+dfsg-0ubuntu2.1 [40.2 kB]
Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 deepin-notifications amd64 3.1.2-1 [86.1 kB]
Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libdtkwm2 amd64 2.0.7-1 [17.4 kB]
Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 deepin-screenshot amd64 4.0.11-1 [313 kB]
Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 deepin-shortcut-viewer amd64 1.3.4-1 [119 kB]
Fetched 2,764 kB in 4s (652 kB/s)
用which命令找到软件路径
li@li-System-Product-Name:~$ which deepin-screenshot
/usr/bin/deepin-screenshot
点击左上角的Activities
,在搜索框中输入keyboard
在搜索框中输入
keyboard
拖动右侧滚动条到最底部,点击下面的加号
在添加快捷键对话框中作如下操作,注意这里的Command就是刚才
which
出来的路径,然后点击Add
现在就可以用我们添加的快捷键呼出deepin截图使用了
-
deepin-screenshot(截图软件) 操作系统:Elementary
安装方式同Ubuntu相同,下面进行相关设置
首先找到桌面的 System Settings
,单击进入
选择
Keyboard
依次点选
Shortcuts
,Custom
按图示顺序进行1,2,3处设置即可
-
wxhexeditor(二进制修改软件) 操作系统:Elementary
li@li-QiTianM410-N000:~/Pictures$ sudo apt install wxhexeditor
[sudo] password for li:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libdisasm0 libmhash2 libwxbase3.0-0v5 libwxgtk3.0-0v5
Suggested packages:
x86dis
The following NEW packages will be installed:
libdisasm0 libmhash2 libwxbase3.0-0v5 libwxgtk3.0-0v5 wxhexeditor
0 upgraded, 5 newly installed, 0 to remove and 558 not upgraded.
Need to get 5,639 kB of archives.
After this operation, 22.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libmhash2 amd64 0.9.9.9-7 [87.0 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libdisasm0 amd64 0.23-6build1 [37.7 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libwxbase3.0-0v5 amd64 3.0.4+dfsg-3 [954 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 libwxgtk3.0-0v5 amd64 3.0.4+dfsg-3 [4,182 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 wxhexeditor amd64 0.23+repack-2ubuntu1 [378 kB]
Fetched 5,639 kB in 5s (1,060 kB/s)
Selecting previously unselected package libmhash2:amd64.
(Reading database ... 143488 files and directories currently installed.)
Preparing to unpack .../libmhash2_0.9.9.9-7_amd64.deb ...
Unpacking libmhash2:amd64 (0.9.9.9-7) ...
Selecting previously unselected package libdisasm0:amd64.
Preparing to unpack .../libdisasm0_0.23-6build1_amd64.deb ...
Unpacking libdisasm0:amd64 (0.23-6build1) ...
Selecting previously unselected package libwxbase3.0-0v5:amd64.
Preparing to unpack .../libwxbase3.0-0v5_3.0.4+dfsg-3_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.4+dfsg-3) ...
Selecting previously unselected package libwxgtk3.0-0v5:amd64.
Preparing to unpack .../libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb ...
Unpacking libwxgtk3.0-0v5:amd64 (3.0.4+dfsg-3) ...
Selecting previously unselected package wxhexeditor.
Preparing to unpack .../wxhexeditor_0.23+repack-2ubuntu1_amd64.deb ...
Unpacking wxhexeditor (0.23+repack-2ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1+elementary2~ubuntu5.0.1) ...
Setting up libmhash2:amd64 (0.9.9.9-7) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.4+dfsg-3) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up libdisasm0:amd64 (0.23-6build1) ...
Setting up libwxgtk3.0-0v5:amd64 (3.0.4+dfsg-3) ...
Setting up wxhexeditor (0.23+repack-2ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
li@li-QiTianM410-N000:~/Pictures$
-
Sublime(文档编辑) 操作系统:Elementary
使用Sublime官网提供的命令行安装方式进行,首先打开sublime主页,找到并点击INSTALL FOR LINUX
根据网页提示,依次输入如下命令来进行安装,注意最后两条如果提示出错,多尝试几次即可,因为国内直接连接sublime的仓库会有些不稳定,这是正常的。
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
具体过程如下:
li@li-QiTianM410-N000:~/Pictures$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
[sudo] password for li:
OK
li@li-QiTianM410-N000:~/Pictures$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 558 not upgraded.
Need to get 1,692 B of archives.
After this operation, 153 kB of additional disk space will be used.
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.11 [1,692 B]
Fetched 1,692 B in 0s (3,704 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 143564 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.11_all.deb ...
Unpacking apt-transport-https (1.6.11) ...
Setting up apt-transport-https (1.6.11) ...
li@li-QiTianM410-N000:~/Pictures$ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
deb https://download.sublimetext.com/ apt/stable/
li@li-QiTianM410-N000:~/Pictures$ sudo apt-get update
Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Hit:2 http://packages.elementary.io/appcenter bionic InRelease
Hit:3 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
Hit:8 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Err:13 https://download.sublimetext.com apt/stable/ InRelease
Could not connect to download.sublimetext.com:443 (104.236.0.104), connection timed out
Fetched 252 kB in 31s (8,245 B/s)
Reading package lists... Done
W: Failed to fetch https://download.sublimetext.com/apt/stable/InRelease Could not connect to download.sublimetext.com:443 (104.236.0.104), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
li@li-QiTianM410-N000:~/Pictures$ sudo apt-get update
Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Hit:8 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
Hit:9 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:10 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:11 http://packages.elementary.io/appcenter bionic InRelease
Hit:12 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:13 https://download.sublimetext.com apt/stable/ InRelease
Could not connect to download.sublimetext.com:443 (104.236.0.104), connection timed out
Fetched 252 kB in 31s (8,138 B/s)
Reading package lists... Done
W: Failed to fetch https://download.sublimetext.com/apt/stable/InRelease Could not connect to download.sublimetext.com:443 (104.236.0.104), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
li@li-QiTianM410-N000:~/Pictures$ sudo apt-get update
Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Get:3 http://packages.elementary.io/appcenter bionic InRelease [5,893 B]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Hit:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
Hit:6 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Hit:9 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Hit:11 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
Hit:12 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:13 https://download.sublimetext.com apt/stable/ InRelease
Get:14 http://packages.elementary.io/appcenter bionic/main amd64 DEP-11 Metadata [185 kB]
Fetched 443 kB in 2s (253 kB/s)
Reading package lists... Done
从以上可以看到在update的过程中超时了一次。下面开始正式安装:
li@li-QiTianM410-N000:~/Pictures$ sudo apt-get install sublime-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
sublime-text
0 upgraded, 1 newly installed, 0 to remove and 558 not upgraded.
Need to get 9,846 kB of archives.
After this operation, 34.8 MB of additional disk space will be used.
Get:1 https://download.sublimetext.com apt/stable/ sublime-text 3207 [9,846 kB]
Fetched 9,846 kB in 7min 18s (22.5 kB/s)
Selecting previously unselected package sublime-text.
(Reading database ... 143568 files and directories currently installed.)
Preparing to unpack .../sublime-text_3207_amd64.deb ...
Unpacking sublime-text (3207) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1+elementary2~ubuntu5.0.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up sublime-text (3207) ...
安装完成。下面查找一下Sublime的具体安装位置,我们先把Sublime运行起来,然后在终端中使用命令查看进程运行状态
ps aux
注意红色箭头处,按照这个路径找一找
成功
li@li-QiTianM410-N000:/usr/bin$ cd /opt/sublime_text
li@li-QiTianM410-N000:/opt/sublime_text$ ls
changelog.txt Icon plugin_host sublime_plugin.py sublime_text
crash_reporter Packages python3.3.zip sublime.py
li@li-QiTianM410-N000:/opt/sublime_text$
-
VScode(文档编辑) 操作系统:Elementary
到VScode官方网站去下载deb包
使用sudo dpkg -i code_1.37.0-1565227985_amd64.deb
命令进行安装
li@li-QiTianM410-N000:~/Downloads$ sudo dpkg -i code_1.37.0-1565227985_amd64.deb
Selecting previously unselected package code.
(Reading database ... 143647 files and directories currently installed.)
Preparing to unpack code_1.37.0-1565227985_amd64.deb ...
Unpacking code (1.37.0-1565227985) ...
Setting up code (1.37.0-1565227985) ...
gpg: WARNING: unsafe ownership on homedir '/home/li/.gnupg'
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1+elementary2~ubuntu5.0.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
输入命令启动VScode
li@li-QiTianM410-N000:~/Downloads$ code
启动成功
安装python插件。首先点击 1
处所示图标,然后在2
的竖线处稍微往右侧拖动,即可显示出插件的图标,默认是看不到的。此时即可在3
处输入相关关键字搜索插件
这里直接安装python的插件如图
然后再指定一个工作文件夹位置
新建一个后缀名为
.py
的文件输入一行代码进行测试运行
print("123456")
依次点击Debug,Start Debugging
,或者使用快捷键F5
直接选择第一项
运行输出正常
写代码时一个很重要问题就是代码的格式的规范,这里再安装一个自动格式代码的插件,我们在文本编辑区右键,选择
Format Document
或者使用快捷键Ctrl+Shift+i
系统将提示你没有安装
Formatter autopep8
没有安装,点击yes
安装系统提示没有安装python的
pip
工具,我们回到终端去安装pip
在终端下输入
sudo apt install python3-pip
即可完成安装
li@li-QiTianM410-N000:~/Downloads$ sudo apt install python3-pip
[sudo] password for li:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
build-essential cpp cpp-7 dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libc-dev-bin
libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libexpat1 libexpat1-dev libfakeroot libgcc-7-dev libgcc1 libgomp1
libitm1 liblsan0 libmpx2 libpython3-dev libpython3-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal
libpython3.6-stdlib libquadmath0 libssl1.1 libstdc++-7-dev libstdc++6 libtsan0 libubsan0 linux-libc-dev make
manpages-dev python-pip-whl python3 python3-asn1crypto python3-cffi-backend python3-crypto
python3-cryptography python3-dev python3-distutils python3-keyring python3-keyrings.alt python3-lib2to3
python3-minimal python3-secretstorage python3-setuptools python3-wheel python3.6 python3.6-dev
python3.6-minimal
Suggested packages:
cpp-doc gcc-7-locales debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib
autoconf automake libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
libquadmath0-dbg glibc-doc git bzr libstdc++-7-doc make-doc python3-doc python3-tk python3-venv
python-crypto-doc python-cryptography-doc python3-cryptography-vectors libkf5wallet-bin
gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc python3.6-venv python3.6-doc
binfmt-support
The following NEW packages will be installed:
build-essential dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libc-dev-bin libc6-dev libcc1-0
libcilkrts5 libexpat1-dev libfakeroot libgcc-7-dev libitm1 liblsan0 libmpx2 libpython3-dev libpython3.6-dev
libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev python-pip-whl
python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography python3-dev python3-distutils
python3-keyring python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage python3-setuptools
python3-wheel python3.6-dev
The following packages will be upgraded:
cpp cpp-7 gcc-7-base gcc-8-base libdpkg-perl libexpat1 libgcc1 libgomp1 libpython3-stdlib libpython3.6
libpython3.6-minimal libpython3.6-stdlib libssl1.1 libstdc++6 python3 python3-minimal python3.6
python3.6-minimal
18 upgraded, 47 newly installed, 0 to remove and 540 not upgraded.
Need to get 89.8 MB of archives.
After this operation, 206 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
#省略部分代码
.
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up python3-setuptools (39.0.1-2) ...
Setting up python3.6-dev (3.6.8-1~18.04.1) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up dh-python (3.20180325ubuntu2) ...
Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ...
Setting up python3-keyring (10.6.0-1) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up python3-dev (3.6.7-1~18.04) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
li@li-QiTianM410-N000:~/Downloads$
此时我们再次回到VScode,按下Ctrl+Shift+i
,在提示安装Formatter autopep8
的时候选择yes
稍等片刻即可完成
-
ATOM(文档编辑) 操作系统:Elementary
进入官网找到合适的安装方法,或者是可以找到名为Installing Atom网页,按照命令行方式来安装,以下是所有命令行的归集
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
sudo apt-get update
sudo apt-get install atom
sudo apt-get install atom-beta
下面逐条进行安装测试
li@li-QiTianM410-N000:/$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
[sudo] password for li:
OK
li@li-QiTianM410-N000:/$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
#此条我这里无回显
li@li-QiTianM410-N000:/$ sudo apt-get update
Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:4 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
Hit:5 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
#......以下略去
安装如果一次不成功继续就行
li@li-QiTianM410-N000:/$ sudo apt-get install atom
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gconf-service gconf-service-backend gconf2-common git git-man liberror-perl
libgconf-2-4
Suggested packages:
gir1.2-gnomekeyring-1.0 git-daemon-run | git-daemon-sysvinit git-doc git-el
git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
atom gconf-service gconf-service-backend gconf2-common git git-man
liberror-perl libgconf-2-4
0 upgraded, 8 newly installed, 0 to remove and 540 not upgraded.
Need to get 112 MB of archives.
After this operation, 688 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
#......以下略去
安装完成后,输入命令启动
li@li-QiTianM410-N000:/$ atom
安装python插件,依次点击
Edit,Preference,Install
,在图示输入框中输入script
在图示输入框中输入
script
,点击Install按钮,这个过程会比较漫长,耐心等安装完成后,新建一个文件,输入一行测试代码
print("123")
然后依次点击Packages,Script,Run Script
,即可在左下角黄色框位置看到运行输出
完毕!
-
converseen(图片批修改) 操作系统:Ubuntu
使用sudo apt install converseen
命令进行安装
li@li-System-Product-Name:~$ sudo apt install converseen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libmagick++-6.q16-7
The following NEW packages will be installed:
converseen libmagick++-6.q16-7
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 419 kB of archives.
After this operation, 1,876 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libmagick++-6.q16-7 amd64 8:6.9.7.4+dfsg-16ubuntu6.7 [139 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 converseen amd64 0.9.6.2-2 [280 kB]
Fetched 419 kB in 1s (325 kB/s)
Selecting previously unselected package libmagick++-6.q16-7:amd64.
(Reading database ... 165056 files and directories currently installed.)
Preparing to unpack .../libmagick++-6.q16-7_8%3a6.9.7.4+dfsg-16ubuntu6.7_amd64.deb ...
Unpacking libmagick++-6.q16-7:amd64 (8:6.9.7.4+dfsg-16ubuntu6.7) ...
Selecting previously unselected package converseen.
Preparing to unpack .../converseen_0.9.6.2-2_amd64.deb ...
Unpacking converseen (0.9.6.2-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Setting up libmagick++-6.q16-7:amd64 (8:6.9.7.4+dfsg-16ubuntu6.7) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up converseen (0.9.6.2-2) ...
启动应用,点击Open images
打开一个图片文件夹,全选,然后点击
Open
点击右侧
Check all
即可全选,左侧依次选择Dimension,Scale image
这里我选择的是定宽620像素,单位是
px
,勾选Mantian sapect ratio
,既保持高宽比继续往下滚动,修改保存路径
点击上部工具栏的
Convert
,弹出对话框提示转换进度信息到我们保存的文件夹下看看效果。双击打开图片,在图片查看器的设置中,点选
Status Bar
可以看到像素已经改变成了620x398
-
gimp(gimp-plugin-registry)(图片编辑) 操作系统:Ubuntu
gimp类似于Windows下的Photoshop,功能较为强大,这里用命令行来安装。gimp是程序本体,gimp-plugin-registry是个插件包,这里一起安装了
li@li-System-Product-Name:~$ sudo apt install gimp gimp-plugin-registry
[sudo] password for li:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
gimp-data gimp-gmic i965-va-driver libaacs0 libamd2 libavcodec57
libavformat57 libavutil55 libbabl-0.1-0 libbdplus0 libblas3 libbluray2
libcamd2 libccolamd2 libcholmod3 libchromaprint1 libcrystalhd3 libcurl4
libgegl-0.3-0 libgfortran4 libgimp2.0 libglew2.0 libgme0 libgsm1
libgtkglext1 liblapack3 libmetis5 libopenjp2-7 libopenmpt0 libpangox-1.0-0
libpython-stdlib libquadmath0 libsdl1.2debian libshine3 libsnappy1v5
libsoxr0 libssh-gcrypt-4 libswresample2 libswscale4 libtiff-tools
libumfpack5 libva-drm2 libva-x11-2 libva2 libvdpau1 libx264-152 libx265-146
libxvidcore4 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers
python python-cairo python-gobject-2 python-gtk2 python-minimal python2.7
python2.7-minimal va-driver-all vdpau-driver-all
Suggested packages:
gimp-help-en | gimp-help gimp-data-extras gmic icc-profiles
i965-va-driver-shaders libbluray-bdj firmware-crystalhd glew-utils
libtiff-opengl python-doc python-tk python-gobject-2-dbg python-gtk2-doc
python2.7-doc binfmt-support libvdpau-va-gl1 nvidia-vdpau-driver
nvidia-legacy-340xx-vdpau-driver
The following NEW packages will be installed:
gimp gimp-data gimp-gmic gimp-plugin-registry i965-va-driver libaacs0
libamd2 libavcodec57 libavformat57 libavutil55 libbabl-0.1-0 libbdplus0
libblas3 libbluray2 libcamd2 libccolamd2 libcholmod3 libchromaprint1
libcrystalhd3 libcurl4 libgegl-0.3-0 libgfortran4 libgimp2.0 libglew2.0
libgme0 libgsm1 libgtkglext1 liblapack3 libmetis5 libopenjp2-7 libopenmpt0
libpangox-1.0-0 libpython-stdlib libquadmath0 libsdl1.2debian libshine3
libsnappy1v5 libsoxr0 libssh-gcrypt-4 libswresample2 libswscale4
libtiff-tools libumfpack5 libva-drm2 libva-x11-2 libva2 libvdpau1
libx264-152 libx265-146 libxvidcore4 libzvbi-common libzvbi0 mesa-va-drivers
mesa-vdpau-drivers python python-cairo python-gobject-2 python-gtk2
python-minimal python2.7 python2.7-minimal va-driver-all vdpau-driver-all
0 upgraded, 63 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.7 MB of archives.
After this operation, 202 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.15-4ubuntu4~18.04 [1,295 kB]
.
#中间略去
.
Setting up python-gtk2 (2.24.0-5.1ubuntu2) ...
Setting up libumfpack5:amd64 (1:5.1.2-2) ...
Setting up libchromaprint1:amd64 (1.4.3-1) ...
Setting up libavformat57:amd64 (7:3.4.6-0ubuntu0.18.04.1) ...
Setting up libgegl-0.3-0:amd64 (0.3.30-1ubuntu1) ...
Setting up gimp (2.8.22-1) ...
Setting up gimp-gmic (1.7.9+zart-4build3) ...
Setting up gimp-plugin-registry (7.20140602ubuntu3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
输入gimp即可启动程序
li@li-System-Product-Name:~$ gimp
程序正确启动
由于点开工具栏的时候无法截图,这里用文字叙述相关过程。
依次
File,Open
,打开一张图片。选择
Fliters,Light and shadow,drop shadow
,弹出对话框后选择默认设置,确定。效果如下。
选择
File,Export
,使用默认设置即可使用图片查看器,效果如下
为了方便处理多个图像,为这个操作设置一个快捷键。
选择
Edit,Keyboard Shortcuts
,在Search中输入drop
,找到下图框所示项,为其设置快捷键为Win+w
键,注意不要Q,Q和Ubuntu系统默认快捷键冲突
。
七、安装终端
-
gnome-terminal 操作系统:Elementary
使用echo $DESKTOP_SESSION
获得当前linux桌面程序的名称
li@li-QiTianM410-N000:/$ echo $DESKTOP_SESSION
pantheon
patheon默认的终端过于精简,换回gnome-terminal比较适应,使用sudo apt-get install gnome-terminal
命令安装
li@li-QiTianM410-N000:/$ sudo apt-get install gnome-terminal
[sudo] password for li:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gnome-terminal-data libyelp0 nautilus-extension-gnome-terminal yelp yelp-xsl
The following NEW packages will be installed:
gnome-terminal gnome-terminal-data libyelp0 nautilus-extension-gnome-terminal yelp yelp-xsl
0 upgraded, 6 newly installed, 0 to remove and 540 not upgraded.
Need to get 1,061 kB of archives.
After this operation, 6,212 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 gnome-terminal-data all 3.28.2-1ubuntu1~18.04.1 [32.1 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 gnome-terminal amd64 3.28.2-1ubuntu1~18.04.1 [160 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libyelp0 amd64 3.26.0-1ubuntu2 [93.5 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 nautilus-extension-gnome-terminal amd64 3.28.2-1ubuntu1~18.04.1 [23.8 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 yelp-xsl all 3.20.1-4 [238 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 yelp amd64 3.26.0-1ubuntu2 [514 kB]
Fetched 1,061 kB in 2s (672 kB/s)
Selecting previously unselected package gnome-terminal-data.
(Reading database ... 151583 files and directories currently installed.)
Preparing to unpack .../0-gnome-terminal-data_3.28.2-1ubuntu1~18.04.1_all.deb ...
Unpacking gnome-terminal-data (3.28.2-1ubuntu1~18.04.1) ...
Selecting previously unselected package gnome-terminal.
Preparing to unpack .../1-gnome-terminal_3.28.2-1ubuntu1~18.04.1_amd64.deb ...
Unpacking gnome-terminal (3.28.2-1ubuntu1~18.04.1) ...
Selecting previously unselected package libyelp0:amd64.
Preparing to unpack .../2-libyelp0_3.26.0-1ubuntu2_amd64.deb ...
Unpacking libyelp0:amd64 (3.26.0-1ubuntu2) ...
Selecting previously unselected package nautilus-extension-gnome-terminal.
Preparing to unpack .../3-nautilus-extension-gnome-terminal_3.28.2-1ubuntu1~18.04.1_amd64.deb ...
Unpacking nautilus-extension-gnome-terminal (3.28.2-1ubuntu1~18.04.1) ...
Selecting previously unselected package yelp-xsl.
Preparing to unpack .../4-yelp-xsl_3.20.1-4_all.deb ...
Unpacking yelp-xsl (3.20.1-4) ...
Selecting previously unselected package yelp.
Preparing to unpack .../5-yelp_3.26.0-1ubuntu2_amd64.deb ...
Unpacking yelp (3.26.0-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1+elementary2~ubuntu5.0.1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.2-0ubuntu0.18.04.2) ...
No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.
Setting up gnome-terminal-data (3.28.2-1ubuntu1~18.04.1) ...
Setting up libyelp0:amd64 (3.26.0-1ubuntu2) ...
Setting up gnome-terminal (3.28.2-1ubuntu1~18.04.1) ...
update-alternatives: using /usr/bin/gnome-terminal.wrapper to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up yelp-xsl (3.20.1-4) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up yelp (3.26.0-1ubuntu2) ...
Setting up nautilus-extension-gnome-terminal (3.28.2-1ubuntu1~18.04.1) ...
使用dpkg -L gnome-terminal
命令查看安装的路径,因为在系统Applications中查找不到gnome-terminal终端
li@li-QiTianM410-N000:/$ dpkg -L gnome-terminal
/.
/usr
/usr/bin
/usr/bin/gnome-terminal
/usr/bin/gnome-terminal.real
/usr/bin/gnome-terminal.wrapper
/usr/lib
/usr/lib/gnome-terminal
/usr/lib/gnome-terminal/gnome-terminal-server
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/gnome-terminal-server.service
/usr/share
/usr/share/applications
/usr/share/applications/gnome-terminal.desktop
/usr/share/applications/org.gnome.Terminal.desktop
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.gnome.Terminal.service
/usr/share/doc
/usr/share/doc/gnome-terminal
/usr/share/doc/gnome-terminal/AUTHORS
/usr/share/doc/gnome-terminal/NEWS.gz
/usr/share/doc/gnome-terminal/README.Debian
/usr/share/doc/gnome-terminal/changelog.Debian.gz
/usr/share/doc/gnome-terminal/copyright
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/glib-2.0/schemas/org.gnome.Terminal.gschema.xml
/usr/share/gnome-shell
/usr/share/gnome-shell/search-providers
/usr/share/gnome-shell/search-providers/gnome-terminal-search-provider.ini
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gnome-terminal.1.gz
/usr/share/metainfo
/usr/share/metainfo/org.gnome.Terminal.appdata.xml
/usr/share/man/man1/gnome-terminal.wrapper.1.gz
直接输入以下代码执行
/usr/bin/gnome-terminal
正确运行起来了
现在的问题是暂时不知道怎么把终端的快捷方式添加到系统的Dock中,目前暂且使用快捷键替代的方式,把原来的快捷键修改成呼出gnome-terminal
来解决
首先我们在 System Settings
中找到Applications
,看Shortcuts
中的Terminal
快捷键
然后来到
Custom
中如法炮制一个,OK!
网友评论