How to reset cinnamon?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
tuxor

How to reset cinnamon?

Post by tuxor »

Hi, I've been testing different themes to LM18.3 with cinnamon, but one of these (I don't know which one) broked the desktop. Now the buttons doesn't look like buttons, the backgrounds of the inputs doesn't shows, and another things like typography. I would like to reset the cinnamon and erase all the themes I've been installed (window borders, icons, controls, desktop) and just install the defaults.

If you can help me to do that please write the commands to do that.

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to reset cinnamon?

Post by catweazel »

tuxor wrote: Fri May 04, 2018 7:09 pm If you can help me to do that please write the commands to do that.
While you wait for a better answer, the quickest way to resolve the issue is to simply create a new user account. Another method would be to create the new account, then from the new account, delete the hidden directories in the old account. Then, copy the hidden directories of the new account to the old account. Lastly, log back in to the old account.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How to reset cinnamon?

Post by smurphos »

CLI commands for setting all themes to default values.....

Set Metacity theme to default

gsettings reset org.cinnamon.desktop.wm.preferences theme

Set GTK theme to default

gsettings reset org.cinnamon.desktop.interface gtk-theme

Set Cinnamon theme to default

gsettings reset org.cinnamon.theme name

Set Icon theme to default

gsettings reset org.cinnamon.desktop.interface icon-theme

Set Cursor theme to default

gsettings reset org.cinnamon.desktop.interface cursor-theme

I won't post a CLI command to delete all user added themes - it's too dangerous if mis-typed. But to get rid simply delete the contents of ~/.themes in the file manager having enabled display of hidden folders. If you've added themes via Software Manager / PPA /Synaptic remove using the same tool.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
noc
Level 1
Level 1
Posts: 19
Joined: Sat Jan 20, 2018 6:55 pm

Re: How to reset cinnamon?

Post by noc »

If possible, you can right-click on a panel > Troubleshoot > Restore all settings to default.
It will not delete your themes, but it will reset Cinnamon to its default settings.
Desktop: Intel Core i3 2120 | Nvidia GeForce 750Ti | 8GB | 500GB HDD
Notebook: Intel Core i3 4005U | Intel HD 4400 / Nvidia GeForce 920M | 4GB | 256GB SSD + 500GB HDD
tuxor

Re: How to reset cinnamon?

Post by tuxor »

thanks a lot for your help, but that doesn't work. Maybe I deleted a file.

Please check the pictures:

Default theme cinnamon:
Captura de pantalla de 2018-05-06 11-36-27.png
Adapta nokto theme
Captura de pantalla de 2018-05-06 11-38-39.png
If you can see, the buttons looks good,
tuxor

Re: How to reset cinnamon?

Post by tuxor »

I did everything you wrote, but nothing fix the problem
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How to reset cinnamon?

Post by smurphos »

It looks like in your experimenting you might have updated the GTK version. Mint 18.3 and the default themes use GTK 3.18 and won't work with a newer GTK version. Adapta (depending on how installed and where from) currently only supports GTK 3.20+.

Can you report back the output of these terminal commands?

apt list libgtk-3-0 -a

inxi -Fxzr
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
tuxor

Re: How to reset cinnamon?

Post by tuxor »

here are the results:

Code: Select all

apt list libgtk-3-0 -a
Listando... Hecho
libgtk-3-0/xenial,now 3.20.8-1ubuntu0~ppa1 amd64 [instalado]
libgtk-3-0/xenial-updates 3.18.9-1ubuntu3.3 amd64
libgtk-3-0/xenial 3.18.9-1ubuntu3 amd64


inxi -Fxzr
System:    Host: tuxor-B85M-D3V Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.20.8-1ubuntu0~ppa1)
           Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: Gigabyte model: B85M-D3V v: x.x
           Bios: American Megatrends v: FL date: 11/26/2014
