This problem has arisen on one of my computers that runs Linux Mint. My understanding is that Mint is mostly based on Ubuntu so I am hoping that an Ubuntu-based solution might be able to fix it.
The computer is a Sony Vaio laptop running desktop Cinnamon on Mint 19.1 Tessa.
I occasionally use multiple workspaces and just the other day noticed that the command I used to use to switch between them - Ctrl-Meta-Left/Right - no longer works. I tried using the mouse and that didn't work either. I then tried to enter Keyboard Settings to reassign keyboard shortcuts for that, and found I could not get into settings at all. When I type Menu > Preferences > Keyboard nothing happens.
I have been coding in python and have installed some IDEs and maybe (can't remember for sure) some python versions not through the distro's inbuilt software channel. I found an internet post with a similar problem arose beacsue python was installed in '/usr/local/bin/python' rather than '/usr/bin/python'. But my python is in the latter, so that doesn't seem to apply. Below are some responses to things I tried.
I hope somebody can help me get back my workspace switching capability and settings panels!
Thank you
Code:
andrew@andrew:~$ which python
/usr/bin/python
andrew@andrew:~$ python - version
Python 2.7.15+ (default, Nov 27 2018, 23:36:35)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> q
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'q' is not defined
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
andrew@andrew:~$ python --version
Python 2.7.15+
andrew@andrew:~$ ls /usr/local/bin/python*
ls: cannot access '/usr/local/bin/python*': No such file or directory
andrew@andrew:~$ cd /usr/local/bin/
andrew@andrew:/usr/local/bin$ sudo rm python python2
[sudo] password for andrew:
rm: cannot remove 'python': No such file or directory
rm: cannot remove 'python2': No such file or directory
andrew@andrew:/usr/local/bin$ cinnamon-settings python2
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 619, in <module>
window = MainWindow()
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 247, in __init__
for module in modules:
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py", line 5, in <module>
import imtools
File "/usr/share/cinnamon/cinnamon-settings/bin/imtools.py", line 623, in <module>
if Image.VERSION == '1.1.7':
AttributeError: module 'PIL.Image' has no attribute 'VERSION'
andrew@andrew:/usr/local/bin$ cat /etc/issue
Bookmarks