! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Global control of backdrop and menus in kiosk mode
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfdesktop
Component:
General

Comments

Description Lindsay Holmwood 2005-08-12 01:39:45 CEST
Currently it is possible to restrict whether a user is allowed to change their
backdrop or desktop menus through $sysconfdir/xdg/xfce4/kiosk/kioskrc.

When the user menu is restricted it defaults to
$sysconfdir/xdg/xfce/desktop/menu.xml. However, it is not possible to globally
set whether the user sees the menus at all, as set in
~/.config/xfce/mcs_settings/desktop.xml.

The shortcoming of this current approach is that when the user is allowed to
modify desktop settings (in kioskrc) you can disable the desktop menus, but as
soon as you apply restrictions to them in kioskrc the desktop menus are
activated again.

It would also be nice to be able to specify what backdrop is used, rather than
defaulting to ~/.config/xfce/mcs_settings/desktop.xml. 

As for implementing it, you could create a variable in the kioskrc that when set
would enable a global configuration to be read from
$sysconfdir/xdg/xfce4/mcs_settings/desktop.xml.

This feature request slightly overlaps with bug 1067

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Lindsay Holmwood 2005-08-12 02:13:12 CEST
Just realised I was talking out of my arse in the third paragraph. 

What I was trying to say was that although you're able to lock whether a user is
able to modify their desktop menus and backdrops, you're not able to globally
specify the values found in ~/.config/xfce/mcs_settings/desktop.xml.

Basically it comes down to this: if you want to globally set a desktop
background or disable the menus for all your users, you're currently not able to
do that. 

Having a global configuration somewhere under $sysconfdir/xdg/xfce/ and a
variable in kioskrc would facilitate this. 

Cheers!
Comment 2 Brian J. Tarricone (not reading bugmail) 2005-08-12 05:01:10 CEST
(In reply to comment #1)
> What I was trying to say was that although you're able to lock whether a user is
> able to modify their desktop menus and backdrops, you're not able to globally
> specify the values found in ~/.config/xfce/mcs_settings/desktop.xml.

Sure you can.  Just create $sysconfdir/xdg/xfce4/mcs_settings/desktop.xml and
disable the user settings via kioskrc.

(In reply to comment #0)

> When the user menu is restricted it defaults to
> $sysconfdir/xdg/xfce/desktop/menu.xml. However, it is not possible to globally
> set whether the user sees the menus at all, as set in
> ~/.config/xfce/mcs_settings/desktop.xml.

You can do the same trick as above.

> As for implementing it, you could create a variable in the kioskrc that when set
> would enable a global configuration to be read from
> $sysconfdir/xdg/xfce4/mcs_settings/desktop.xml.

I'm not sure what the problem is here: it should work exactly like that.  Though
I admit I've never tried it.
Comment 3 Lindsay Holmwood 2005-08-12 05:51:29 CEST
(In reply to comment #2)

> Sure you can.  Just create $sysconfdir/xdg/xfce4/mcs_settings/desktop.xml and
> disable the user settings via kioskrc.

<snip>

> > As for implementing it, you could create a variable in the kioskrc that when set
> > would enable a global configuration to be read from
> > $sysconfdir/xdg/xfce4/mcs_settings/desktop.xml.
> 
> I'm not sure what the problem is here: it should work exactly like that.  Though
> I admit I've never tried it.
> 

Cool! Well, i'm currently trying it, and it's not working. :-)

I've tested it on Xfce 4.2.1 on Ubuntu, and Xfce 4.2.2 on Fedora. 

Should I file this as a bug?

Cheers!
Comment 4 Brian J. Tarricone (not reading bugmail) 2005-08-12 06:16:14 CEST
Fix summary.  That was weird.
Comment 5 Brian J. Tarricone (not reading bugmail) 2005-10-15 11:05:26 CEST
Sorry for the delay on this; should be fixed in SVN trunk and 4.2 branch, and
should make it into 4.2.3.  Make sure that
~/.config/xfce4/mcs_plugins/desktop.xml doesn't exist, otherwise it'll be preferred.

Bug #1108

Reported by:
Lindsay Holmwood
Reported on: 2005-08-12
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information