Ubuntu Tips

  • My software packages
    • sudo apt-get install texlive-latex-extra

  • LucidUpgrades
    • Install update-manager-core if it is not already installed: sudo apt-get install update-manager-core
    • edit /etc/update-manager/release-upgrades and set Prompt=normal
    • Launch the upgrade tool: sudo do-release-upgrade
    • Follow the on-screen instructions.
  • asf to mp3
    • sudo apt-get install lame mplayer mplayer-nogui
    • mplayer -ao pcm:file=destination.wav source.asf
    • lame destination.wav
  • VLC Korean in Ubuntu
    • VLC > Preference > Input/Codecs > Other codecs > subtitles > Subtitle text encoding to EUC-KR
    • Nautilus > Right click > Open with Other application > use a custom command > vlc %m
  • Korean in Ubuntu
    • sudo apt-get update
    • sudo apt-get install scim uim scim-uim scim-gtk2-immodule scim-hangul scim-tables-ko
    • sudo touch /etc/X11/Xsession.d/74custom-scim_startup
    • sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
    • echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
    • echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
    • echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
    • echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
    • sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup
    • Then reboot and press CTRL-space to start inputting with Korean.