|
From: Tom N on 31 Jan 2008 14:14 On Jan 30, 8:59 am, Thomas Overgaard <tho...(a)post2.tele.dk> wrote: > [some idiot troll whose posts I killfile] wrote : > > > Ummm...., you don't have to click on any icons in kde to launch > > firefox. Just press F2, type in firefox (or whatever alias you > > created) and press enter. > > Start the "Menu Editor" from the "Settings" sub-menu. Browse your way to > the Firefox entry and check the section named "Current shortcut key", > here there's a key-icon with the text "None". > > Click the key-icon and choose something like <Ctrl>+<Alt>+<F> and > save. Now you can start Firefox using this key combination. That's typical of artificial user interfaces like KDE: Make a simple operation that's been a part of Linux since the beginning, standard throughout all distros, in the absence of even X, an arcane affair that works only with the artificial user interface in question. And make it require many times the system resources than the normal way. On almost any Linux box in the world, you can just enter: alias ff='firefox &' and the deed is done. Whatever alias you want, whatever app you want. The '&' puts the firefox command in the background, freeing up the prompt. For those of us who use the shell (ODE, the Other Desktop Environment), we generally have a file called /etc/aliases, which is sourced in the shell's main configuration file, /etc/profile in Slackware, with this line: source /etc/aliases That keeps the system-wide aliases in one place and makes it very easy to edit. The alias command lists them, if your memory fails you. alias al='alias' # makes it easy, eh? To see if an alias is already in use, for an alias or function or executable, do: type ff # for example. (the above is for bash/sh , the most common shells these days in the linxu/unix world -- simple variations will work with the other shells, which can be determined with a glance at their man pages) Why the hell tie yourself to an artificial user interface that's an incredible system-resource hog and takes as long to learn as the shell (starting from scratch) and is only found on a fraction of the linux/unix boxes in the world? An artificial interface that is MUCH more limited than the shell. Tom Email me here. Other address is spamtrap: calhobbit AT gmail DOT com
From: Keith Keller on 31 Jan 2008 14:34 On 2008-01-30, Tom N <simpleman.s43(a)gmail.com> wrote: > > On almost any Linux box in the world, you can just enter: > > alias ff='firefox &' > > and the deed is done. Don't you think it's a waste of resources to use an alias when you could just type fir[TAB]&[Enter] and accomplish the same thing? Damn, your ODE is such a resource hog! > For those of us who use the shell (ODE, the Other Desktop > Environment), > we generally have a file called /etc/aliases, which is sourced in the > shell's main configuration file, /etc/profile in Slackware, with this > line: > > source /etc/aliases Only an utter idiot would source /etc/aliases, since it's the *sendmail* alias list (or postfix, possibly exim?). For those of you who are not as stupid as Tom, system aliases can be put directly in /etc/profile, or in /etc/bashrc if you like to use that file, or in a shell script in /etc/profile.d/ . Only aliases that should be system-wide should be placed here; personal aliases should go into ~/.bash_profile, ~/.bashrc, or (deprecated) ~/.profile. And, of course, you can source your own ~/.aliases file from any or all of these files. I hope the above paragraph is warning to people searching the archives to ignore ''Tom's'' advice, which when not intentionally misleading is actually incorrect. > alias al='alias' # makes it easy, eh? This is an even more egregious waste of resources! You are truly abusing your system resources now. What if you only have 640k of memory, which after all ought to be enough for anybody? > Why the hell tie yourself to an artificial user interface Aren't custom aliases an artificial user interface? > that's an > incredible system-resource hog and takes as long to learn > as the shell (starting from scratch) and is only found on a > fraction of the linux/unix boxes in the world? What fraction, 9/10? Even if you'd said "only used", the fraction is still higher than the fraction who use ''ODE'' or something less sucky like blackbox, fluxbox, fvwm, twm, ash, or even csh. --keith -- kkeller-usenet(a)wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt see X- headers for PGP signature information
From: Old Man on 1 Feb 2008 19:56 Keith Keller wrote: > Don't you think it's a waste of resources to use an alias when you could > just type > > fir[TAB]&[Enter] > > and accomplish the same thing? Damn, your ODE is such a resource hog! Screw that. ln -s /usr/lib/firefox/firefox /usr/local/bin/f Once and forever. 24 bytes. In the minimalist world, ODE just sucks. -- Old Man "Swagger isn't courage." Lee Iacocca
|
Pages: 1 Prev: Slackware 12.0 on 64 MB Next: OKDEE/DODEE (was: Re: Silly K/O) |