Results 1 to 1 of 1
Just sharing what I think is a very neat thing. I'm trying to do what Slickrun can do in Windows, in linux.
Many ways to do this, I'm just sharing ...
- 12-23-2006 #1
How To: (KDE) klauncher custom shortcut :D :D
Just sharing what I think is a very neat thing. I'm trying to do what Slickrun can do in Windows, in linux.
Many ways to do this, I'm just sharing how I do mine:
what I'm trying to achieve
For instance, I want to be able to do alt+f2 (launcher) > 'dir.download',
and konqueror opens my download directory.
Here's how I did it (*if* you are interested). DO ALL THIS FROM YOUR HOME DIR:
[B]step1[B] is to have the .xinitrc file, skip this step if you already have it. else:
step2 is to create directory to host all your shortcut executablesCode:$ cp .xinitrc.template .xinitrc
of course, you can call this directory anything you want, anywhere you want it to be within ur home dir.
step3 include this directory in PATH for windows managerCode:$ mkdir shortcuts
Open the file $HOME/.xinitrc and prior to the line:
add this lineCode:exec $WINDOWMANAGER
step4 restart your windows managerCode:export $HOME/shortcuts:$PATH
(logout, login)
Now, to make a new shortcut. You simply create a new file in $HOME/shortcuts, call it dir.download
and don't forget to chmod 700 $HOME/shortcuts/dir.download of courseCode:konqueror $HOME/download
and alt+f2 > 'dir.download' will find your shortcut exec file. With this you can define your own conventions for shortcuts, like
dir.mp3, to where all my mp3s are
dir.anime, to where all my anime are (which actually is a mounted network folder)
dir.porn, to where all my porns are
dir.download, etc
you can have your executable files to run backup jobs, cleanup jobs, and what-have-you.
plus thanks to auto completion in klauncher, porns are just one alt+f2 > 'dir.p' away
it's a bit obvious if ppl happen to find my $HOME/shortcuts/dir.porn file tho...
hope u find it useful


Reply With Quote