Author Topic: Transparent Aterm... For Fun And Profit.  (Read 4444 times)

cal

  • Full Member
  • ***
  • Posts: 112
    • View Profile
Transparent Aterm... For Fun And Profit.
« on: February 19, 2006, 10:42:02 am »
This worked better then I expected, so I thought I would share.

If you have already created an .Xdefaults add the following lines

Code: [Select]
aterm*loginShell:true
aterm*transparent:true
aterm*shading:60
aterm*background:Black
aterm*foreground:White
aterm*scrollBar:true
aterm*scrollBar_right:true
aterm*transpscrollbar:true
fire up aterm (restart aterm)



or can use the easy way...  (this will replace your .Xdefaults if you made your own.  if you don't know what .Xdefaults is then you should be safe with this method)

Easy way:
go the a terminal and type this comand

Code: [Select]
wget hcfolds.com/.Xdefaultsstart a new aterm

Add an awsome little editor called nano, which looks great trasnparent...  which I know is a funny statement

Code: [Select]
wget http://www.pdaxrom.org/unstable/nano_1.2.3_arm.ipk
ipkg install nano_1.2.3_arm.ipk
ipkg -d sd install nano_1.2.3_arm.ipk


have fun

:::
This was tested on:
C1000
1.1.0beta1
Rox Desktop

Can't see why it wouldn't work on just about any pdaxrom... might even work on other roms with aterm.

Screen shots soon.
+EDIT:::
I should really have given credit to the guide I stole most of that from...  http://linuxreviews.org/software/x11-terms/aterm/
If you use their how to instead of this one, remember to skip the part about setting fonts, unless you know what you are doing, they set the fonts a little too bit to use on the Z
« Last Edit: February 19, 2006, 10:53:51 am by cal »

cal

  • Full Member
  • ***
  • Posts: 112
    • View Profile
Transparent Aterm... For Fun And Profit.
« Reply #1 on: February 19, 2006, 10:51:14 pm »
And the screen shots...
« Last Edit: February 19, 2006, 11:00:50 pm by cal »

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Transparent Aterm... For Fun And Profit.
« Reply #2 on: February 20, 2006, 12:38:43 pm »
You can do the same with mrxvt (unstable feed at pdaXrom.org), which has the added advantage of multiple tabs so you can have several terminals open and easily switch to them on the same desktop. Attached is a screenshot and also my .Xdefaults which has my settings for both aterm & mrxvt. I've got mrxvt set to open with 2 terminals, the second of which has Midnight Commander running (the "mrxvt*vt1*command:  mc -a" line.)

Code: [Select]
#aterm Terminal Settings

# Settings posted by jerrybme Dec 28 2004

aterm*loginShell:true
aterm*transparent:true
aterm*shading:50
aterm*scrollBar:true
aterm*scrollBar_left:true
aterm*transpscrollbar:true
#aterm*geometry:55x23+0+0
aterm*geometry:60x25+0+0
# 786 lines = 500 KB of memory
aterm*saveLines:300

# Aterm Font Settings, selected using 'xfontsel'
#aterm*font:-*-*-bold-*-*-*-15-*-*-*-*-*-*-*
aterm*font:-misc-fixed-bold-r-normal-*-15-*
#aterm*font:-artwiz-*-*-*-*-*-15-*-*-*-*-*-*-*


# Aterm Color Settings

aterm*background:  black
aterm*foreground:  green
aterm*cursorColor: green

# I got these colors from using gnome-terminal's color
# dialogue. under Palette, i selected 'linux console'
# and just middle-mouse copied the values over--a swell hack

aterm*color0:      #000000
aterm*color1:      #AA0000
aterm*color2:      #00AA00
aterm*color3:      #AA5500
aterm*color4:      #0000AA
aterm*color5:      #AA00AA
aterm*color6:      #00AAAA
aterm*color7:      #AAAAAA
aterm*color8:      #555555
aterm*color9:      #FF5555
aterm*color10:     #55FF55
aterm*color11:     #FFFF55
aterm*color12:     #5555FF
aterm*color13:     #FF55FF
aterm*color14:     #55FFFF
aterm*color15:     #FFFFFF
!!!!!!!!!!!!!!!!!!!!!!!
! MRXVT configuration !
!!!!!!!!!!!!!!!!!!!!!!!
mrxvt*vt0*saveLines:   1000
mrxvt*initTermNumber:   2
mrxvt*vt1*command:  mc -a
mrxvt*protectSecondary:   true
mrxvt*loginShell:   true
mrxvt*scrollBar:   false
mrxvt*transparent:   true
mrxvt*shading: 35
mrxvt*transparentScrollbar: true
mrxvt*transparentTabbar:    true
mrxvt*transparentMenubar:   true
mrxvt*foreground:   green
mrxvt*background:   black
mrxvt*backgroundFade:   70
mrxvt*tabForeground:   white
mrxvt*itabForeground:   white
mrxvt*font:-misc-fixed-bold-r-normal-*-15-*
mrxvt*cursorBlink:   true
mrxvt*cursorBlinkInterval:500
mrxvt*geometry:60x25+100+0
mrxvt*bottomTabbar: true
« Last Edit: February 20, 2006, 12:40:57 pm by jerrybme »
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

ma401

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Transparent Aterm... For Fun And Profit.
« Reply #3 on: March 02, 2006, 05:41:52 pm »
Quote
:::
This was tested on:
C1000
1.1.0beta1
Rox Desktop

Works perfectly on my C-760 running 1.1.0beta1, thanks!

One more way to one-up my snooty PPC friends

 [ Invalid Attachment ]
« Last Edit: March 02, 2006, 06:08:42 pm by ma401 »
[div align=\"right\"]Sharp Zaurus SL-760 / pdaXrom 1.1.0beta1 / Kingston 1GB SD - ext2 / SanDisk 512MB CF - fat / Socket CF WiFi
AMD Athlon 2400 + / Radeon 9600 AIW / 2 x 120 GB / 1GB PC3200 / Ubuntu 5.10
My Zaurus/atheism blog[/div]

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Transparent Aterm... For Fun And Profit.
« Reply #4 on: March 03, 2006, 12:55:10 am »
Quote
One more way to one-up my snooty PPC friends

 [ Invalid Attachment ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116744\"][{POST_SNAPBACK}][/a][/div]

Amen!  
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

kenko

  • Newbie
  • *
  • Posts: 20
    • View Profile
Transparent Aterm... For Fun And Profit.
« Reply #5 on: April 06, 2006, 06:36:45 am »
I've make the .Xdefaults under /home/root but it doesn't make any different. Am I have to "activate" it or change any permission?

Thanks.
SL-C3100
pdaXrom Beta2 1.10
Scandisk SD 1 GB
Pretec WiFi CF

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Transparent Aterm... For Fun And Profit.
« Reply #6 on: April 06, 2006, 10:09:09 am »
Quote
I've make the .Xdefaults under /home/root but it doesn't make any different. Am I have to "activate" it or change any permission?

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122009\"][{POST_SNAPBACK}][/a][/div]

Does running "aterm" within a console open up a new aterm that is transparent, as you wanted?

If so, then running "ps | grep aterm" should show you that one of the aterms has been started with additional command-line parameters that override what you put in .Xdefaults.  To fix this, you need to edit /usr/share/applications/aterm.desktop.  [You don't need to back it up first, but you sure could.]  Find the line that starts with "Exec=aterm" and remove all the command line parameters (ie. everything after "Exec=aterm").

I believe that'll do it.

Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Transparent Aterm... For Fun And Profit.
« Reply #7 on: April 07, 2006, 12:26:06 pm »
Quote
I've make the .Xdefaults under /home/root but it doesn't make any different. Am I have to "activate" it or change any permission?

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122009\"][{POST_SNAPBACK}][/a][/div]
Also, if you're using the matchbox icon to launch, it'll over-ride some settings. I've removed the options from the aterm.desktop file in /usr/share/applications
Code: [Select]
Exec=aterm
That way it'll look to my .Xdefaults for the values.

One way to test is to run aterm from an already open terminal. If it opens with your desired options, it's the aterm.desktop file is causing you problems.
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

kenko

  • Newbie
  • *
  • Posts: 20
    • View Profile
Transparent Aterm... For Fun And Profit.
« Reply #8 on: April 07, 2006, 10:23:52 pm »
Thanks for advice. I did try running aterm within console. But only the font color change from green to white and the scroll bar gone. The content of my .Xdefaults is exactly the same as cal's code above. What else could be the problem?
SL-C3100
pdaXrom Beta2 1.10
Scandisk SD 1 GB
Pretec WiFi CF

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Transparent Aterm... For Fun And Profit.
« Reply #9 on: April 07, 2006, 10:32:01 pm »
Quote
Thanks for advice. I did try running aterm within console. But only the font color change from green to white and the scroll bar gone. The content of my .Xdefaults is exactly the same as cal's code above. What else could be the problem?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122292\"][{POST_SNAPBACK}][/a][/div]

i had to kill all the aterms, even the zombies in order for the transparent background to work. maybe a simpler solution would be just restart X?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

kenko

  • Newbie
  • *
  • Posts: 20
    • View Profile
Transparent Aterm... For Fun And Profit.
« Reply #10 on: April 07, 2006, 10:47:12 pm »
Problem solved. This is my fault of stupid typo error.
SL-C3100
pdaXrom Beta2 1.10
Scandisk SD 1 GB
Pretec WiFi CF