CPU:       Quad core Intel Core i5-4570 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25539
           clock speeds: max: 3600 MHz 1: 3588 MHz 2: 3543 MHz 3: 3578 MHz
           4: 3487 MHz
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA Device 1c81 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia,intel (unloaded: fbdev,vesa,nouveau)
           Resolution: 1440x900@59.89hz, 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1050/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA Device 0fb9 driver: snd_hda_intel bus-ID: 01:00.1
           Card-3 C-Media CMI8738/CMI8768 PCI Audio
           driver: snd_cmipci port: c000 bus-ID: 05:00.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-39-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 3563.0GB (60.4% used)
           ID-1: /dev/sda model: ST500DM002 size: 500.1GB
           ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB
           ID-3: /dev/sdc model: SD/MMC size: 62.3GB
           ID-4: USB /dev/sdg model: Elements_25A2 size: 1000.2GB
Partition: ID-1: / size: 58G used: 8.0G (15%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 158G used: 65G (44%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 3.14GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: 27.8C gpu: 0.0:30C
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb http://liveusb.info/multisystem/depot all main
           Active apt sources in file: /etc/apt/sources.list.d/gerardpuig-ppa-xenial.list
           deb http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial main
           deb-src http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/gnome3-team-gnome3-staging-xenial.list
           deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial main
           deb-src http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/gnome3-team-gnome3-xenial.list
           deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main
           deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/lucioc-sayonara-xenial.list
           deb http://ppa.launchpad.net/lucioc/sayonara/ubuntu xenial main
           deb-src http://ppa.launchpad.net/lucioc/sayonara/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/megasync.list
           deb https://mega.nz/linux/MEGAsync/xUbuntu_16.04/ ./
           Active apt sources in file: /etc/apt/sources.list.d/nemh-systemback-xenial.list
           deb http://ppa.launchpad.net/nemh/systemback/ubuntu xenial main
           deb-src http://ppa.launchpad.net/nemh/systemback/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/noobslab-icons-xenial.list
           deb http://ppa.launchpad.net/noobslab/icons/ubuntu xenial main
           deb-src http://ppa.launchpad.net/noobslab/icons/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com sylvia main upstream import backport #id:linuxmint_main
           deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/peterlevi-ppa-xenial.list
           deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
           deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/teamviewer.list
           deb http://linux.teamviewer.com/deb stable main
           deb http://linux.teamviewer.com/deb preview main
           Active apt sources in file: /etc/apt/sources.list.d/tista-adapta-xenial.list
           deb http://ppa.launchpad.net/tista/adapta/ubuntu xenial main
           deb-src http://ppa.launchpad.net/tista/adapta/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/vscode.list
           deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Info:      Processes: 226 Uptime: 5:39 Memory: 3745.8/7874.9MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: How to reset cinnamon?

Post by smurphos »

tuxor wrote: Sun May 06, 2018 5:36 pm here are the results:

Code: Select all

libgtk-3-0/xenial,now 3.20.8-1ubuntu0~ppa1 amd64 [instalado]

deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial main
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main

deb http://ppa.launchpad.net/tista/adapta/ubuntu xenial main
Thanks,

Any particular reason you've got the Gnome3 PPA's active?
Your problem is that the PPA version of libgtk-3-0 is installed.
Themes aimed only at Mint 18.3 won't work with this version,

The easiest solution should be to remove the ppa and downgrade foreign packages.

Method 1 - will remove the PPA and downgrade all foreign packages updated from that PPA.

Code: Select all

apt install ppa-purge
ppa-purge gnome3-team/gnome3-staging
ppa-purge gnome3-team/gnome3
Method 2 - remove the PPA and manually select foreign packages to remove in the software sources GUI.

Code: Select all

sudo add-apt-repository --remove ppa:gnome3-team/gnome3-staging
sudo add-apt-repository --remove ppa:gnome3-team/gnome3
software-sources
in software sources GUI then select 'Maintenance' and 'Downgrade Foreign Packages' and pick packages to downgrade including libgtk-3-0

While you are at it you may as-well remove the Adapta PPA - the xenial PPA for Adapta was taken offline on the 26/4/18. You can leave Adapta installed (the version installed should still work with GTK 3.18) or remove it and download the version hosted on Cinnamon Spices via the Themes module which is also compatible with GTK 3.18.

sudo add-apt-repository --remove ppa:tista/adapta
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Locked

Return to “Cinnamon”