Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdg-open(1) [suse man page]

XDG-OPEN(1)															       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 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. 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. AUTHOR
Kevin Krammer, Jeremy White. <kevin.krammer@gmx.at> <jwhite@codeweavers.com> xdg-utils 1.0 06/24/2007 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)
Man Page

13 More Discussions You Might Find Interesting

1. Programming

ShellExecute in Linux

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)
Discussion started by: vino
1 Replies

2. Solaris

libCstd.so.1: open failed

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)
Discussion started by: AndyD
4 Replies

3. UNIX and Linux Applications

(lmgrd) Can't open /usr/tmp/.flexlm/lmgrdl.4081, errno: 24

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)
Discussion started by: return_user
2 Replies

4. OS X (Apple)

Check for open application

Hi there, Is there any command to check if a particular application is open on a mac? thanks :) (3 Replies)
Discussion started by: davewg
3 Replies

5. Solaris

SunOS 5.8 vs 5.10

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)
Discussion started by: hcibl_javok
1 Replies

6. Web Development

www-csli

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)
Discussion started by: aneuryzma
1 Replies

7. Shell Programming and Scripting

Need comma separated processing

I have a file like this OUTLN OPEN Y SCOTT OPEN N USER4 OPEN Y DBSNMP EXPIRED & LOCKED N ... (4 Replies)
Discussion started by: ilugopal
4 Replies

8. Shell Programming and Scripting

Need to append at end

I have the following input axrsgpar0335 METTEST DPC OUTLN OPEN Y axrsgpar0335 METTEST DPC SYS ... (4 Replies)
Discussion started by: ilugopal
4 Replies

9. What is on Your Mind?

How Do You Feel About This Site?

OK, be honest ...... :D (21 Replies)
Discussion started by: Neo
21 Replies

10. Shell Programming and Scripting

open files

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)
Discussion started by: icelated
2 Replies

11. Red Hat

unable to open / create any file in vi

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)
Discussion started by: manoj.solaris
9 Replies

12. Homework & Coursework Questions

How is it possible to include URLs within the terminal?

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)
Discussion started by: jon80
1 Replies

13. Shell Programming and Scripting

too many open files

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)
Discussion started by: molwiko
3 Replies