Re: [Tails-dev] Lock the location services switch

2023-12-04 Thread intrigeri
Hi,

Thanks a lot!

I've recorded this in a new issue:
https://gitlab.tails.boum.org/tails/tails/-/issues/20071

I would happily review a tested MR that implemented these changes:
https://tails.net/contribute/how/code/

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://www.autistici.org/mailman/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] Lock the location services switch

2023-12-02 Thread David A. Wheeler


> On Dec 1, 2023, at 5:39 PM, Astral Projection 
>  wrote:
> 
> So a friend of mine was confused about a setting in tails. They were trying 
> tails for the first time and were going through the settings and saw location 
> services can be turned on and got worried.
> 
> I assured them that it doesn’t matter because that feature requires geoclue 
> to work which is not included in tails.
> 
> Locking the switch to prevent this setting from being able to be turned on 
> (even though it requires geoclue to work) would be a good idea to implement 
> and easy to implement.

I like this idea, it adds clarity. It shouldn't be possible to turn "on" a 
capability if it doesn't turn on anything.

It might be wise to clearly document in the *user* documentation that geoclue 
isn't installed, and thus location services don't work.

I'd give bonus points if there was a documented way to *enable* geoclue & more 
generally location services, as long as it's off by default. However, it seems 
to me that anonymity and providing location services are not exactly 
compatible. So if it just doesn't work, so be it.

--- David A. Wheeler
___
Tails-dev mailing list
Tails-dev@boum.org
https://www.autistici.org/mailman/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


[Tails-dev] Lock the location services switch

2023-12-01 Thread Astral Projection
So a friend of mine was confused about a setting in tails. They were 
trying tails for the first time and were going through the settings and 
saw location services can be turned on and got worried.


I assured them that it doesn’t matter because that feature requires 
geoclue to work which is not included in tails.


Locking the switch to prevent this setting from being able to be turned 
on (even though it requires geoclue to work) would be a good idea to 
implement and easy to implement.


I tested this and it did work in both tails and on normal Gnome desktop.

Source:
https://help.gnome.org/admin/system-admin-guide/stable/dconf-lockdown.html.en
https://help.gnome.org/admin/system-admin-guide/stable/desktop-background.html.en

Requires setting value in local.d file to correspond to locks keyfile


Add this line to:

/etc/dconf/db/local.d/00_Tails_defaults

[org/gnome/system/location]
enabled = false

Then create this directory

/etc/dconf/db/local.d/locks

Create file named something like 00_location-services-disable-switch in 
that directory


add this line to that file:

/org/gnome/system/location/enabled

Now go to Settings -> Privacy -> Location Services and you can see that 
switch is locked and setting can't be turned on in the slider

___
Tails-dev mailing list
Tails-dev@boum.org
https://www.autistici.org/mailman/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.