图腾:默认使用–no-existing-session

有没有办法总是自动使用参数--no-existing-session for Totem? 每当我双击任何会打开Totem的东西时,我想使用该参数。

谢谢!

  1. 将全局totem.desktop文件复制到本地applications文件夹:

     cp /usr/share/applications/totem.desktop ~/.local/share/applications 
  2. 将行Exec=totem %U更改为Exec=totem --no-existing-session %U

     gedit ~/.local/share/applications/totem.desktop 

    在此处输入图像描述

  3. 保存文件并关闭它。 变更应立即生效。

自Ubuntu 11.10以来从Totem中删除了参数

从11.10开始,这个参数似乎不再起作用,请参阅11.10以来如何启动Totem的多个实例?

如果您有自己修改的〜/ .local / share / applications / totem.desktop,请在升级到* buntu 11.10时小心,因为如果默认设置此参数,Totem将无法打开。