Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Friday, May 4, 2018

Setup Epson LQ-300+II on Linux

sudo apt install printer-driver-escpr



when finish, set its resolution


Tuesday, May 24, 2011

ubuntu packages for development

HTML Editor
===========
sudo apt-get -y install quanta
# Quanta Plus is a web development tool for the KDE software users.

sudo apt-get -y install kcolorchooser kruler


intellij-idea
==============
cannot distribute the intellij idea files since that is not allowed by it's license, so uploading it to a public PPA would put you in breach of the license.
just download the tarball from the homepage, unpack it in your home dir, edit the start script idea.sh to export the JDK_HOME path, and you're good to go.
tar xfz idea-7.0.1.tar.gz ./usr/lib/
/bin/sh -c "export JDK_HOME=/usr/lib/jvm/java-6-sun&&/data/idea-IC-103.255/bin/idea.sh"

Ref: http://ubuntuforums.org/showthread.php?t=1705161
Thanks: http://blog.jeroenreijn.com/2010/01/creating-intellij-launcher-on-ubuntu.html

virtualbox
===========
http://www.virtualbox.org/wiki/Linux_Downloads


ssh
===
sudo apt-get install openssh-server
https://help.ubuntu.com/11.04/serverguide/C/openssh-server.html

ubuntu home-user packages natty narwhal 11.04

my favorite home-user packages on ubuntu

Thai fonts
===========
sudo apt-get -y install ttf-dejavu ttf-mscorefonts-installer otf-thai-tlwg ttf-thai-arundina ttf-thai-tlwg
> Thai fonts in OpenType format
> Font Loma, ...


Java
=====
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-fonts


Internet
==========
sudo apt-get -y install firefox flashplugin-installer
# Firefox is a GTK application

https://addons.mozilla.org/en-US/firefox/addon/flash-aid/

sudo apt-get -y install chromium-browser

http://www.opera.com/browser/download/

sudo apt-get -y install pidgin

Images
======
sudo apt-get -y install geeqie
# Geeqie is a lightweight Gtk+ based image viewer for Unix like operating systems.

sudo apt-get -y install kipi-plugins

sudo apt-get -y install kolourpaint4
sudo apt-get -y install kcolorchooser kruler


Office
======
sudo apt-get -y install libreoffice-writer libreoffice-impress libreoffice-calc libreoffice-l10n-th
# Similar to OpenOffice.org, LibreOffice relies heavily on Java : http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/LibreOffice-OpenOffice.org-Liberated


Media player
==============
sudo apt-get -y install vlc gstreamer gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly

http://www.unixmen.com/linux-tutorials/linux-distributions/linux-distributions4-ubuntu/1656-how-to-add-medibuntu-repository-in-ubuntu-via-terminal-and-gui


Others
=======
sudo apt-get -y install unrar zip unzip p7zip-full p7zip-rar rar

sudo apt-get -y install goldendict
# goldendict use Qt 4

# for creating custom dictionary
sudo apt-get -y install stardict-tools

http://www.playoss.com/community_project/kpe
http://linux-software-news-tutorials.blogspot.com/2011/04/things-to-do-after-install-ubuntu-natty.html
http://www.unixmen.com/linux-tutorials/linux-distributions/linux-distributions4-ubuntu/1540-top-things-to-do-after-installing-ubuntu-1104-natty-narwhal
https://help.ubuntu.com/community/FreeSoftwareAlternatives

Nautilus Elementary
สำหรับปรับแต่ง Nautilus ได้อย่างอิสระและสวยงามอีกด้วย

KDE
====
sudo apt-get -y install kde-service-menu-fuseiso kscreensaver kwrite

kim4: downlaod at http://kde-apps.org/content/show.php?content=11505
and read manual

Theme: http://opendesktop.org/content/show.php?content=76197

Sunday, October 4, 2009

Wired Network - device not managed

Once I manually made /etc/network/interfaces like this
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 172.20.24.222
netmask 255.255.255.0
network 172.20.24.0
broadcast 172.20.24.255
gateway 172.20.24.254

/etc/resolv.conf
nameserver 202.22.11.39

/etc/init.d/networking restart

to specific a static ip address.

When I wanted to configue it back to DHCP,
I could not use NetworkManager Applet to manage the eth0.
It showed "Wired Network -> device not managed".

Note:
For this, I learned that to configure,
just use the NetworkManager Applet GUI
( /usr/bin/nm-connection-editor ).


Again later I connected Ubuntu to a ADSL modem using pppoeconf
( https://help.ubuntu.com/community/ADSLPPPoE )
and later connected back to a dhcp hub,
the same error appeared.

The solution
========
that work perfectly on both is
changing the content of /etc/network/interfaces to be:

auto lo eth0
iface lo inet loopback

OS: Ubuntu 9.04

Monday, September 28, 2009

to use arrow key on vmware @ ubuntu

OS: Ubuntu 9.04
vmware server 2.0

ถ้าไม่สามารถใช้ arrow key บน vmware ได้
เพิ่มบรรทัดนี้
xkeymap.nokeycodeMap = true
ลงในไฟล์
/home/{username}/.vmware/config

Wednesday, September 23, 2009

Briefcase on Unix

โปรแกรม my briefcase บน M$ Window$
ทำ two-way synchronize Files หรือ Folder ได้
คือ ไม่ว่าจะมีการแก้ไขไฟล์ที่ฝั่งใด เมื่อให้มันทำการ check
มันก็จะแจ้ง และให้ผู้ใช้เลือกได้ว่าจะทำ action ใด
เช่น update ให้สองฝั่งเท่ากัน หรือ skip เป็นต้น

โปรแกรมบน unix ที่ทำงานเหมือนกัน
มีตัวนึงชื่อ Unison
แต่โดย Default จะ check content ภายในไฟล์ด้วย

จะให้มัน fast check คือ check แค่ size กับ modified date
ทำได้โดย

แก้ไข Profile (เช่น /home/{username}/.unison/default.prf)
เพิ่ม fastcheck = true

เช่น
root = /data/directory1
root = /mnt/directory1
perms = 0
fastcheck = true

perms = 0 เป็นการกำหนดให้ unison ไม่ต้อง sync Permission
แก้ error เวลา sync จาก ext3 กับ ntfs ได้ด้วย

เพิ่มเติม http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html

OS: ubuntu 9.04

สิริพงษ์ พงศ์ภิญโญภาพ

Tuesday, September 22, 2009

Mount Windows Shared Folders in Ubuntu

OS: Ubuntu 9.04

เปิด nautilus (= window explorer)
แล้วพิมพ์ที่ address bar ว่า smb://{host}/
แล้ว browse ไปยัง folder ที่ต้องการ
Ubuntu จะ auto mount + show ขึ้นมาบน Desktop ให้

แต่ถ้าเจอปัญหา แสดงชื่อไฟล์ภาษาไทยเป็น ???

ให้ manual mount โดยคำสั่ง
sudo mount -t cifs //netbiosname/sharename /mnt/sharename -o username=winusername,password=winpassword,
iocharset=utf8,
file_mode=0666,dir_mode=0666
แทน

ที่มา: http://ubuntuforums.org/showthread.php?t=288534