Initial Setup Guide for Optimizing GNOME Performance
This article is a translation of the following my article:
Original: Gnomeを軽くする初期設定ガイド
* Translated automatically by Google.
* Please note that some links or referenced content in this article may be in Japanese.
* Comments in the code are basically in Japanese.
by bokumin
Initial Setup Guide for Optimizing GNOME Performance
Introduction
Everyone who uses Linux knows the desktop environment Gnome, but if your PC is old or has low performance, it can often become quite slow. This time, when I changed my Chromebook to Linux (debian12), I chose Gnome (because touch operations did not work well with xfce and KDE Plasma), and I would like to introduce the initial settings I made at that time to make it lighter.
Input method settings
*This is not directly related to weight reduction, but please refer to it if you want to input Japanese.
I set up ibus and Mozc for Japanese input.
sudo apt install ibus-mozc
sudo apt install ibus ibus-gtk ibus-gtk3
Next, select the locale. Please select Japanese input in the space.
sudo dpkg-reconfigure locales
Use ibus as the default input method. Please restart after setting.
im-config -n ibus
Time zone settings
*This is also not directly related to weight reduction
sudo timedatectl set-timezone Asia/Tokyo
#設定が変更されたか確認
timedatectl
Disabling unnecessary services
I think the purpose of using a PC differs depending on the person. You can reduce the consumption of system resources by disabling things that you think are unnecessary depending on your usage.
# Evolutionメールクライアント(Evolutionのメールクライアントを使用しない場合)
sudo systemctl disable evolution-data-server.service
# GNOMEソフトウェアの自動更新チェック(Gnomeのソフトウェアを開くと更新チェックを行うことができます。)
sudo systemctl disable gnome-software
# プリンターサービス(プリンターを使用しない場合)
sudo systemctl disable gsd-printer
Managing autostart applications
By disabling unnecessary autostart applications, you can shorten startup time and reduce resource usage. Manage autostart by editing the following files:
sudo nano /etc/xdg/autostart/アプリケーション名.desktop
#ファイル内の以下の行をFalseにすることでGnome立ち上げ時に起動するのを無効化
X-GNOME-Autostart-enabled=false
#アプリケーションとして表示させたくない場合
Hidden=true
Here are some applications that can be safely disabled. Please refer to it.
- org.gnome.Evolution-alarm-notify.desktop (Evolution email app notification)
- tracker-miner-fs-3.desktop orca-autostart.desktop (to speed up file search)
- onboard-autostart.desktop blueman.desktop(Bluetooth)
- geoclue-demo-agent.desktop (location service)
- print-applet.desktop (printer related)
- pulseaudio.desktop (audio server)
- org.gnome.Software.desktop (Software Management)
PS: For those who seem to get angry when the screen rotates on its own in Gnome
*This article has nothing to do with lightweighting
*This is for people like me who installed Linux on their Chromebooks
#画面回転を無効化
sudo systemctl stop iio-sensor-proxy.service
sudo systemctl disable iio-sensor-proxy.service
sudo systemctl mask iio-sensor-proxy.service
If your specs are that low, you might be told to use another desktop instead of Gnome, but I still use the chromebook ideapad because its touch controls were the best.
End