Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Desktop Shortcut Novice question how to make one?

  • Subject: Re: Desktop Shortcut Novice question how to make one?
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Fri, 17 Jun 2005 08:16:26 +0100
  • Newsgroups: comp.windows.x.kde
  • References: <1118980117.775714.206560@g14g2000cwa.googlegroups.com>
  • User-agent: KNode/0.7.2
gbruno wrote:

> I want to make a KDE desktop shortcut
> So far I can make one with an icon, to
> "run in terminal"
> but what are "Terminal Options" ??
> 
> At present the terminal flashes by and vanishes.
> I need the Linux equivalent of "run in directory"
> [all I want to do is "java -jar my.jar" in a particular directory]
> 
> If this posting is too simple, please direct me to "KDE beginners" if
> there is such a group.
> 
> cheers
> g bruno
> (quite used to flames by now)

Create a shell script somewhere in your hard drive. Have a file called, for
example, jar_me.sh, which contains:


#!/bin/bash

java -jar ~/PATH/my.jar

Having got that 'script', open the KDE file manager and drag the script to
your desktop to create a shortcut, a copy or move the file to Desktop. You
can just create the file in Desktop, but I prefer to be tidy and keep just
shortcuts in Desktop.

Roy

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index