SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-03-14 08:10:21

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Create shortcuts for applications/folders in #!

Hey, I just found this post on how to create a shortcut aka symbolic-link (which Ubuntu calls a "Launcher")

"Here is a command line which allow you to create a symbolic link, it will not copy the file but just create a link to it (it works for directories also) :
Code:

ln -sf the_file_you_want_to_link The_destination

If you want a shortcut on the desktop use /home/username/Desktop directory as destination (you might need root access to do that for some files, in this case just add sudo before the command)."

Keep in mind that the terminal is case sensitive so if your folder is called Documents, you have to type Documents as opposed to documents

Last edited by nabilalk (2009-03-14 08:16:17)


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

Be excellent to each other!

#2 2009-03-14 16:46:10

aeiah
Member
Registered: 2009-02-23
Posts: 13

Re: Create shortcuts for applications/folders in #!

of course you'll need to enable desktop icons with pcmanfm or xfce or something. i use idesk myself but those are static icons. i think in crunchbang ~/Desktop folder is its self a symbolic link to ~/

Offline

#3 2009-03-14 17:05:19

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: Create shortcuts for applications/folders in #!

aeiah wrote:

of course you'll need to enable desktop icons with pcmanfm or xfce or something. i use idesk myself but those are static icons. i think in crunchbang ~/Desktop folder is its self a symbolic link to ~/

Well, you only have to allow PCmanFM to manage the desktop if you want the shortcuts on the desktop. If you want to make folder shortcuts or application shortcuts, you can have those places in /home/your_username or wherever you like. It would be nice if you could add folder/app shortcuts to the application launch bar, but for some reason those have to be .Desktop files.


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

#4 2009-03-14 22:01:30

shortcipher
Member
From: Denver, CO
Registered: 2009-02-26
Posts: 27
Website

Re: Create shortcuts for applications/folders in #!

nabilalk wrote:
aeiah wrote:

of course you'll need to enable desktop icons with pcmanfm or xfce or something. i use idesk myself but those are static icons. i think in crunchbang ~/Desktop folder is its self a symbolic link to ~/

Well, you only have to allow PCmanFM to manage the desktop if you want the shortcuts on the desktop. If you want to make folder shortcuts or application shortcuts, you can have those places in /home/your_username or wherever you like. It would be nice if you could add folder/app shortcuts to the application launch bar, but for some reason those have to be .Desktop files.

It's not hard to make the Desktop entry files though. Here's a link that give the basic format.

Here's also an example:

[Desktop Entry]
Type=Application
Version=0.6.9
Name=DoSomethingApp
Comment=Run Do Something
Icon=/home/short-cipher/applications/share/images/dosomethinglogo.png
Exec=/home/short-cipher/applications/bin/dosomething
Path=/home/short-cipher/applications/bin
Terminal=false

Once you create these, because they aren't actually executables, it doesn't matter where they are at  to add them to your launchbar; adding them just depends on what panel/taskbar you are using.

Offline

#5 2009-03-14 22:20:55

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: Create shortcuts for applications/folders in #!

shortcipher wrote:

Once you create these, because they aren't actually executables, it doesn't matter where they are at  to add them to your launchbar; adding them just depends on what panel/taskbar you are using.

I agree that it is not all that difficult to make .Desktop files, at least once you know the format. I struggled with that awhile back...


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

#6 2010-03-13 21:01:26

medianmajik
#! Member
Registered: 2009-01-11
Posts: 71

Re: Create shortcuts for applications/folders in #!

Hi, so I'm attempting to backup my current #! 9.04 onto an external using a symbolic link and everything worked until remastersys reached 99% and just didn't finish.  Any thoughts?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo