Desktop settings

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
moheganer2
Level 1
Level 1
Posts: 18
Joined: Thu Jul 05, 2007 12:04 pm

Desktop settings

Post by moheganer2 »

I have recently installed mint 17 mate.For some reason the Desktop Settings in preferences will not open.Also it will not add apps to the desktop but it will to the panel.Anyone else have this problem or solved this issue?
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.
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: Desktop settings

Post by Kalyk »

I tried it right now in my VM with Mint 17-13 Mate english and adding Firefox to the desktop went smoothly.
Did you by any change change a theme or did you do some other tweaking?
The programs you add to your desktop you can also find in the directory Desktop in your Home-dir.
So try to add the link there and see what you get.
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Desktop settings

Post by Monsta »

moheganer2 wrote:For some reason the Desktop Settings in preferences will not open.
Try running it from the terminal:

Code: Select all

mintdesktop
User avatar
shawnhcorey
Level 4
Level 4
Posts: 217
Joined: Thu Jun 17, 2010 11:23 am
Location: The Great White North
Contact:

Re: Desktop settings

Post by shawnhcorey »

`mintdesktop` runs the Python file `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` This is written for Python version 2.x. If you are running version 3.x, it will fail.
Don't stop where the ink does.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Desktop settings

Post by catweazel »

shawnhcorey wrote:`mintdesktop` runs the Python file `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` This is written for Python version 2.x. If you are running version 3.x, it will fail.
Both python 2 and 3 are installed in Mint by default.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
shawnhcorey
Level 4
Level 4
Posts: 217
Joined: Thu Jun 17, 2010 11:23 am
Location: The Great White North
Contact:

Re: Desktop settings

Post by shawnhcorey »

catweazel wrote:
shawnhcorey wrote:`mintdesktop` runs the Python file `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` This is written for Python version 2.x. If you are running version 3.x, it will fail.
Both python 2 and 3 are installed in Mint by default.
But only one is `python`

Code: Select all

$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Feb 21  2016 /usr/bin/python -> python2.7
Don't stop where the ink does.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Desktop settings

Post by catweazel »

shawnhcorey wrote:
catweazel wrote:
shawnhcorey wrote:`mintdesktop` runs the Python file `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` This is written for Python version 2.x. If you are running version 3.x, it will fail.
Both python 2 and 3 are installed in Mint by default.
But only one is `python`
*sigh*

Code: Select all

#!/usr/bin/python3

Code: Select all

#!/usr/bin/python2
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
revian

Re: Desktop settings

Post by revian »

shawnhcorey wrote:
catweazel wrote:
shawnhcorey wrote:`mintdesktop` runs the Python file `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` This is written for Python version 2.x. If you are running version 3.x, it will fail.
Both python 2 and 3 are installed in Mint by default.
But only one is `python`

Code: Select all

$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Feb 21  2016 /usr/bin/python -> python2.7
catweazel is trying to tell you that both python2 and python3 on the same machine will work - and have worked alongside each other on various Linux distros for the years.

Open a terminal and type this command to get the python 2 shell:

Code: Select all

python
Now, try this command to get the python 3 shell:

Code: Select all

python3
I'm studying python so I can help with development and I write my apps in python 2 or python 3 depending on what the project is.
Both are installed and both work fine.
User avatar
shawnhcorey
Level 4
Level 4
Posts: 217
Joined: Thu Jun 17, 2010 11:23 am
Location: The Great White North
Contact:

Re: Desktop settings

Post by shawnhcorey »

revian wrote:catweazel is trying to tell you that both python2 and python3 on the same machine will work - and have worked alongside each other on various Linux distros for the years.
And what I'm trying to say is that `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` uses `python`.

Code: Select all

$ head -1 /usr/lib/linuxmint/mintDesktop/mintDesktop.py
#!/usr/bin/env python
$ which python
/usr/bin/python
$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Feb 21  2016 /usr/bin/python -> python2.7
But if you change `python`, it will fail.

Code: Select all

$ ln -s /usr/bin/python3 ~/bin/python
$ python --version
Python 3.4.3
$ mintdesktop
  File "/usr/lib/linuxmint/mintDesktop/mintDesktop.py", line 14
    except Exception, detail:
                    ^
SyntaxError: invalid syntax
$ rm ~/bin/python
$ mintdesktop # works
Don't stop where the ink does.
revian

Re: Desktop settings

Post by revian »

shawnhcorey wrote:
revian wrote:catweazel is trying to tell you that both python2 and python3 on the same machine will work - and have worked alongside each other on various Linux distros for the years.
And what I'm trying to say is that `/usr/lib/linuxmint/mintDesktop/mintDesktop.py` uses `python`.

Code: Select all

$ head -1 /usr/lib/linuxmint/mintDesktop/mintDesktop.py
#!/usr/bin/env python
$ which python
/usr/bin/python
$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Feb 21  2016 /usr/bin/python -> python2.7
But if you change `python`, it will fail.

Code: Select all

$ ln -s /usr/bin/python3 ~/bin/python
$ python --version
Python 3.4.3
$ mintdesktop
  File "/usr/lib/linuxmint/mintDesktop/mintDesktop.py", line 14
    except Exception, detail:
                    ^
SyntaxError: invalid syntax
$ rm ~/bin/python
$ mintdesktop # works
Yes, that is due to the differences in syntax between python 2 and python 3. I am unable to check those differences as that file is not present on my Mint 18.2 machine. At any rate, it would be easily converted to python 3.
Locked

Return to “Beginner Questions”