• Ubuntu部分实用工具安装记录


    一、安装google浏览器

    1. 下载 Google浏览器软件

    打开终端,使用wget来下载 Google Chrome .deb 软件包:

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    
    • 1
    1. 安装 Google Chrome
    sudo apt install ./google-chrome-stable_current_amd64.deb
    #或
    sudo  dpkg  -i ./google-chrome-stable_current_amd64.deb
    
    • 1
    • 2
    • 3
    1. 升级 Google Chrome

    在安装过程中,官方 Google 软件源被添加到你的系统。可以使用cat命令来验证文件内容:

    cat /etc/apt/sources.list.d/google-chrome.list
    
    • 1

    输出如下:

    ### 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
    
    • 1
    • 2
    • 3

    当一个新的版本被发布时,你的 Google Chrome 可以被自动升级。

    二、Ubuntu安装截图软件shutter

    1. 安装shutter
    sudo add-apt-repository ppa:linuxuprising/shutter
    sudo apt install shutter
    
    • 1
    • 2

    上面的命令运行完后shutter就安装完成了

    1. 卸载软件
      如果想卸载运行下面的命令就可以卸载截图软件
    sudo apt remove --auto-remove shutter
    
    • 1
    1. 如果想要修改截图的快捷键请打开keyboard shortcuts中进行配置
      在这里插入图片描述

    三、Synergy实现Windows和Ubuntu键鼠共享

    安装准备

    sudo apt-get install software-properties-common
    
    • 1

    添加 qt4 源 与设置 libcurl3,4共存

    sudo add-apt-repository ppa:rock-core/qt4
    sudo add-apt-repository ppa:xapienz/curl34
    sudo apt-get update
    
    • 1
    • 2
    • 3

    安装依赖

    sudo apt install  libqt4-dbus libqtcore4 libqtgui4 libqt4-network libqt4-opengl
    sudo apt install libcurl4=7.68.0-1ubuntu2.5ppa1 
    sudo apt install curl34
    
    • 1
    • 2
    • 3

    安装 Synergy

    sudo dpkg -i Synergy_1.9.0~rc3_amd64_ubuntu.deb
    
    • 1

    如果出现依赖问题可以尝试使用

    sudo apt --fix-broken install
    
    • 1

    启动软件

    synergy
    
    • 1

    synergy1.8.8版本对Ubuntu20.04支持不是很好,亲测在每次电脑重启后会弹出下面的报错,不过手动重启synergy可以使用就没再操作了

    System tray is unavailable
    
    • 1

    四、Ubuntu终端多窗口分屏Terminator

    Terminator可以实现在 Ubuntu在同一窗口中启动多个终端,不过这一方法仅适用于图形界面下。

    1. 安装与卸载命令
    #安装
    sudo apt-get install terminator
    #卸载
    sudo apt-get remove terminator
    
    • 1
    • 2
    • 3
    • 4
    1. 快捷键
    Ctrl+Shift+E    垂直分割窗口
    Ctrl+Shift+O    水平分割窗口     F11         全屏
    Ctrl+Shift+C    复制
    Ctrl+Shift+V    粘贴
    Ctrl+Shift+N    或者 Ctrl+Tab 在分割的各窗口之间切换
    Ctrl+Shift+X    将分割的某一个窗口放大至全屏使用
    Ctrl+Shift+Z    从放大至全屏的某一窗口回到多窗格界面
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    1. 修改界面的配置文件
    sudo vim ~/.config/terminator/config
    
    • 1

    修改前:

    [global_config]
      handle_size = 1
    [keybindings]
    [layouts]
      [[default]]
        [[[child1]]]
          parent = window0
          type = Terminal
        [[[window0]]]
          parent = ""
          type = Window
    [plugins]
    [profiles]
      [[default]]
        background_image = None
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15

    修改后:

    [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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    1. 更改 Ubuntu 默认终端工具
      Ubuntu 系统中默认使用的终端工具是 gnome-terminal,当我们安装完 Terminator 之后可以借助dconf-tools 工具来进行重新设置。

    安装dconf-toolssudo

    apt-get install dconf-tools
    
    • 1

    安装成功后,终端中输入命令 “dconf-editor” 来打开这个工具,然后从左边的的菜单栏中按照下面的步骤依次进入指定的菜单项:org > gnome > desktop > applications > terminal
    使用gnome-terminal的配置为:

    exec  gnome-terminal
    exec-arg -x
    
    • 1
    • 2

    修改使用 Terminator 作为默认终端工具的配置为:

    exec  x-terminal-emulatore
    xec-arg -e
    
    • 1
    • 2
    
    
    • 1
  • 相关阅读:
    计算机系统(10)----- 进程通信
    九、Spring Boot 缓存(1)
    python+pytest接口自动化之日志管理模块loguru简介
    Django channel 解析
    在Python中使用LSTM和PyTorch进行时间序列预测
    安卓手机APP开发__媒体开发部分__网络栈
    2023内蒙古科技大学计算机考研信息汇总
    Vue源码实现之watcher拾遗
    Mysql批量插入更新如何拆分大事务?
    06:HAL----定时器
  • 原文地址:https://blog.csdn.net/u011795345/article/details/126110754