Deleted default panel

7 replies [Last post]
NinjaFish5_1
Offline
Joined: 10/12/2015

Ok, I accidentally deleted my default panel that comes with trisquel. Is there a way to reload the factory settings?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You can (re)move some hidden file (i.e., whose name starts with dot) inside your home directory. More precisely, I believe the configuration for the GNOME panel is in a subdirectory of ~/.config (if you remove the whole ~/.config directory, many application will come back to their default settings).

NinjaFish5_1
Offline
Joined: 10/12/2015

What happens if it doesn't? What would I lose?

NinjaFish5_1
Offline
Joined: 10/12/2015

I went ahead and did the delete of .config and after reboot everything was back. Thanks!!

amenex
Offline
Joined: 01/03/2015

I just went through the same sort of crisis: I inadvisedly removed gvfs, which caused this error on the next restart: "can't find trisquel-session." You don't want to see _that_ all of a sudden.

Fortunately, I had saved the terminal output during my removal of gvfs, and so I rebooted into the console by hitting Contr+Alt+F1 at the Plymouth screen instead of typing my password, called up the save file, and used sudo apt-get install on all the previously removed packages.

Now things are back to normal and I have my GUI again. Whew.

moxalt
Offline
Joined: 06/19/2015

This shouldn't even be possible- the GUI shouldn't allow you delete the last
remaining panel, only create new ones from it. How did you achieve this,
exactly?

amenex
Offline
Joined: 01/03/2015

Response to moxalt:

Don't try this at home without saving a copy of the Terminal output: "sudo apt-get remove gvfs" in Terminal.

That innocuous command does a lot more than you might think:

sudo apt-get remove gvfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bluefish-data bluefish-plugins
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bluefish brasero gnome-applets gvfs gvfs-backends gvfs-fuse nautilus
nautilus-sendto nautilus-share trisquel-session
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 7,381 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 578520 files and directories currently installed.)
Removing bluefish (2.2.5-1) ...
Removing brasero (3.10.0-0ubuntu1) ...
Removing gnome-applets (3.5.92-0ubuntu3) ...
Removing trisquel-session (1:3.8.0-1ubuntu12.2+7.0trisquel11) ...
Removing nautilus-share (0.7.3-1ubuntu5) ...
Removing gvfs-fuse (1.20.3-0ubuntu1.2) ...
Removing gvfs-backends (1.20.3-0ubuntu1.2) ...
Removing nautilus-sendto (3.6.1-2ubuntu1) ...
Removing nautilus (1:3.10.1-0ubuntu9.9+7.0trisquel13) ...
Removing gvfs:amd64 (1.20.3-0ubuntu1.2) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1+7.0trisquel1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2+7.0trisquel8) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for libglib2.0-0:i386 (2.40.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.40.2-0ubuntu1) ...

Afterwards, upon rebooting, the Plymouth screen reappears with its choice of User vs. Guest and a box for [password] After that, it simply replies "session not found."