Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-29-2005, 06:34 PM   #1
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Starting CLI programs in aterm when logging in

Hi guys, firstly i've searched google and here for the answer and have come across nothing that gives me a complete fix, i think i am halfway there as you will see below:

FC 4 2.6.14-1

I'm trying to maximise productivity and reduce the amount i have to do manually when logging in, this being said i have a few programs that i want to start up and display in a console when i log in.

As it is i have never had aterm read from the .Xdefaults file (i tried with and without the -ls switch) so therefore i have this command in ~/.fluxbox/startup

aterm -name aterm -title 'FC4 Terminal' -sl 3000 -scrollBar -tr -fg & white -bg black & -bl &
That's fine, does what i want it to. Now i want 3 consoles aligned vertically:

when i login, using the fluxbox remember options would keep placing all the aterms in the same place (as they have the same name/path), so i copied the aterm binary and renamed a few different ones:

snortterm - to run snort to catch any alerts
sshterm - to open a prompt to my server i SSH into

adding the above into seperate commands in the startup file works too (they also all have their own entry into ~/.fluxbox/apps for posn etc.). This starts 3 aterms in the positions i want, now they all show the standard prompt.

next i wanted the middle one to show the SSH prompt and the bottom one to show snort alerts. I researched into aterm and saw that using the -e <program> switch starts a console program in the terminal. So i tried putting it in the startup command (pointing to some working shell scripts) , however putting it after the other switches means it doesn't work and putting it before them means all the transparency is gone, which is the problem:


I want to have 3 transparent aterms:
1 - standard prompt
2 - SSH prompt
3 - Snort alerts (running a shell script i wrote)

using the above mentioned startup command or indeed fixing aterm so it reads the .Xdefaults file

Note: i have also tried forwarding commands to the terminal program, it just starts the command in the current terminal then opens another

Any help is much appreciated.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading CLI programs in X at startup edM Slackware 3 10-20-2005 09:29 PM
Making/Compiling C++ programs via CLI J_K9 Programming 6 07-09-2005 12:20 PM
I cant run any programs from aterm! chrisford553 Linux - Newbie 8 08-05-2004 08:17 PM
X problems when logging in/out or starting 3d-enabled game... pdmackenzie Mandriva 11 09-15-2003 06:37 PM
Starting program automatically as logging in adcripps Linux - Newbie 9 03-13-2002 12:47 PM

All times are GMT -5. The time now is 10:06 PM.

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