如何将 Firefox 配置文件添加到 Firefox Launcher 的快速列表?

HDa*_*ave 3 firefox launcher user-profile quicklists

我有三个单独的 Firefox 配置文件,虽然我同时运行它们没有问题(通过 ProfileSwitcher 附加组件),但 Unity Launcher 的 Firefox 图标的默认行为是启动最后使用的配置文件。

大多数时候,这很好,但有时我想选择我想运行的那个。我认为 Firefox 启动器上的快速列表菜单是比拥有多个启动器更好的方法。

但是,我不确定如何执行此操作。

Rol*_*Xor 6

您可以使用 Ubuntu-Tweak 编辑 Firefox 快速列表。

单击此处查看如何安装 Ubuntu Tweak)。

一旦你安装了 Ubuntu-Tweak...

指示:

  • 打开 Ubuntu-Tweak。
  • 导航到“管理员”。
  • 选择“快捷列表编辑器”
    快速列表编辑器
  • 找到与您要编辑的图标相匹配的图标(在本例中为 Firefox)。
    快速列表编辑器打开
  • 要添加新的 QuickList 项目:
    • 单击“+”按钮添加新项目。
    • firefox -p作为命令输入(打开概要文件管理器)。
    • 对于个人配置文件,您可以使用firefox -P <profilename>.
    • 随便给它起个名字。
    • 点击保存。
  • 快速列表会自动更新。
    快速列表示例
    上面是一个例子。

您可以在快速列表中使用的选项列表如下:

Usage: firefox [ options ... ] [URL]
       where options include:

X11 options
  --display=DISPLAY  X display to use
  --sync             Make X calls synchronous
  --g-fatal-warnings Make all warnings fatal

Firefox options
  -h or -help        Print this message.
  -v or -version     Print Firefox version.
  -P <profile>       Start with <profile>.
  -migration         Start with migration wizard.
  -ProfileManager    Start with ProfileManager.
  -no-remote         Do not accept or send remote commands; implies -new-instance.
  -new-instance      Open new instance, not a new window in running instance.
  -UILocale <locale> Start with <locale> resources as UI Locale.
  -safe-mode         Disables extensions and themes for this session.
  -jsconsole         Open the Error console.
  -browser           Open a browser window.
  -new-window  <url> Open <url> in a new window.
  -new-tab     <url> Open <url> in a new tab.
  -preferences       Open Preferences dialog.
  -search     <term> Search <term> with your default search engine.
  -private           Enable private browsing mode.
  -private-toggle    Toggle private browsing mode.
  -setDefaultBrowser Set this app as the default browser.

      -g or --debug          Start within debugger
      -d or --debugger       Specify debugger to start with (eg, gdb or valgrind)
      -a or --debugger-args  Specify arguments for debugger
Run Code Online (Sandbox Code Playgroud)

通过运行找到firefox --help