Debian RealPlayer + Opera
Saturday, June 25th, 2005Download the latest .deb from
http://helix.alioth.debian.org/deb/real/10.0.2/
dpkg -i (package).deb ln -s /usr/lib/real-player/mozilla/nphelix.so /usr/lib/opera/plugins
Download the latest .deb from
http://helix.alioth.debian.org/deb/real/10.0.2/
dpkg -i (package).deb ln -s /usr/lib/real-player/mozilla/nphelix.so /usr/lib/opera/plugins
After enabling in /etc/X11/XF86Config-4, in the Monitor Section
Option "DPMS"
(Restart X11)
Now you can run, “xset dpms force suspend”
to suspend your screen. Also, the xscreensaver will now turn off the backlight.
Debian’s SiS drivers are by default out of date. The most current drivers can be obtained by adding a new source to /etc/apt/sources.list
deb http://www.winischhofer.net/sis/debian/unstable ./ deb-src http://www.winischhofer.net/sis/debian/unstable ./
apt-get install sisctrl x-driver-sis
After installing, make sure to use a SiS X11 configuration. See associated posting.
# XF86Config-4 (XFree86 X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # This file is automatically updated on xserver-xfree86 package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xfree86 # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom # md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum # dpkg-reconfigure xserver-xfree86
Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "speedo" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection #Section "Device" # Identifier "Generic Video Card" # Driver "sis" # Option "ForceCRT1Type" "LCD" # Option "ForceCRT2Type" "SVIDEO" # Option "SISTVAntiFlicker" "OFF" "ADAPTIVE" # Option "CHTVOverscan" "TRUE" # Option "TVStandard" "NTSC" # Option "XvOnCRT2" "TRUE" # Option "HWcursor" # Option "EnableSiSCtrl" "yes" # VideoRam 65536 #EndSection Section "Screen" Identifier "Default Screen" Device "Generic Video Card" Monitor "@@@:0000" DefaultDepth 24 SubSection "Display" Depth 1 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection # # In Dual Head mode, this "Monitor" section is only used # for CRT2. A second one, for CRT1, is added below. # "Monitor" section Section "Monitor" Identifier "@@@:0000" # VertRefresh ??-?? (optional; used for CRT2 only) # HorizSync ??-?? (optional; used for CRT2 only) # Option "DPMS" (optional; used for CRT2 only) # Gamma correction for CRT2 Gamma 1.000 1.000 1.000 EndSection
# In Dual Head mode, this "Device" section is only used # for CRT2. A second one, for CRT1, is added below. # "Device" section Section "Device" Identifier "Generic Video Card" # Now for the real thing: Driver "sis" # "BusID" is mandatory for Dual Head mode. BusID "PCI:1:0:0" # "Screen" is mandatory for Dual Head mode. # "Screen 0" is CRT2 (master), "Screen 1" is CRT1 (slave) Screen 0 # EnableSiSCtrl must be set to use SiSCtrl Option "EnableSiSCtrl" "yes" # [sisctrl] Set CRT1 device type (Note: overrides auto-detection) Option “ForceCRT1Type” “LCD” # [sisctrl] Set CRT2 device type (Note: overrides auto-detection) Option “ForceCRT2Type” “SVIDEO” # [sisctrl] LCD related options # All set to defaults # [sisctrl] TV related options Option “TVStandard” “NTSC” Option “SISTVAntiFlicker” “adaptive” Option “SISTVSaturation” “0″ Option “SISTVColorCalibCoarse” “0″ Option “SISTVColorCalibFine” “0″ Option “SISTVCFilter” “on” Option “SISTVYFilter” “1″ Option “SISTVXScale” “0″ Option “SISTVYScale” “0″ Option “TVXPosOffset” “0″ Option “TVYPosOffset” “0″ # [sisctrl] Enable/disable gamma correction for CRT2 Option “CRT2Gamma” “on” # [sisctrl] Gamma brightness for CRT2 # The driver does NOT write these to the hardware. Instead, for # using gamma brightness, you need to execute sisctrl with the # -setgammabrightness (or -sg) switch at X server start. It is # most convenient to do this by adding this to your ~/.xsession # or ~/.xinitrc file: # sisctrl -sg # If you run Xinerama, do that twice for both screens. Add this: # sisctrl -screen 1 -sg # In Dual Head mode, the option “GammaBrightness” is # preferred over “CRT2GammaBrightness” (although both # are accepted equally). Option “GammaBrightness” “1.000 1.000 1.000″ # Xv (video overlay) head selection Option “XvOnCRT2″ “no” # [sisctrl] Xv (video overlay) related options for CRT2 Option “XvDefaultContrast” “2″ Option “XvDefaultBrightness” “10″ Option “XvDefaultHue” “0″ Option “XvDefaultSaturation” “0″ Option “XvDefaultDisableGfxLR” “no” EndSection # For Dual Head mode, a second “Monitor” section is required. # The above “Monitor” section is for CRT2, while the following # one is for CRT1. For example: Section “Monitor” # Replace IDENTIFIER with the real one from the “Monitor” # tag in your “Screen” section for CRT1 Identifier “Generic Video Card” # VertRefresh ??-?? (optional, used for CRT1 only) # HorizSync ??-?? (optional, used for CRT1 only) # Option “DPMS” (optional, used for CRT1 only) # Gamma correction for CRT1 Gamma 1.000 1.000 1.000 EndSection # For Dual Head mode, a second “Device” section is required. # The above “Device” section is for CRT2, while the following # one is for CRT1. Note that not all options can be set in this # second “Device” section. Options that determine settings # which both heads need to know about are only allowed in the # “Device” section for CRT2. # Options that are allowed here are all “XvDefault…”, all # gamma correction related options and a few more. For example: Section “Device” # Replace IDENTIFIER with the real one from the “Device” # tag in your “Screen” section for CRT1 Identifier “Generic Video Card” # Now for the real thing: Driver “sis” # “BusID” is mandatory for Dual Head mode. BusID “PCI:1:0:0″ # “Screen” is mandatory for Dual Head mode. # “Screen 0″ is CRT2 (master), “Screen 1″ is CRT1 (slave) Screen 1 # EnableSiSCtrl must be set to use SiSCtrl Option “EnableSiSCtrl” “yes” # Enable/disable gamma correction for CRT1 Option “CRT1Gamma” “on” # Gamma brightness for CRT1 # The driver does NOT write these to the hardware. Instead, for # using gamma brightness, you need to execute sisctrl with the # -setgammabrightness (or -sg) switch at X server start. It is # most convenient to do this by adding this to your ~/.xsession # or ~/.xinitrc file: # sisctrl -sg # If you run Xinerama, do that twice for both screens. Add this: # sisctrl -screen 1 -sg Option “GammaBrightness” “1.000 1.000 1.000″ # Xv (video overlay) related options for CRT1 Option “XvDefaultContrast” “2″ Option “XvDefaultBrightness” “10″ Option “XvDefaultHue” “0″ Option “XvDefaultSaturation” “0″ Option “XvDefaultDisableGfxLR” “no” Option “XvGamma” “off” EndSection Section “ServerLayout” Identifier “Default Layout” Screen “Default Screen” InputDevice “Generic Keyboard” InputDevice “Configured Mouse” InputDevice “Generic Mouse” EndSection Section “DRI” Mode 0666 EndSection
Getting JAVA to work with Firefox under Debian GNU/Linux is a real pain in the ass. This is what I did to have a working java:
1. Download the j2 runtime environment (j2re) kit from SUN as RPM.
Goto: http://java.com/en/download/manual.jsp
Select: Linux RPM (self-extracting file)
2. Run the self-extracting .bin file
chmod 755 jre-1_5_0_02-linux-i586-rpm.bin
3. Download Alien to convert RPM to DEB
apt-get install alien
4. Convert the RPM file with alien:
alien j2re-1_4_2_07-linux-i586.rpm
5. Install deb:
dpkg -i j2re_1.4.2_07-1_i386.deb
6.
cd /usr/lib/mozilla-firefox/plugins ln -s /usr/java/j2re1.4.2_07/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
7. You need to run unpack from the /usr/java/j2re1.4.2_07 directory, as:
./unpack rt.pack rt.jar ./unpack jsse.pack jsse.jar ./unpack charsets.pack charsets.jar ./unpack plugin.pack plugin.jar
8. Start firefox, and browse to about:plugins url.
OR
edit /etc/apt/sources.list, add
deb http://public.planetmirror.com/pub/ubuntu-backports/ hoary-backports main universe multiverse restricted deb http://public.planetmirror.com/pub/ubuntu-backports/ hoary-extras main universe multiverse restricted
apt-get update apt-get install sun-j2sdk1.5
restart firefox
First, run apt-get intall
mozilla-firefox-locale-ko
mozilla-thunderbird-locale-ko
mozilla-locale-ko
ttf-unfonts
xfs
ttf-baekmuk
ttf-alee
xfonts-baekmuk
scim scim-hangul
scim-gtk2-immudule
scim-tables-kr
scim-tables-ko
scim-config-gconf
scim-config-socket
After this, restart X11. Open up Firefox hit “Ctrl + Space” to shift between Korean and English input.
Add contrib to /etc/apt/sources.list
apt-get install msttcorefonts