LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can someone please post some Aterm commands for the rest of us ? (https://www.linuxquestions.org/questions/linux-newbie-8/can-someone-please-post-some-aterm-commands-for-the-rest-of-us-18238/)

Rampage2884 04-10-2002 09:59 PM

Can someone please post some Aterm commands for the rest of us ?
 
Most of us newbies dont know the command to apply wallpapers with aterm or do other neat features, so if any of you are kind of enough and share your knowledge of aterms commands, it will help us all.

Thanks Guys

therion12 04-10-2002 10:11 PM

I good one is "aterm -tr" which applies transparency to it. Personally i find transparency to make it harder to read the stuff inside the aterm so i keep the default.

You can set custom forgounds and backgrounds with -fg and -bg just like with xTerm.

for example to make an Aterm with black bg and white text you would type:

aterm -fg white -bg black

Hope this helps.

kibble 04-10-2002 10:13 PM

aterm --help isn't very easy to follow some times. Try aterm -tr -tint yellow or aterm -pixmap file.jpg.

hanzerik 04-11-2002 08:03 AM

aterm -tr -trsb -txttype invert -sl 9999 -cr green

-tr = transparent
-trsb = transrarent scrool bar
-txttype orInverted = looks the best to me
-sl 9999 = scrool back number of lines
-cr green = curser is green

Aterm has lots of good features, try them out until you find the combo that suits your needs.

Rampage2884 04-13-2002 09:52 AM

Thanks for the commands guys, they work great.

But is it possible to make other windows, such as x-chat, transparent with aterm?

jpweston 04-13-2002 04:06 PM

When you get some time, check out the man pages for aterm. They give more description of the options and give good info. on different configurations to use (i.e. the tinting option for the background).

It does take some time to read through it and get the hang of which options combine well, but it's good stuff.

X-chat has it's own transparency/background settings under the Settings menu.

Enjoy!

j.

ttye0 06-19-2002 04:21 AM

Aterm Font Sizes
 
I'm trying to find out how to set the font size for my aterm. I havn't found the help I'm looking for on the man page or with -help.

How could I set this?

Crashed_Again 04-15-2003 02:42 PM

What about aterms size? I'd like it to be a little wider but I can' figure out how to set the size. It looks like I need to use the -geometry switch but how is the question.

Scratching my head...

cuckoopint 04-15-2003 03:24 PM

Quote:

What about aterms size? I'd like it to be a little wider but I can' figure out how to set the size. It looks like I need to use the -geometry switch but how is the question.
aterm -geometry 80x31

or you can be more extravagant:
aterm -geometry 80x31+6+1 (size and position on screen)
^i use the above to set nice, transperant aterms on particular parts of my screen at boot (ie. .xsession)
; )

I edit my aterms depending on the color of my wallpaper. The one that works well for me now:

aterm -sl 1000 -tr -tinttype xor -fg "dark grey" -sh 40 -fade 70 -trsb +sb

nakkaya 04-15-2003 08:20 PM

aterm -tr -trsb -cr white -title Devil@Work -fg green

mine

m32 04-24-2003 01:21 PM

Very helpful thread, worth a bump.

(esp so I can find it easier when I get home this evening.)

:D :D :D

m32 04-24-2003 05:18 PM

One more question, though:

In eterm, when I would hit 'ls' I would get directories showing up with colored txt as opposed to files which would show up as regular text?

Is there a way to do this?

Oh, and yet another question:

On certain consoles (like gnome console on RH), the prompt would include the current full path.

On my terminals in slack, the prompt is "bash$" Any way to change that to the prompt with the path? (I find it helpful).

Crashed_Again 04-24-2003 05:57 PM

Quote:

Originally posted by m32
On my terminals in slack, the prompt is "bash$" Any way to change that to the prompt with the path? (I find it helpful).
Add the following lines to your .bashrc file:

PS1='[Your in \w]\$ '
export PS1

Then restart aterm.

<EDIT>
Heres all the switches available:

\a an ASCII bell character (07)
\d the date in "Weekday Month Date" format (e.g., "Tue May
26")
\D{format}
the format is passed to strftime(3) and the result is
inserted into the prompt string; an empty format results
in a locale-specific time representation. The braces are
required
\e an ASCII escape character (033)
\h the hostname up to the first `.'
\H the hostname
\j the number of jobs currently managed by the shell
\l the basename of the shell's terminal device name
\n newline
\r carriage return
\s the name of the shell, the basename of $0 (the portion
following the final slash)
\t the current time in 24-hour HH:MM:SS format
\T the current time in 12-hour HH:MM:SS format
\@ the current time in 12-hour am/pm format
\A the current time in 24-hour HH:MM format
\u the username of the current user
\v the version of bash (e.g., 2.00)
\V the release of bash, version + patchelvel (e.g., 2.00.0)
\w the current working directory
\W the basename of the current working directory
\! the history number of this command
\# the command number of this command
\$ if the effective UID is 0, a #, otherwise a $
\nnn the character corresponding to the octal number nnn
\\ a backslash
\[ begin a sequence of non-printing characters, which could
be used to embed a terminal control sequence into the
prompt
\] end a sequence of non-printing characters

</EDIT>

m32 04-24-2003 07:04 PM

Quote:

Originally posted by Crashed_Again
Add the following lines to your .bashrc file:

PS1='[Your in \w]\$ '
export PS1


</EDIT>

And if I don't have a .bashrc file, where would I make one?

Crashed_Again 04-24-2003 07:13 PM

Well if your using the bash shell then you should have one in your home directory:

/home/user/.bashrc

its a hidden file hence the . before the file name.


All times are GMT -5. The time now is 01:21 PM.