Tweaking

From openSUSE

This article describes how to improve the performance of your openSUSE system or change its behaviour. You can test the published articles, report your satisfaction and/or disappointment, and also feel free to share with the community your tuning tips.

Use this template for adding new hints:

=== template ===
'''Problem:'''

'''Solution:'''


Contents

Packages

command-not-found

Problem: I really hate the lag in the shell when I mistype a command.

Solution:This is caused by command-not-found package, which tries to find the right package with the mentioned binary. The solution is to remove the package using yast or in shell:

zypper rm command-not-found

Or you can suppress the handler by

unset command_not_found_handle

in your profile (e.g. ~/.bashrc).

(If some shells are running during removal of the package, you'll have to suppress the handler with unset (see above) in each of these shells or close them. Newly created shells will not try to use the handler.)

Note that you can still search for binaries in packages manually using the scout program directly:

scout bin <program>

Performance tips

Regular daily system load (cron)

Problem: How to avoid annoying system load caused by cron daily, weekly and monthly jobs.

Solution: Edit values in YaST -> Sysconfig editor -> System -> Cron or in /etc/sysconfig/cron. Inspect your /etc/cron.*ly directories.

Media

Auto mounting in console

Problem: I like media auto mounting on the desktop. How to do the same in the console.

Solution: Install ivman package and configure it as you need.

GNOME: Auto-start after medium insert

Problem: How to change or avoid applications auto-start after medium insert

Solution: In any Nautilus window: Edit -> Preferences -> Media (in older openSUSE versions in GNOME Control Center -> Media handling).