Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-01-13 09:08:56

bitbucket
Member
Registered: 2018-01-13
Posts: 2

Firefox starts in Session Restore from panel or application menu

I use Firefox as my default browser. Whenever I start it by clicking on Web Browser from Panel at the bottom or from Application Menu, Firefox starts as if it was crashed the last time around. If I start from Internet > Firefox or from command line it starts just fine.

I'm using Slackware 14.1, Firefox 45.9.0esr, Xfce 4.10.

% cat launcher-11/15157298933.desktop 
[Desktop Entry]
Version=1.0
Type=Application
Exec=exo-open --launch WebBrowser %u
Icon=web-browser
StartupNotify=true
Terminal=false
Categories=Network;X-XFCE;X-Xfce-Toplevel;
OnlyShowIn=XFCE;
X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https;
Name=Web Browser
Comment=Browse the web
X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop

Offline

#2 2018-01-14 04:53:06

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 3,965

Re: Firefox starts in Session Restore from panel or application menu

Hello and welcome.

What are the contents of your /usr/share/xfce4/helpers/firefox.desktop file?

What version of exo are you using:

exo-open -V | head -1

How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2018-01-15 09:04:04

bitbucket
Member
Registered: 2018-01-13
Posts: 2

Re: Firefox starts in Session Restore from panel or application menu

% exo-open -V | head -1
exo-open 0.10.2

% cat /usr/share/xfce4/helpers/firefox.desktop      
[Desktop Entry]
Version=1.0
Icon=firefox
Type=X-XFCE-Helper
Name=Mozilla Firefox
Name[ar]=موزيلا فَيَرفُكس
Name[be]=Mozilla Firefox
Name[ca]=Mozilla Firefox
Name[cs]=Mozilla Firefox
Name[da]=Mozilla Firefox
Name[de]=Mozilla Firefox
Name[es]=Mozilla Firefox
Name[et]=Mozilla Firefox
Name[fi]=Mozilla Firefox
Name[fr]=Mozilla Firefox
Name[gl]=Mozilla Firefox
Name[he]=Mozilla Firefox
Name[hu]=Mozilla Firefox
Name[id]=Mozilla Firefox
Name[it]=Mozilla Firefox
Name[kk]=Mozilla Firefox
Name[lt]=Mozilla Firefox
Name[nb]=Mozilla Firefox
Name[nl]=Mozilla Firefox
Name[ro]=Mozilla Firefox
Name[sk]=Mozilla Firefox
Name[sq]=Mozilla Firefox
Name[sr]=Мозила Фајерфокс
Name[sv]=Mozilla Firefox
Name[tr]=Mozilla Firefox
Name[ug]=Mozilla Firefox
Name[uk]=Переглядач Mozilla Firefox
Name[ur_PK]=موزیلا فائر فاکس
Name[zh_CN]=Mozilla Firefox
Name[zh_TW]=Mozilla Firefox
StartupNotify=false
X-XFCE-Binaries=firefox;firefox-gtk2;firefox-gtk;mozilla-firefox;
X-XFCE-Category=WebBrowser
X-XFCE-Commands=%B -remote "openURL(about:blank,new-window)";%B;
X-XFCE-CommandsWithParameter=%B -remote "openURL(%s)";%B %s;

Last edited by bitbucket (2018-01-15 09:09:48)

Offline

#4 2018-01-15 16:27:36

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 3,965

Re: Firefox starts in Session Restore from panel or application menu

In the /usr/share/xfce4/helpers/firefox.desktop file, change the last two lines to read:

X-XFCE-Commands=%B;
X-XFCE-CommandsWithParameter=%B "%s";

...and try again.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

Board footer

Powered by FluxBB