Score:0

GNOME Performance Boost Script

co flag

I started writing a script to toggle some options to boost performance in Gnome 3 or 4 for gaming and more. The first option that came into my mind was to toggle the animations. But I couldn't find any more options to play with.

TOGGLE=$HOME/.toggle #You can change the location of this variable

if [ ! -e $TOGGLE ]; then
    touch $TOGGLE
    #Activate Boost
    gsettings set org.gnome.desktop.interface enable-animations false
else
    rm $TOGGLE
    #Deactivate Boost
    gsettings set org.gnome.desktop.interface enable-animations true
fi

I came here to ask if you have any suggestions for commands to include in the script. I have some more ideas that could be added, but I didn't include them because they're so specific for my computer like extensions, for instance:

gnome-extensions enable [email protected] 
gnome-extensions disable [email protected]

Edit 1: I forgot to mention that the purpose of the boost is to save as much RAM and CPU as possible to perform high resource consuming tasks. Thus, closing background processes like GNOME Software help a lot.

pkill gnome-software

Edit 2: If you're interested in including the toggle extensions commands in the script I recommend you How to activate/deactivate a gnome-shell extension from command line

vanadium avatar
cn flag
The big question is to what extent a change in setting makes any real difference in performance. Once your game is running, Gnome Shell gets out of the way, and eventually parts of the memory not needed while running the game will be swapped to disk. Alternatively, run a light DE or even a window manager only (openbox) if you want minimal cpu and ram consumption from the start.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.