打开终端,使用wget来下载 Google Chrome .deb 软件包:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
#或
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
在安装过程中,官方 Google 软件源被添加到你的系统。可以使用cat命令来验证文件内容:
cat /etc/apt/sources.list.d/google-chrome.list
输出如下:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
当一个新的版本被发布时,你的 Google Chrome 可以被自动升级。
sudo add-apt-repository ppa:linuxuprising/shutter
sudo apt install shutter
上面的命令运行完后shutter就安装完成了
sudo apt remove --auto-remove shutter

安装准备
sudo apt-get install software-properties-common
添加 qt4 源 与设置 libcurl3,4共存
sudo add-apt-repository ppa:rock-core/qt4
sudo add-apt-repository ppa:xapienz/curl34
sudo apt-get update
安装依赖
sudo apt install libqt4-dbus libqtcore4 libqtgui4 libqt4-network libqt4-opengl
sudo apt install libcurl4=7.68.0-1ubuntu2.5ppa1
sudo apt install curl34
安装 Synergy
sudo dpkg -i Synergy_1.9.0~rc3_amd64_ubuntu.deb
如果出现依赖问题可以尝试使用
sudo apt --fix-broken install
启动软件
synergy
synergy1.8.8版本对Ubuntu20.04支持不是很好,亲测在每次电脑重启后会弹出下面的报错,不过手动重启synergy可以使用就没再操作了
System tray is unavailable
Terminator可以实现在 Ubuntu在同一窗口中启动多个终端,不过这一方法仅适用于图形界面下。
#安装
sudo apt-get install terminator
#卸载
sudo apt-get remove terminator
Ctrl+Shift+E 垂直分割窗口
Ctrl+Shift+O 水平分割窗口 F11 全屏
Ctrl+Shift+C 复制
Ctrl+Shift+V 粘贴
Ctrl+Shift+N 或者 Ctrl+Tab 在分割的各窗口之间切换
Ctrl+Shift+X 将分割的某一个窗口放大至全屏使用
Ctrl+Shift+Z 从放大至全屏的某一窗口回到多窗格界面
sudo vim ~/.config/terminator/config
修改前:
[global_config]
handle_size = 1
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_image = None
修改后:
[global_config]
geometry_hinting = False
handle_size = 1
inactive_color_offset = 1.0
title_font = mry_KacstQurn Bold 11
title_hide_sizetext = True
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = default
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_darkness = 0.76
background_image = None
background_type = transparent
cursor_color = "#3036ec"
custom_command = tmux
font = Ubuntu Mono 13
foreground_color = "#ffffff"
login_shell = True
show_titlebar = False
use_system_font = False
安装dconf-toolssudo
apt-get install dconf-tools
安装成功后,终端中输入命令 “dconf-editor” 来打开这个工具,然后从左边的的菜单栏中按照下面的步骤依次进入指定的菜单项:org > gnome > desktop > applications > terminal
使用gnome-terminal的配置为:
exec gnome-terminal
exec-arg -x
修改使用 Terminator 作为默认终端工具的配置为:
exec x-terminal-emulatore
xec-arg -e