揭秘Ubuntu侧栏快捷方式:提升效率的5分钟入门指南

引言
在Ubuntu等Linux发行版中,侧栏快捷方式是一种方便快速访问常用应用程序的方法。通过将应用程序图标添加到侧栏,用户可以减少打开应用所需的时间,从而提高工作效率。本文将向您介绍如何创建和使用Ubuntu侧栏快捷方式,整个过程只需大约5分钟。
准备工作
在开始之前,请确保您已经安装了您想要添加到侧栏的应用程序。以下步骤适用于大多数应用程序,包括AppImage、deb包和tar.gz压缩文件。
步骤1:创建桌面快捷方式
打开终端(可以通过搜索“终端”或使用快捷键Ctrl+Alt+T打开)。
使用以下命令创建一个指向应用程序的快捷方式:
cd /home/username/.local/share/applications
替换
username
为您在系统中的用户名。
创建一个新文件,例如
obsidian.desktop
,并编辑它:
nano obsidian.desktop
在打开的文本编辑器中,粘贴以下内容:
[Desktop Entry]
Name=Obsidian
Exec=/home/username/.local/bin/obsidian/obsidian %U
Icon=/home/username/.local/bin/obsidian/obsidian.png
Type=Application
Categories=Office;TextEditor;
请确保将路径
/home/username/.local/bin/obsidian/
替换为您的AppImage实际路径,并将
obsidian.png
替换为应用程序的图标路径。
步骤2:添加快捷方式到侧栏
在终端中运行以下命令以使您的应用程序图标出现在侧栏中:
“`bash
gsettings set org.gnome.shell.applications-overview visible-apps “[‘org.gnome.Nautilus.desktop’,‘org.gnome.Terminal.desktop’,‘org.gnome.Calendar.desktop’,‘org.gnome.Files.desktop’,‘org.gnome.Screenshot.desktop’,‘org.gnome.Webbrowser.desktop’,‘org.gnome.Evince.desktop’,‘org.gnome.Documents.desktop’,‘com.canonical.Unity.desktop’,‘org.gnome.Screenshot.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘org.gnome.gedit.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview4.desktop’,‘com.github.gnome.gtksourceview