USBview encountering error

 Clash Royale CLAN TAG#URR8PPP
Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:
Invalid desktop entry file: /usr/share/applications/usbview.desktop
I am using ubuntu 16.04.
usb usbview
add a comment |Â
up vote
0
down vote
favorite
I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:
Invalid desktop entry file: /usr/share/applications/usbview.desktop
I am using ubuntu 16.04.
usb usbview
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:
Invalid desktop entry file: /usr/share/applications/usbview.desktop
I am using ubuntu 16.04.
usb usbview
I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:
Invalid desktop entry file: /usr/share/applications/usbview.desktop
I am using ubuntu 16.04.
usb usbview
usb usbview
edited Feb 1 at 3:32


Terrance
17.6k23885
17.6k23885
asked Feb 1 at 1:42


Ken Hill
1
1
add a comment |Â
add a comment |Â
 1 Answer
 1
 
active
oldest
votes
up vote
0
down vote
It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04. 
Try installing gksu for GTK sudo.
sudo apt install gksu
Then copy and paste the following line to update the Desktop File:
sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'
Hope this helps!
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
It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04. 
Try installing gksu for GTK sudo.
sudo apt install gksu
Then copy and paste the following line to update the Desktop File:
sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'
Hope this helps!
add a comment |Â
up vote
0
down vote
It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04. 
Try installing gksu for GTK sudo.
sudo apt install gksu
Then copy and paste the following line to update the Desktop File:
sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'
Hope this helps!
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04. 
Try installing gksu for GTK sudo.
sudo apt install gksu
Then copy and paste the following line to update the Desktop File:
sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'
Hope this helps!
It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04. 
Try installing gksu for GTK sudo.
sudo apt install gksu
Then copy and paste the following line to update the Desktop File:
sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'
Hope this helps!
answered Feb 1 at 3:56


Terrance
17.6k23885
17.6k23885
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1001918%2fusbview-encountering-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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