ubuntu-mate-settings package needs updating
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubuntu-mate |
Critical
|
Unassigned | ||
| | ubuntu-mate-settings (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
The ubuntu-
Related branches
| Changed in ubuntu-mate: | |
| importance: | Undecided → Critical |
| Iain Lane (laney) wrote : | #2 |
Please change from incomplete to new once someone should review again
| Iain Lane (laney) wrote : | #3 |
Also I think it would be better if the folder-color change could instead (or as well) be controlled by gsettings, for the same reasons of /etc/skel avoidance
| Martin Wimpress (flexiondotorg) wrote : | #4 |
The TrollTech.conf was in the package before, this is not an addition. There is no other facility to change the default Qt4 settings, which is why Ubuntu MATE and Xubuntu drop Trolltech.conf in /etc/skel/. I have agreed with the Xubuntu team that we will mutually conflict our default settings packages and review what we can do in 15.10.
The only facility that currently exists in folder-color to diable the donation menu entry is via ~/.config, hence the inclusion of folder-color in /etc/skel. The Folder Color author actually requested we add this setting. I'll ask the Folder Color developer to make this a system setting but until that is an option can this change be permitted?
I'll revise the a11y settings for QT and also do the same for GTK since it has never been session restricted either. I'll also make use of dpkg-mainscript
| Martin Wimpress (flexiondotorg) wrote : | #5 |
I've pushed the changes.
* I've consolidated exports of environment variables to /etc/X11/
* debian/
* etc/profile.
| Changed in ubuntu-mate-settings (Ubuntu): | |
| status: | Incomplete → New |
Despite changing etc/X11/
I personally think accessibility support should always be enabled if it's a switch that doesn't change behavior for all users and just makes the use of accessibility features easier (orca, etc.), but is this on purpose?
What change in behavior do you need QT_ACCESSIBILITY to be set for?
| Iain Lane (laney) wrote : | #7 |
I'm aware that the conf file was there before, but now you're discovering that you want to add Conflicts because of it. And also it only works for new users, so I made a suggestion that you might want to look into changing Qt itself to be able to load this file from a system location which uses XDG_CURRENT_DESKTOP or similar.
| Martin Wimpress (flexiondotorg) wrote : | #8 |
I'll remove etc/profile.
The "export QT_ACCESSIBILITY=1" will load all installed accessibility-
I've thought of a way to provide the user settings Ubuntu MATE requires without putting stuff in `/etc/skel`. I'll update the repo later.
| Dmitry Shachnev (mitya57) wrote : | #9 |
Iain Lane wrote:
> This seems quite bad. Is it for Qt settings? Could we instead change Qt
> to look for a Trolltech-
> in a system location instead of in the skel directory, which only works
> for new users.
I agree that it is very bad, Conflicts should not be used such way.
@Martin: can you just let Qt 4 use its default settings? After all, there are not so many Qt 4 apps left.
> I think that would probably even be acceptable for Qt upstream.
Qt 5 no longer uses Trolltech.conf at all (and Qt 4 receives only critical bug fixes), so this is not acceptable for upstream :-)
| Martin Wimpress (flexiondotorg) wrote : | #10 |
I have removed all files from /etc/skel and re-factored how user level settings are applied when no system wide capability exists. Therefore, ubuntu-
The package is ready for review again.
| Didier Roche (didrocks) wrote : | #11 |
usr/lib/
* Not a very big fan of this script, especially as you are using a fixed filename. Please rather user mktemp to randomize the name and use a pattern.
* chown -R ${USER}: "${USER_DIR}" -> why do you need to chown as the user, I hope this script isn't used at root? (when is it executed exactly?)
Just a note (not a blocker), we tend to use with rm_conffiles and such <new_version_
| Changed in ubuntu-mate-settings (Ubuntu): | |
| status: | New → Incomplete |
| Martin Wimpress (flexiondotorg) wrote : | #12 |
I pushed a revision to update usr/lib/
| Didier Roche (didrocks) wrote : | #13 |
I fixed the version to be a native package without the ubuntu string as it's a native package.
Otherwise, every sounds good, sponsored, thanks!
| Changed in ubuntu-mate-settings (Ubuntu): | |
| status: | Incomplete → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* Qt accessibility modules enabled.
* Qt theme is overridden with GTK+ when MATE session is detected.
* Enabled Ambiant-MATE theme in the live session.
* Relocated autostart files to /usr/share/
so they do not conflict with other desktop environments.
* Removed all configuration from /etc/skel. (LP: #1426862)
* Closes (LP: #1427182)
-- Martin Wimpress <email address hidden> Thu, 26 Feb 2015 11:42:10 +0000
| Changed in ubuntu-mate-settings (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in ubuntu-mate: | |
| status: | New → Fix Released |


I have comments
diff -Nru ubuntu- mate-settings- 0.4.2ubuntu1/ debian/ control ubuntu- mate-settings- 0.4.3ubuntu1/ debian/ control mate-settings- 0.4.2ubuntu1/ debian/ control 2015-02-13 16:38:54.000000000 +0000 mate-settings- 0.4.3ubuntu1/ debian/ control 2015-03-02 16:17:39.000000000 +0000 font-family desktop- privileges- ubuntu- mate environment- core (>= 1.8.0) default- settings
--- ubuntu-
+++ ubuntu-
@@ -13,6 +13,7 @@
Depends: ${misc:Depends}, libglib2.0-bin, mate-panel, ttf-ubuntu-
Replaces: policykit-
Suggests: mate-desktop-
+Conflicts: xubuntu-
Description: Default settings for Ubuntu MATE
Various system settings tailored for Ubuntu MATE.
This seems quite bad. Is it for Qt settings? Could we instead change Qt to look for a Trolltech- $session. conf file? As a bonus it could then be in a system location instead of in the skel directory, which only works for new users.
I think that would probably even be acceptable for Qt upstream.
diff -Nru ubuntu- mate-settings- 0.4.2ubuntu1/ debian/ ubuntu- mate-default- settings. postinst ubuntu- mate-settings- 0.4.3ubuntu1/ debian/ ubuntu- mate-default- settings. postinst mate-settings- 0.4.2ubuntu1/ debian/ ubuntu- mate-default- settings. postinst 1970-01-01 01:00:00.000000000 +0100 mate-settings- 0.4.3ubuntu1/ debian/ ubuntu- mate-default- settings. postinst 2015-03-02 16:17:39.000000000 +0000 autostart/ nm-applet- mate.desktop ]; then autostart/ nm-applet- mate.desktop autostart/ tilda.desktop ]; then autostart/ tilda.desktop
--- ubuntu-
+++ ubuntu-
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+if [ -f /etc/xdg/
+ rm -f /etc/xdg/
+fi
+
+if [ -f /etc/xdg/
+ rm -f /etc/xdg/
+fi
+
+#DEBHELPER#
You should use dpkg-maintscrip t-helper, so that user changes are preserved.
diff -Nru ubuntu- mate-settings- 0.4.2ubuntu1/ etc/profile. d/qt-accessibil ity.sh ubuntu- mate-settings- 0.4.3ubuntu1/ etc/profile. d/qt-accessibil ity.sh mate-settings- 0.4.2ubuntu1/ etc/profile. d/qt-accessibil ity.sh 1970-01-01 01:00:00.000000000 +0100 mate-settings- 0.4.3ubuntu1/ etc/profile. d/qt-accessibil ity.sh 2015-03-02 16:17:39.000000000 +0000
--- ubuntu-
+++ ubuntu-
@@ -0,0 +1 @@
+export QT_ACCESSIBILITY=1
Can you please restrict this to your session too?