Don't support with MATE 1.6

Bug #1166201 reported by Pavel
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Variety
Fix Released
Medium
Peter Levi

Bug Description

1. variety 0.4.13
2. MATE Desktop 1.6
3. Linux Mint 13 Maya (LTS)

Since 1.6 MATE stored settings via gsettings, therefore Variety don't change wallpaper via mateconftool

Revision history for this message
StratosJL (stratosjl) wrote :

Same goes for MATE 14

Revision history for this message
Krash (krash1220) wrote :

Same here.

MATE Desktop 1.6
Variety 0.4.13
Ubuntu Server 12.10

I even tried changing the script files to gsettings get org.mate.background picture-filename and it still doesn't work.

Revision history for this message
Peter Levi (peterlevi) wrote :

Please find the commands that work on your machines for setting/getting the wallpaper from the command line. After you have them and have confirmed that they work, please try putting them inside the set/get_wallpaper scripts in ~/.config/variety/scripts and see if Variety works. Also please write them here so I can update the scripts. Thanks.

Revision history for this message
Krash (krash1220) wrote :

Mine is now fixed. I was putting gsettings GET org.mate.background picture-filename in both script files.

gsettings get org.mate.background picture-filename and gsettings set org.mate.background picture-filename is now working just fine.

Peter Levi (peterlevi)
Changed in variety:
status: New → Fix Committed
assignee: nobody → Peter Levi (peterlevi)
importance: Undecided → Medium
Revision history for this message
Peter Levi (peterlevi) wrote :

Here's a fixed version. If it still does not work for you, please delete the folder ~/.config/variety/scripts and run again.

Revision history for this message
Ofer Chen (oferchen) wrote :

Linux Mint 15 made it work using the following entries

get_wallpaper:
# MATE
elif [ `env | grep MATE_DESKTOP_SESSION_ID | wc -l` -gt 0 ]; then
gsettings get org.mate.background picture-filename

set_wallpaper:
# Mate
gsettings set org.mate.background picture-filename "$1" 2> /dev/null

Peter Levi (peterlevi)
Changed in variety:
status: Fix Committed → Fix Released
milestone: none → 0.4.15
Revision history for this message
Jacob Fulton Buckle (jacobafb) wrote :

Hello, I am still effected by this bug where my wallpaper wont change. However when I log into a session of Unity it works fine. I am runing the MATE Desktop Environment 1.6.0 ontop of Ubuntu 12.04.3 and my version of Variety is 0.4.13-0extras12.04.1.

Revision history for this message
Peter Levi (peterlevi) wrote :

You use an old version. Please update from PPA to the latest version. This was fixed in 0.4.15.

Revision history for this message
Jacob Fulton Buckle (jacobafb) wrote :

Thanks, I updated and it works now - so cool! Sorry for not realizing that I had an old version in the first place.

Revision history for this message
Rich Monk (richardmonk) wrote :

I have an issue with MATE 1.12 and getting/setting wallpapers. I noticed that the syntax in the get/set scripts didn't work right, so I rewrote it to handle anything "greater or equal" to 1.6:

get_wallpaper:
# MATE
elif [ `env | grep MATE_DESKTOP_SESSION_ID | wc -l` -gt 0 ]; then
        version=`mate-about -v | sed s/MATE\ Desktop\ Environment\ //`
        version_re='([0-9]*)\.([0-9]*)\.([0-9]*)'
        [[ "$version" =~ $version_re ]]
        if [[ "${BASH_REMATCH[1]}" -ge 1 && "${BASH_REMATCH[2]}" -ge 6 ]]; then
            gsettings get org.mate.background picture-filename
        else
            mateconftool-2 --get /desktop/mate/background/picture_filename
        fi

In the set_wallpaper it just runs gsettings without checking, so it actually works, but it throws errors about mateconftool. I'd recommend a similar config as above so that it checks to see the version of mate before blindly running commands

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.