![]() ![]() |
Dec 28 2004, 06:59 AM
Post
#1
|
|
|
Group: Members Posts: 639 Joined: 4-September 03 From: Chicago Member No.: 401 |
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 # ~/.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 # /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 # /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 echo "Zaurus = Penguin Power" Cheers, Jerry |
|
|
|
Dec 31 2004, 11:26 PM
Post
#2
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
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 keycode 130 = Super_L add mod4 = Super_L 2) edit /etc/xdg/openbox/rc.xml and to add CODE <keybind key="Mod4-Right"> <action name="NextWindow"/> </keybind> <keybind key="Mod4-m"> <action name="MaximizeFull"/> </keybind> so that I use kanji key + right arrow to switch between windows and kanji + m to maximize a window |
|
|
|
Jan 1 2005, 11:25 AM
Post
#3
|
|
|
Group: Members Posts: 704 Joined: 9-October 03 From: Denmark Member No.: 20 |
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? |
|
|
|
Jan 1 2005, 01:32 PM
Post
#4
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
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. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 11:42 AM |