Thursday, November 02, 2006
SSH shell keypad not working using PUTTY
When keyboard numeric keypad is not working in bash shell then probably the keyboard settings in PUTTY (under Windows) is not set correctly. Try selecting selecting "Linux" in Terminal | Keyboard "The Function keys and keypad."
Monday, October 30, 2006
Fixing emacs that shows square boxes
If you have already installed modular X, then just update /etc/make.conf with the following USE variables
USE="bitmap-fonts truetype-fonts type1-fonts"Then do an update, i.e.:
#: emerge -avuDN worldGot to emerge xfontsel as well to specify default font for emacs.
#: emerge xfontselSelect appropriate font using xfontsel and then create .Xdefaults in the user directory.
%: touch ~/.XdefaultsMine got the following entries:
%: nano -w ~/.Xdefaults
emacs.font: -*-fixed-*-*-normal-*-10-*-*-*-*-*-*-*Then to get the changes applied withour restarting X, do the following:
%: xrdb -load ~/.XdefaultsFor some reason emacs runs quite nicely after all this changes when run from the terminal but not from Gnome menu. So got to make some minor changes in /usr/share/applications/emacs-21.desktop. Change the following line:
Exec=/usr/bin/emacs.emacs-21To:
Exec=/usr/bin/emacsNote, need to be root inorder to do this.
Emacs shows "Undefined color : black"
When running Emacs in terminal it shows "Undefined color: black." This might be one of the applications that was broken due to changing from XFree86 to Xorg. To fix this problem define a symlink to the rgb.txt, i.e.,
#: ln -s /etc/X11/rgb.txt /usr/X11R6/lib/rgb.txt
Note that user needs to restart X to apply this changes.
See http://www.ubuntuforums.org/showthread.php?t=90751&page= for the original post.
#: ln -s /etc/X11/rgb.txt /usr/X11R6/lib/rgb.txt
Note that user needs to restart X to apply this changes.
See http://www.ubuntuforums.org/showthread.php?t=90751&page= for the original post.
Friday, October 27, 2006
Better looking Firefox in Gentoo
In Firefox 1.5, go to Edit » Preferences » Content » Fonts & Colors » Advanced.
Then, set these parameters:
- Proportional: Serif (Size: 16)
- Serif: Bitstream vera serif
- Sans-serif: Bitstream vera sans
- Monospace: Bitstream vera sans mono (Size: 12)
- Display Resolution: System setting
You should also check that the following boxes are ticked: Allow pages to choose their own fonts, instead of my selections above.
Don't even need to restart to see the difference.See http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts for more information.
Sunday, October 22, 2006
Installing nxserver-freenx
Login as root user or root privileges, then update file /etc/portage/package.keywords,
I was actually tring to document how to install freenx in Gentoo but I was lost when some of the configuration files was changed and the locations too... I will try to get my hands dirty with the software as soond as have time and document in as much as i can.
For now you can still follow the directions below:
Follow instructions from http://marvin.as.arizona.edu/~jharris/linux_tips/freenx-howto.html. Note to make sure that when running /usr/NX/bin/nxsetup --install --setup-nomachine-key that it runs into completion. Otherwise you will into many issue. Example if you installed Gentoo without KDE, then it will complain about KDE printing system. So disable that option. I might document it more fully here when I will re-install nxserver-freenx.
#: nano -w /etc/portage/package.keywordsAdd the following line
net-misc/nxserver-freenx
net-misc/nx<<<<<<I was actually tring to document how to install freenx in Gentoo but I was lost when some of the configuration files was changed and the locations too... I will try to get my hands dirty with the software as soond as have time and document in as much as i can.
For now you can still follow the directions below:
Follow instructions from http://marvin.as.arizona.edu/~jharris/linux_tips/freenx-howto.html. Note to make sure that when running /usr/NX/bin/nxsetup --install --setup-nomachine-key that it runs into completion. Otherwise you will into many issue. Example if you installed Gentoo without KDE, then it will complain about KDE printing system. So disable that option. I might document it more fully here when I will re-install nxserver-freenx.
Friday, October 20, 2006
fluxbox menu
# Generated by fluxbox-generate_menu
#
# If you read this it means you want to edit this file manually, so here
# are some useful tips:
#
# - You can add your own menu-entries to ~/.fluxbox/usermenu
#
# - If you miss apps please let me know and I will add them for the next
# release.
#
# - The -r option prevents removing of empty menu entries and lines which
# makes things much more readable.
#
# - To prevent any other app from overwriting your menu
# you can change the menu name in .fluxbox/init to:
# session.menuFile: /home/you/.fluxbox/my-menu
[begin] (Fluxbox 0.9.15.1)
[exec] (xterm) {xterm}
[exec] (Eterm) {Eterm}
[exec] (mrxvt) {mrxvt}
# [exec] () {} execname is NULL; cannot lookup
[submenu] (Terminals)
[exec] (xterm) {xterm}
[end]
[submenu] (Editors)
[exec] (nano) {xterm -e nano}
[end]
[submenu] (File utils)
[exec] (mc) {xterm -e mc}
[end]
[submenu] (Multimedia)
[submenu] (X-utils)
[exec] (xclock) {xclock}
[exec] (Reload .Xdefaults) {xrdb -load /var/tmp/portage/fluxbox-0.9.15.1-r1/temp/home/.Xdefaults}
[end]
[end]
[submenu] (Office)
[exec] (xclock) {xclock}
[exec] (dillo) {dillo}
[exec] (firefox) {firefox}
[end]
[submenu] (fluxbox menu)
[config] (Configure)
[submenu] (Styles)
[include] (/usr/share/fluxbox/menu.d/styles/)
[end]
[workspaces] (Workspace List)
[commanddialog] (Fluxbox Command)
[reconfig] (Reload config)
[restart] (Restart)
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
[separator]
[exit] (Exit)
[end]
[end]
mrxvt settings
Mrxvt.background: black
Mrxvt.foreground: gray
Mrxvt.cursorColor: yellow
Mrxvt.tabBackground: black
Mrxvt.tabForeground: yellow
Mrxvt.bottomTabbar: True
Mrxvt.scrollbarRight: True
Mrxvt.scrollbarStyle: rxvt
Mrxvt.borderColor: green
Mrxvt.transparent: False
Mrxvt.transparentTabbar: False
Mrxvt.itabBackground: black
Subscribe to:
Posts (Atom)