XDG-OPEN(1) xdg-open Manual XDG-OPEN(1)NAME
xdg-open - opens a file or URL in the user's preferred application
SYNOPSIS
xdg-open {file | URL}
xdg-open {--help | --manual | --version}
DESCRIPTION
xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web
browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg-open supports file, ftp,
http and https URLs.
xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root.
OPTIONS --help
Show command synopsis.
--manual
Show this manual page.
--version
Show the xdg-utils version information.
EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:
1
Error in command line syntax.
2
One of the files passed on the command line did not exist.
3
A required tool could not be found.
4
The action failed.
EXAMPLES
xdg-open 'http://www.freedesktop.org/'
Opens the freedesktop.org website in the user's default browser.
xdg-open /tmp/foobar.png
Opens the PNG image file /tmp/foobar.png in the user's default image viewing application.
AUTHORS
Kevin Krammer
Author.
Jeremy White
Author.
COPYRIGHT
Copyright (C) 2006
xdg-utils 1.0 06/10/2014 XDG-OPEN(1)
Check Out this Related Man Page
XDG-SU(1)XDG-SU(1)NAME
xdg-su - run a GUI program as root after prompting for the root password
SYNOPSIS
xdg-su [-u user] -c command
xdg-su {--help --manual --version}
DESCRIPTION
xdg-su provides a graphical dialog that prompts the user for a password to run command as user or as root if no user was specified.
xdg-su is for use inside a desktop session only.
xdg-su discards any stdout and stderr output from command.
OPTIONS -u user
run command as user. The default is to run as root.
--help Show command synopsis.
--manual
Show this manualpage.
--version
Show the xdg-utils version information.
EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:
1 Error in command line syntax.
2 One of the files passed on the command line did not exist.
3 A required tool could not be found.
4 The action failed.
SEE ALSO su(1)EXAMPLES
xdg-su -u root -c "/opt/shinythings/bin/install-GUI --install fast"
Runs the /opt/shinythings/bin/install-GUI command with root permissions.
AUTHOR
Kevin Krammer, Jeremy White.
<kevin.krammer@gmx.at>
<jwhite@codeweavers.com>
This is release 0.5 of the xdg-su Manual 07/31/2006 XDG-SU(1)
Hi,
I am porting an application from Win to Linux. In the Win32 application, after the application is installed, it opens the browser for login using the ShellExecute API command. ShellExecute takes in params to open the default browser.
Now I want to replicate the same in Linux. The default... (1 Reply)
Morning all,
I have a problem with a Sun workstation which is running Solaris 8.
When I attempt to open an application, the executable fails with this message :
"fatal: libcstd.so.1: open failed: No such file or directory"
It was suggested to me that I need to add these patches to fix the... (4 Replies)
We are a tool vendor and one of our users is getting this error.
The user is using several macrovision(FLEXLM) license enabled products including ours.
(lmgrd) Can't open /usr/tmp/.flexlm/lmgrdl.4081, errno: 24
At this time, it stops checking out licenses, and will not
respond to query's.... (2 Replies)
Hi,
I am bulding a path to open files like this \path\values\file.xxx This path is opened in an IE browser window and opens the file/document I am trying to see. I mean it opens a pdf document or it promps you to "save" or "open" the specific file (if it's a .xml, .doc, .html).
I was using... (1 Reply)
Hi,
how comes that this website has "www-csli" rather than "www" as URL ?
CSLI Center for the Study of Language and Information -- Stanford University
thanks (1 Reply)
Hello all,
I am trying to edit a file using VI on hp-ux....but when i try to open the file using vi <filename> it dose not let me open up the right way...it just messes up the whole file....i cant even read that file...so for example...here is a file i created test1.txt...when i cat... (6 Replies)
I want to open a file and edit it using vi However, i dont want to open directories or binary files. how can i do this?
Right now it opens all files without caring
echo "please enter a file to edit in Vi"
read file
if
then (2 Replies)
Hi,
I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5,
example
vi test
it showing nothing after entering command (9 Replies)
I have noted that Oracle use some kind of hypermarking to create URLs within the terminal on Enterprise Linux.
Any idea how to create a URL such as ..., which when right clicked opens a browser window?
This supposed to be spam/advertisement? Got a PM from OP; it is not supposed to be spam... (1 Reply)
HI I am trying to run the following script for 317 files (*.m) and I get this error :
awk: xfile.m makes too many open files
what's the solution pls ?
$ cat ocstr2.awk
# If the code contains @"LBL_....", replace it with C_LBL_... and
# remember the labels for later.
match($0,... (3 Replies)