Error 'Invalid desktop entry file:' when using web browser in LXDE
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
My system is Linux Lubuntu 17.10 and Firefox is installed as a browser. It can be accessed through the application panel, but clicking on the Web Browser Icon on the Task Bar leads to the following error:
Invalid desktop entry file:
'/usr/share/applications/lxde-x-www-browser.desktop'
I have tried
desktop-file-validate lxde-x-www-browser.desktop
but this did not change anything.
Here are the contents of the file:
[Desktop Entry]
Name=Web Browser
Name[pt_BR]=Navegador web
Name[zh_TW]=çÂÂ覽å¨
GenericName=X Web Browser
GenericName[pt_BR]=Navegador web gráfico
GenericName[zh_TW]=網é ÂçÂÂ覽å¨
Exec=/usr/bin/x-www-browser %u
Terminal=false
Type=Application
Categories=GTK;WebBrowser;Network
Icon=web-browser
NoDisplay=true
lxde browser .desktop
add a comment |Â
up vote
0
down vote
favorite
My system is Linux Lubuntu 17.10 and Firefox is installed as a browser. It can be accessed through the application panel, but clicking on the Web Browser Icon on the Task Bar leads to the following error:
Invalid desktop entry file:
'/usr/share/applications/lxde-x-www-browser.desktop'
I have tried
desktop-file-validate lxde-x-www-browser.desktop
but this did not change anything.
Here are the contents of the file:
[Desktop Entry]
Name=Web Browser
Name[pt_BR]=Navegador web
Name[zh_TW]=çÂÂ覽å¨
GenericName=X Web Browser
GenericName[pt_BR]=Navegador web gráfico
GenericName[zh_TW]=網é ÂçÂÂ覽å¨
Exec=/usr/bin/x-www-browser %u
Terminal=false
Type=Application
Categories=GTK;WebBrowser;Network
Icon=web-browser
NoDisplay=true
lxde browser .desktop
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My system is Linux Lubuntu 17.10 and Firefox is installed as a browser. It can be accessed through the application panel, but clicking on the Web Browser Icon on the Task Bar leads to the following error:
Invalid desktop entry file:
'/usr/share/applications/lxde-x-www-browser.desktop'
I have tried
desktop-file-validate lxde-x-www-browser.desktop
but this did not change anything.
Here are the contents of the file:
[Desktop Entry]
Name=Web Browser
Name[pt_BR]=Navegador web
Name[zh_TW]=çÂÂ覽å¨
GenericName=X Web Browser
GenericName[pt_BR]=Navegador web gráfico
GenericName[zh_TW]=網é ÂçÂÂ覽å¨
Exec=/usr/bin/x-www-browser %u
Terminal=false
Type=Application
Categories=GTK;WebBrowser;Network
Icon=web-browser
NoDisplay=true
lxde browser .desktop
My system is Linux Lubuntu 17.10 and Firefox is installed as a browser. It can be accessed through the application panel, but clicking on the Web Browser Icon on the Task Bar leads to the following error:
Invalid desktop entry file:
'/usr/share/applications/lxde-x-www-browser.desktop'
I have tried
desktop-file-validate lxde-x-www-browser.desktop
but this did not change anything.
Here are the contents of the file:
[Desktop Entry]
Name=Web Browser
Name[pt_BR]=Navegador web
Name[zh_TW]=çÂÂ覽å¨
GenericName=X Web Browser
GenericName[pt_BR]=Navegador web gráfico
GenericName[zh_TW]=網é ÂçÂÂ覽å¨
Exec=/usr/bin/x-www-browser %u
Terminal=false
Type=Application
Categories=GTK;WebBrowser;Network
Icon=web-browser
NoDisplay=true
lxde browser .desktop
edited Nov 10 '17 at 23:51
jasonwryan
47k14127176
47k14127176
asked Nov 10 '17 at 23:24
Jonathan Mitchell
34
34
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43
add a comment |Â
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Possible Solutions
- Goto the equivalent of
Settings â Preferred Applications
and ensure a âÂÂdefault browserâ has been selected - Examine / execute
/usr/bin/x-www-browser
directly and see what happens - Visit firefox's
about:preferences
and ensure it is checking whether is is the default browser, and see if there is a button active to âÂÂmake default browserâ or some such thing - run
desktop-file-validate --warn-kde lxde-x-www-browser.desktop
to check kde-specific fields - Point
Exec=â¦
âÂÂExec=/usr/bin/firefox
(directly at the firefox executable, wherever that isâ¦)âÂÂseewhich firefox
orwhereis firefox
at a terminal if you're having trouble knowing
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.
â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.
â Andrew Siplas
Nov 11 '17 at 20:04
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Possible Solutions
- Goto the equivalent of
Settings â Preferred Applications
and ensure a âÂÂdefault browserâ has been selected - Examine / execute
/usr/bin/x-www-browser
directly and see what happens - Visit firefox's
about:preferences
and ensure it is checking whether is is the default browser, and see if there is a button active to âÂÂmake default browserâ or some such thing - run
desktop-file-validate --warn-kde lxde-x-www-browser.desktop
to check kde-specific fields - Point
Exec=â¦
âÂÂExec=/usr/bin/firefox
(directly at the firefox executable, wherever that isâ¦)âÂÂseewhich firefox
orwhereis firefox
at a terminal if you're having trouble knowing
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.
â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.
â Andrew Siplas
Nov 11 '17 at 20:04
add a comment |Â
up vote
0
down vote
accepted
Possible Solutions
- Goto the equivalent of
Settings â Preferred Applications
and ensure a âÂÂdefault browserâ has been selected - Examine / execute
/usr/bin/x-www-browser
directly and see what happens - Visit firefox's
about:preferences
and ensure it is checking whether is is the default browser, and see if there is a button active to âÂÂmake default browserâ or some such thing - run
desktop-file-validate --warn-kde lxde-x-www-browser.desktop
to check kde-specific fields - Point
Exec=â¦
âÂÂExec=/usr/bin/firefox
(directly at the firefox executable, wherever that isâ¦)âÂÂseewhich firefox
orwhereis firefox
at a terminal if you're having trouble knowing
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.
â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.
â Andrew Siplas
Nov 11 '17 at 20:04
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Possible Solutions
- Goto the equivalent of
Settings â Preferred Applications
and ensure a âÂÂdefault browserâ has been selected - Examine / execute
/usr/bin/x-www-browser
directly and see what happens - Visit firefox's
about:preferences
and ensure it is checking whether is is the default browser, and see if there is a button active to âÂÂmake default browserâ or some such thing - run
desktop-file-validate --warn-kde lxde-x-www-browser.desktop
to check kde-specific fields - Point
Exec=â¦
âÂÂExec=/usr/bin/firefox
(directly at the firefox executable, wherever that isâ¦)âÂÂseewhich firefox
orwhereis firefox
at a terminal if you're having trouble knowing
Possible Solutions
- Goto the equivalent of
Settings â Preferred Applications
and ensure a âÂÂdefault browserâ has been selected - Examine / execute
/usr/bin/x-www-browser
directly and see what happens - Visit firefox's
about:preferences
and ensure it is checking whether is is the default browser, and see if there is a button active to âÂÂmake default browserâ or some such thing - run
desktop-file-validate --warn-kde lxde-x-www-browser.desktop
to check kde-specific fields - Point
Exec=â¦
âÂÂExec=/usr/bin/firefox
(directly at the firefox executable, wherever that isâ¦)âÂÂseewhich firefox
orwhereis firefox
at a terminal if you're having trouble knowing
answered Nov 11 '17 at 9:55
Andrew Siplas
1815
1815
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.
â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.
â Andrew Siplas
Nov 11 '17 at 20:04
add a comment |Â
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.
â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.
â Andrew Siplas
Nov 11 '17 at 20:04
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.
dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.â Andrew Siplas
Nov 11 '17 at 10:00
P.S. There are a couple extra spaces on each line in your example codeâÂÂperhaps check for extraneous spaces/nonprinting characters or strange line endings.
dos2unix
would be an easy fix for CRLF â LF but I don't know if this would be causing anything if it is even the case.â Andrew Siplas
Nov 11 '17 at 10:00
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
Tried all of your suggestions, no luck until the last one, which did the trick. Thanks.
â Jonathan Mitchell
Nov 11 '17 at 18:20
I see now I neglected the
%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.â Andrew Siplas
Nov 11 '17 at 20:04
I see now I neglected the
%u
which I suppose means that dragging a URL onto the icon won't workâÂÂthat is I don't think it'll work for file association as there's no place to substitute a filename, although maybe the filename or URL will be appended anyway⦠haven't read any standard or source and dont't recall what the âÂÂ%uâ exactly indicates.â Andrew Siplas
Nov 11 '17 at 20:04
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403836%2ferror-invalid-desktop-entry-file-when-using-web-browser-in-lxde%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you show update-alternatives --display www-browser
â user192526
Nov 11 '17 at 9:43