Author Topic: Favorite Pdaxrom Tweaks  (Read 2734 times)

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Favorite Pdaxrom Tweaks
« on: December 28, 2004, 09:59:57 am »
I though it might be fun/useful to share your favorite tweaks.

Here's a couple of mine that I've copied over from my gentoo setup:
I have been using .Xdefaults in my home directory to set default aterm settings. This allows me to have the same aterm settings as I use different wm with having to hack different scripts in each.

Code: [Select]
# ~/.Xdefaults
# Aterm Terminal Settings

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

# Aterm Font Settings, selected using 'xfontsel'
aterm*font:-*-*-bold-*-*-*-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

Then to customize the bash prompt I've added .bash_profile and .bashrc to my home directory as well. The settings display the path at the prompt so you always know where you are. Also it allows you to create aliases or shortcuts, I've set it so that "d" = ls and "nano" = nano -w.
.bash_profile ->
Code: [Select]
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18 19:39:22 azarah Exp $

#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc

.bashrc ->
Code: [Select]
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28
 #15:45:35 azarah Exp $

# This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.

alias d="ls"
alias nano="nano -w"

PS1="\$(pwd) # "

And lastly, I've added a message that is displayed with each new prompt by adding a last line to /etc/profle
Code: [Select]
echo "Zaurus = Penguin Power"
Cheers,
Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Favorite Pdaxrom Tweaks
« Reply #1 on: January 01, 2005, 02:26:40 am »
I find using alt tab to switch windows difficult using my thumbs and I often needs to take my stylus to maximize the size of a window.
My solution to these pbs is to
1) map the kanji key near the - key to Mod4 (or "windows key") add in /etc/x11/kb/corgi.xmodmap
Code: [Select]
keycode 130 = Super_L
add mod4 = Super_L

2) edit /etc/xdg/openbox/rc.xml and to add
Code: [Select]

    


  

so that I use kanji key + right arrow to switch between windows
and kanji + m to maximize a window
SLC-860 cacko / senao wifi

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Favorite Pdaxrom Tweaks
« Reply #2 on: January 01, 2005, 02:25:54 pm »
Hey pgas..

Maybe I should make support for defining the mod4 key in inputconfig - maybe you could come up with a good list/definition of all the standard mod4 key shortcuts?
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Favorite Pdaxrom Tweaks
« Reply #3 on: January 01, 2005, 04:32:05 pm »
hmm, I don't know if there is such a thing as standard mod4 shortcuts, except some on windows ( mod4+m show the desktop on windows , I use it to  maximize the window...)

Perhaps we can open a new thread to see what
others like or would like.
SLC-860 cacko / senao wifi