WOONO's Blog







Ubuntu 12.04 - gedit 한글문제



terminal 에서 아래와 같이 입력


$gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'UHC', 'CURRENT', 'ISO-8859-15', 'ISO-8859-1', 'WINDOWS-1252', 'EUC-KR', 'UTF-16']"





Posted by woono


Ubuntu 12.04 TLS - Unzip 한글 깨짐 해결방법


역시 euc-kr 문제이다.

UTF-8 로 압축을 하면 문제가 없지만 Windows 에서 압축된 파일들은 전부다 ecu-kr(CP949) 로 압축이 되어 있는 경우가 많다.



- 범용 profile

etc/profile


- 개인 사용자용 profile

~/.profile


둘 중 아무 파일이나 수정을 해도 된다.


$ sudo vi /etc/profile


or


$ sudo vi ~/.profile




profile







Posted by woono


Ubuntu 12.04 TLS - vi color 및 tab 설정 하는법



1. 먼저 vim 을 설치 한다.


$ sudo apt-get  install vim


2. vim 이 설치되면 이후 "vi" 에서 color를 볼 수 있을 것이다.


3.  vi 환경설정


$ vi ~/.vimrc


.vimrc 파일에서 아래 3라인을 추가한다.


set ts=4

set cindent

set number





Posted by woono


Ubuntu 12.04 - UTF8 한글 깨짐 해결 방법




"Totem Player", "Rhythmbox " 등에서 "UTF-8" 로 설정 할 경우 한글이 깨지는데 근본적인 해결책은 UTF-8 을 사용하는 것이 맞지만 대부분의 국내 사용자 환경은 "EUC-KR" 이기 때문에 아래 방법대로 하면 해결된다.



- 범용 profile

etc/profile


- 개인 사용자용 profile

~/.profile


둘 중 아무 파일이나 수정을 해도 된다.



$ sudo vi /etc/profile


or


$ sudo vi ~/.profile




/etc/profile





위와 같이 수정했으면 저장 하고 ubuntu 를 "재 시작" 한다.





Posted by woono


Ubuntu 12.04LTS Tips and Tricks



1. Change the Software Center Server Location


If you installed with a customized location, then the download source address will be set to your local or nearer server. To avoid “404″ Errors, open The Software Center, go to Edit and then Software Sources. Then change the server to Main server.


2. Manage Unity (Ug… Unity!)


Most of you know that I am not a Unity Fan…it’s a Step backwards, but if you want to live with it… Here are some tips….

Ubuntu 12.04 has no panel or menu or applet.

To control unity bar, icon size, opacity etc., download any of these three.


Ubuntu Tweak has so many tweaking points including for Unity.


sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak 


Compiz is a very good desktop management software.


sudo apt-get install compizconfig-settings-manager


Unsettings is easy user friendly.


sudo add-apt-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install unsettings



To add weather indicator icon…


sudo apt-get install indicator-weather


System monitor on tray…


sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload


Customized calendar indicator


sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install calendar-indicator


3. Power Management


Custom power profiles are missing.

Get Jupiter to manage video device, resolution and power profiles.


sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter


4. Get Back All Startup Items


System specific startup items are hidden by difault. Just hit this into the terminal, and all are back!


sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop



5. Synaptic!


Yast for openSUSE, Synaptic for Ubuntu? Whatever, Synaptic can be installed by this:


sudo apt-get install synaptic


6. Forget Software Center, Get Gdebi


Gdebi is a very handy standalone *.deb installer. Get it…


sudo apt-get install gdebi


Gnome Classic – mandatory IMHO!
Missing the old gnome interface? Forget Unity 2D, switch to gnome fallback.


sudo apt-get install gnome-session-fallback


After installing logout and choose gnome-classic in “session” on the login box.


Gnome shell can also be installed to give you the real taste of Gnome3, Get it …


sudo apt-get install gnome-shell


For better gnome shell theme installer, get this…


sudo apt-get install gnome-tweak-tool


No Audio/Video? Get Codecs!
Ubuntu doesn’t ship codecs. Get gstreamer to play video and audio files with ease.


sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ffmpeg


Firefox might need flash player.


sudo apt-get install flashplugin-installer


OR -


Get VLC, Java, Flash and all you need with a single command…


sudo apt-get install ubuntu-restricted-extras


7. Other Desktop Environments


KDE


sudo apt-get install kde-plasma-desktop


XFCE (Minimal Gnome)


sudo apt-get install xfce4


LXDE (Powersaving)


sudo apt-get install lxde


Openbox (Very light and my personal favorite!)


sudo apt-get install openbox


8. Tweak Nautilus


Get back terminal in the context menu…


sudo apt-get install nautilus-open-terminal


Nautilus image converter, helpful when you don’t want to open GIMP.


sudo apt-get install nautilus-image-converter


9. Icons! (I’m not a fan of the stock set, here are some alternatives)


Faenza Icon Theme:


sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update
sudo apt-get install faenza-icon-theme


AwOken:


sudo add-apt-repository ppa:alecive/antigone
sudo apt-get update
sudo apt-get install awoken-icon-theme awoken-icon-theme-customization



original link to : http://www.techhui.com/profiles/blogs/ubuntu-12-04lts-tips-and-tricks





Posted by woono


Ubuntu 12.04 에 JDK 6 설치하는 법



터미널에서 다음과 같이 입력

 




$ sudo add-apt-repository ppa:flexiondotorg/java
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk sun-java6-plugin




Java 설정

 



$ sudo update-alternatives --config java



Posted by woono