LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2006, 09:13 PM   #1
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Rep: Reputation: 15
aliases will free me from the mouse


I hate clicking those little icons. I got ubuntu because terminal is awesome, and I've finally found a way to efficiently run everything from a full-screen, transparent terminal with no menu bar. I'd like, for example, to be able to type:

$linuxquestions

and alias that to the command:

$firefox www.linuxquestions.org&

I have tried the following command as per all the instructions on the internet:

$alias linuxquestions firefox www.linuxquestions.org

all I get is this:

bash: alias: linuxquestions: not found
bash: alias: firefox: not found
bash: alias: linuxquestions.org: not found

what am I doing wrong? This would be so awesome if I could make it work- my former windows self couldn't have imagined the efficiency.

speaking of which- what is the command to bring up thunderbird? maybe i'll just switch to evolution, but I couldn't figure out if thunderbird even had a command

Last edited by bayonetblaha; 03-22-2006 at 09:17 PM.
 
Old 03-22-2006, 09:20 PM   #2
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
That should be more like this:
Code:
alias linuxquestions='firefox www.linuxquestions.org'
P.S. Thunderbird can usually be run with 'mozilla-thunderbird' (At least on Ubuntu Breezy.)

Last edited by sumguy231; 03-22-2006 at 09:21 PM.
 
Old 03-22-2006, 09:45 PM   #3
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
YES!
this is going to be awesome!

I appreciate your help a lot

I've also been looking for commands for openoffice
somebody suggested something about sopenoffice or something, but I can't get openoffice to run from terminal

Last edited by bayonetblaha; 03-22-2006 at 09:59 PM.
 
Old 03-22-2006, 10:16 PM   #4
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
uh oh

nobody told me that all my aliases were going to be deleted when I opened a new terminal. I went and made about 20, and now they're all gone! how can I avoid this?

thunderbird command worked, if anyone knows commands for openoffice and gaim (i.e. $gaim -away), please tell me!
 
Old 03-22-2006, 10:17 PM   #5
phobozad
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 19

Rep: Reputation: 1
For me (on FC3) it is
Code:
openoffice.org-2.0
then you add what you want it to run:
-calc
-base
-draw
-writer
etc.
 
Old 03-22-2006, 10:38 PM   #6
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
solved the permanent aliases problem, for anyone else who is following with similar problem:

$gedit .bashrc&

add your aliases along with the default ls alias:
alias ls='ls --color=auto'

still haven't figured out the openoffice or gaim commands- phobozad, yours didn't work for me
 
Old 03-22-2006, 11:13 PM   #7
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
On many systems, OpenOffice can be run with 'soffice'. I could have sworn Gaim was just gaim, but I haven't used it in a while.

Last edited by sumguy231; 03-22-2006 at 11:21 PM.
 
Old 03-23-2006, 04:50 AM   #8
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
on suse/kde:
Code:
ooffice &
oofromtemplate &
are two ways of starting open office from the commandline.

/edit: more general, to find the command to open OpenOffice:
Code:
apropos OpenOffice
Which gave me the command:
Code:
OOo &

Last edited by muha; 03-23-2006 at 05:01 AM.
 
Old 03-23-2006, 12:07 PM   #9
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
thanks, apropos was excellent and is good to know!
"gaim" indeed works to open the program; I was hoping there was some way to control a running gaim with commands
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? cotton213 Linux - Software 0 03-14-2006 06:57 PM
LXer: The Office-free life: Surviving on free Web-based services alone LXer Syndicated Linux News 0 12-22-2005 06:01 AM
Free Software, Free Society: Selected Essays of Richard M. Stallman irfanhab Linux - General 1 11-09-2004 07:22 AM
free bds5.0 mouse problem ronss *BSD 1 02-10-2003 04:01 AM
Free, free,FREE=? no money, = Freedom? murshed Linux - Newbie 8 01-20-2003 08:01 AM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration