On Friday, September 16, 2005 @ 8:29 AM, Sunny wrote:
On 9/16/05, Greg Wallace
wrote: On Friday, September 16, 2005 @ 4:51 AM, Patrick Shanahan wrote:
* Greg Wallace
[09-16-05 01:54]: I think what I was trying was illogical. I thought maybe you could just click a desktop shortcut and it would launch a shell and run the command.
Don't know what makes you think it illogical. It is perfectly logical and _will_ work as you describe. Time to go back to the books. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Nah. You shouldn't have to go to books for something like this if it's doable. You can do this in Windows. Why make it that hard for a Newbie to do it in Linux. It should be right there if you right click the icon. As for me, I'll remember that it is doable but don't have the time right now to "hit the books".
Greg Wallace
I really hate that. Don't tell me that first time you saw Win'95, you knew how to create a shortcut of DOS program on the desktop, how to set the right memory settings, etc. Without any help or reading. Also - the other OS _was_ designed as a replacement of DOS, but with need for compatibility, so it can make a difference between a DOS and Win program. In *nix - you have executable - always a *nix executable (script or binary, doesn't matter).
What can I say. A reply of "hit the books" seemed curt and unnecessary. If it really is a "hit the books" situation, then I say it's more complicated than it should be. If something is an executable, the default when clicking it should be to execute it.
There's always time for books, and when you come to something new, do not forget that the old one was new in the past as well.
Patrick is right, it is not _illogical_. Some reasons are:
1. The *nix way is that every command, which does its job OK, will not produce any output.
The script has one statement, an echo. Echo is an output statement.
Especially scripts, as they are meant to automate jobs, without user intervention. 2. The job of the graphic environment is _not_ to "think" for you and to guess what you may want. If you click on a command, it will execute it.
No. It doesn't.
Noone told it that this particular command needs a terminal output. By default it wont (see 1). 3. If you still need the terminal window - create one, or tell the environment to create one - with selecting the checkbox "Run in terminal window" of the shortcut.
And again ... this ARE different OSes, with their own way of performing tasks. Do not expect that they will react the same way, they wont. Just put yourself in the place of an old *nix guy, who have used X, and possibly KDE :), and never Windows. Oh, never mind, I'm sure his reaction will be - what's that shell screen, how stupid :)
Cheers
-- Svetoslav Milenov (Sunny)
--