unable to detect the URI scheme of %f

Asked by Donald L Wilson on 2018-07-06

when I type the command <gksudo exo-open %f> into the Terminal to open everything as Super User I get an error message stating "unable to detect the URI scheme of %f" does anyone have any idea on what that means?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2018-07-09
Last query:
2018-07-09
Last reply:
2018-07-08

What is the output of:

lsb_release -a; uname -a

Thanks

Manfred Hampl (m-hampl) said : #2

exo-open opens a given URL address with the application that is marked as the preferred one for that kind of URLs.

E.g.
exo-open mailto:<email address hidden>
starts the preferred email composer and creates a mail with <email address hidden> as the recipient.

It seems that "%f" is no valid URL in such context.

By the way, I do not really understand you comment "... to open _everything_ as Super User ..."
Ubuntu's security concepts strongly advises to do normal tasks with user rights, and not with support user privileges.

(xenial)dlwilson88@localhost:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Linux localhost 4.4.127-13890-g6c206f1711d4 #1 SMP PREEMPT Fri Jun 22 17:27:31 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux

After running the Software Updater as a GUI I received a message that said:
  You are not allowed to perform this action.
      You don't have the required privileges to perform this action.
So I was trying to set it to where I could run the software updater as admin.

I just switched from Windows to Linux, everything is new to me so please excuse my line of questioning as to how to perform certain actions. I'm learning as much as possible as I go so all input would be greatly appreciated.

Thanks

I just ran the command sudo apt-get install lsb-core, so now I get this when checking lsb_release -a; uname -a:
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Linux localhost 4.4.127-13890-g6c206f1711d4 #1 SMP PREEMPT Fri Jun 22 17:27:31 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux

Manfred Hampl (m-hampl) said : #6

What exactly did you do to receive the message:
   You are not allowed to perform this action.
       You don't have the required privileges to perform this action.
?

I went to Applications>Settings>Software Updater (previously known as Update Manager) and it automatically opened a window that began to check for any software updates.
These are the three programs listed for software in my Applications pull down screen

Software & Updates
Software Updater
Ubuntu Software Center

Manfred Hampl (m-hampl) said : #8

When you start update-manager, the system will scan for updates, and should then show a pop-up requesting your password as authorization for administrative action.
Did you get that pop-up?

For diagnostic purposes, please open a terminal window and execute the command

groups

what is the output?

when I executed the command update-manager the pop-up window displayed and after typing in my password the Software Updater
ran a check and retrieved all of the files needed for the system to update all necessary files...
So now I know to start the update process in the Terminal first in order to have root access

$groups:
dlwilson88 video sudo plugdev input audio wayland crouton

Best Manfred Hampl (m-hampl) said : #10

There should not be any significant difference between issuing "update-manager" from a command prompt and starting that program ("Software Updates") via the GUI.

Thanks Manfred Hampl, that solved my question.