Monday, September 7, 2020

File Manager Crash in Raspberry Pi3

Working on Raspberry Pi project, I updated the OS using normal apt-get update command. After update I suddenly found the File manager is crashing. On clicking the file manager, Raspberry Pi opens the file manager window and closes immediately after that. Searched a lot on google for the reason for the same. Came to know that the file manager application “pcmanfm” had been corrupted.  Developers in the Raspberry PI forum mainly suggest to update and upgrade Raspberry Pi to get it corrected. In most of the cases if you try a normal update you may not able to resolve the issue.

I tried the following commands for fixing the issue.

sudo apt-get update

sudo apt-get full-upgrade -y

sudo autoremove -y

sudo apt-get reboot                                                           

In most of the cases the above steps will solve the file manager crash issue. Now the file manager can behave properly. But to my bad luck even trying the above four commands I could not recover the file manager, it crashed every time I tried to open file manager. To get the actual reason of crashing of the file manager try to run file manager from terminal using the following command.

sudo pcmanfm

You will get a message like the one shown below.

“** Message: 09:18:54.081: x-terminal-emulator has very limited support, consider choose another terminal

Segmentation fault

Since the above options not worked, it is better to try and reinstall “pcmanfm” again. Use the following command to reinstall “pcmanfm” on Raspberry Pi.

sudo apt-get install –reinstall pcmanfm

After successful reinstall try to run pcmanfm from the terminal. Now the file manager should open file manager and you can do what all your file operation using GUI.

 

 

No comments:

Post a Comment