Linux Mint: System is very slow! edit

It's caused by drm_kms_helper and I don't know what it is.

First, upgrade your system(apt-get update && apt-get upgrade && apt-get dist-upgrade) including kernel.

To disable it:

# echo N > /sys/module/drm_kms_helper/parameters/poll
# echo "options drm_kms_helper poll=N">/etc/modprobe.d/local.conf

To disable at start up, add below script to /etc/init.d/ and add using update-rc.d.


echo N> /sys/module/drm_kms_helper/parameters/poll
# update-rc.d -f defaults

After awhile, somehow the lags are gone away.


Linux Mint: Things to customize after initial install edit

  • Edit /etc/apt/sources.list to your local mirror - Add your country code(e.g KR for South Korea) to URLs
  • Upgrade system using apt-get update && apt-get upgrade && apt-get dist-upgrade
  • Install language support from system menu 'lanauge support' and install ibus to toggle between languages. - ibus and ibus-korean for korean users
  • If system is very slow, disable drm_kms_helper - see this post


iptables: Set rules to make firewall acts like a home routers. edit

Home routers accept connections established from inside and deny incoming connections that isn't

Initialize iptables rules:

# iptables -F
# iptables -X
# iptables -Z

Set default chain policies:

# iptables -P INPUT DROP
# iptables -P FORWARD DROP
# iptables -P OUTPUT ACCEPT

Accept on localhost:

# iptables -A INPUT -i lo -j ACCEPT
# iptables -A OUTPUT -o lo -j ACCEPT

Allow established sessions to receive traffic:

# iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT

Save rules:

# iptables-save


Linux Mint: MATE vs Cinnamon edit

Re: MATE vs. Cinnamon, which is more likely to continue? by passerby on Tue Feb 26, 2013 5:57 pm From what I've seen/experienced, Cinnamon's development is more active than MATE's. MATE is faster, lighter, more stable, etc. for the time being, but appears to be a smaller project overall. Cinnamon has problems in virtualbox that don't exist on a normal machine. You might want to try a live boot; it'll be slower than an actual install, but it'll give you a better feel for the environmen

I'm currently using Linux Cinnamon 14. I had issues connect WiFi while using wired network and Cinnamon has better UI.

Linux Mint 13 "Maya" is LTS(Long term support release), supported until April 2017.

Power button to suspend a Ubuntu desktop edit

I want to suspend the machine when I press the power button. I'm using Linux Mint and it's based on Ubuntu so it's same.

Install dconf-tools: sudo apt-get install dconf-tools Press alt+f2 and open dconf-editor (or in a terminal type dconf-editor) Navigate to org.gnome.settings-daemon.plugins.power and set your default button-power action there:

Even though the option is already set for your desired option, click the option and mark as modified(blod).

This is the quick, simple answer I needed:
# gsettings set org.gnome.settings-daemon.plugins.power button-power 'hibernate'
If you want to see your settings first, try this:
# gsettings list-recursively org.gnome.settings-daemon.plugins.power

After edit dconf options, restart the machine.

How to mount linux ramdisk edit

You should use tmpfs for that instead.
mount -t tmpfs -o size=10g none /mnt/point

HDD S.M.A.R.T Value Test from Linux Console / Find out each HDD's serial number edit

The package name for smartctl is smartmontools

# apt-get install smartmontools

It's really simple

# smartctl -H /dev/sda

To find out each hdd's serial number, use hdparm

# hdparm -I /dev/sda

Steam.exe (mail exception): ERROR: copying steamNEW.exe to Steam.exe failed edit

When you got this error message when you're trying to run Steam.

Steam.exe (mail exception): ERROR: copying steamNEW.exe to Steam.exe failed, Win32 Error 32 "The process cannot access the file because it is being used by another process."

Try to run Steam.exe or SteamNew.exe as Administrator account. (right click it and click 'run as administrator'. It's in your steam directory)

Newer -> <- Older