LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2017, 01:50 PM   #1
donaki
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
How to make symbolic link to be opened in file manager


Hi, everyone!

First of all, thank you for an amazing forum!

I recently downloaded VirtualBox for Arch Linux and I am trying to create a symbolic link so that I can open it from FooFolder in the Thunar file manager from XFCE. However, I cannot for the life of me figure out how to do this.

I ran find / -iname "virtualbox" -exec file {} \; and found a bunch of ELF files and shell scripts. Opening the shell scripts from the CLI opens VirtualBox, but when I make a symbolic link to FooFolder, a dialog box asks me what kind of program I would like to use to open it.

Can anyone help me with this?
 
Old 11-21-2017, 08:26 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I know you can create a link to an app from the XFCE start menu

Basically you select the app from the XFCE start menu as if you wanted to start it, instead of clicking the menu element you drag it and drop it in the thunar open folder window
 
1 members found this post helpful.
Old 11-21-2017, 09:44 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,181
Blog Entries: 24

Rep: Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836
Which file manager are you using and does the "Open With" dialog display in your file manager have an "Always use this application" (or some such wording) checkbox when you choose and application to open the link?

In my experience, most file managers do.

Last edited by frankbell; 11-21-2017 at 09:45 PM. Reason: more info
 
Old 11-22-2017, 01:29 AM   #4
giis
Member
 
Registered: Nov 2013
Location: Third Rock from Moon
Distribution: RPM/DEB based and LFS
Posts: 73

Rep: Reputation: Disabled
Are you looking for something like below:

Quote:
ln -s /path/arch/image /path/to/symlink/file
 
Old 11-22-2017, 02:24 PM   #5
donaki
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keefaz View Post
I know you can create a link to an app from the XFCE start menu

Basically you select the app from the XFCE start menu as if you wanted to start it, instead of clicking the menu element you drag it and drop it in the thunar open folder window
That worked like a charm! Thanks!

I'd be curious to know why, though.

I ran "file virtualbox.desktop" and the output was "UTF-8 Unicode text". I think it is strange that it is not a (soft or hard) link to something else.

At least now I know that I probably have to look for *.desktop files if I want to make shortcuts. That helps me a lot! Thank you all very much for answering!

Last edited by donaki; 11-22-2017 at 02:25 PM. Reason: lacking a "not"
 
Old 11-22-2017, 04:37 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Yes these shortcuts are plain text files with UTF-8 encoding

File specs:

https://specifications.freedesktop.o...ec-latest.html

Last edited by keefaz; 11-22-2017 at 04:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I make a symbolic link that is dynamic link->$HOME/file? croog Linux - General 4 10-14-2012 08:55 PM
How to make a symbolic link ? chrislabricole Red Hat 5 01-29-2009 07:44 AM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 08:40 AM
cannot make symbolic link dave`2005 Debian 3 10-08-2005 11:15 AM
How to make symbolic link? Tommi Linux - General 9 05-07-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration