Linux - Getting rid of the Software Rendering Mode message

From The TinkerNet Wiki
Jump to navigation Jump to search

New Answer (Thanks Kevin)

(Found on StackExchange)

Set the CINNAMON_2D environment variable in your profile. This will let Cinnamon know 2D is intended.

Here's a one liner to add it:

echo "export CINNAMON_2D=true" >> ~/.profile

Or...  Add this to .profile using your favourite editor:

# Kill off the "Running in software rendering mode" warning
export CINNAMON_2D=true

Old Answer... (Thanks Matt)

/usr/share/cinnamon/js/ui/main.js
Search notifyCinnamon2d
It appears twice in the js
Once is to trigger the message. Other time is to trigger the notification

Theres a function call for notifyWarning (it's criticalNotify) or something to the effect the second time notifyCinnamon2d appears, and where the actual message contents are. Find the part of the file where the function actually is and you will see the various notification types, also as functions.


The caution one has the message pop up, then be hidden in the messages item of the taskbar.


The one that?s just plain notify has the message disappear after a few seconds on its own.

Just change what function is called in the area where the text for the pop up is that you found earlier to cautionNotify

So... Basically...

edit /usr/share/cinnamon/js/ui/main.js as root

Search notifyCinnamon2d

It appears twice in the js

(Once is to trigger the message. Other time is to trigger the notification)

In the second location:

change the call to "criticalNotify" into a call to "notify"