Feature #5979

Persistence preset: mouse and touchpad settings

Added by Tails 2013-07-18 07:48:56 . Updated 2019-11-16 09:57:51 .

Status:
Confirmed
Priority:
Low
Assignee:
Category:
Persistence
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Everytime booting Tail, I have to set up the Mouse Settings to allow Mouseclicks on the Touchpad.

Would be nice if it would be possible to make System Settings like this persistent. thanks


Subtasks


Related issues

Related to Tails - Feature #7779: Revisit default touchpad settings Resolved 2014-08-13
Related to Tails - Feature #17239: Persistence preset: 'Night Light' settings New
Related to Tails - Feature #7074: Persistence preset: keyboard shortcuts Confirmed 2014-04-12
Related to Tails - Bug #7148: Persistence preset: Theme and Desktop Wallpaper Confirmed 2014-05-01
Related to Tails - Feature #17367: Persistence preset: GNOME Config In Progress
Has duplicate Tails - Feature #5989: Persistence preset - mouse settings Duplicate

History

#1 Updated by intrigeri 2013-07-19 01:43:08

  • Type of work set to Code

Type of work: Code

#2 Updated by intrigeri 2013-10-04 02:25:28

  • Subject changed from Persistence: Allow the option to make "Touchpad Settings" persistent to persistence preset: touchpad settings
  • Category set to Persistence
  • Starter set to No

#3 Updated by BitingBird 2014-06-09 12:22:52

  • Subject changed from persistence preset: touchpad settings to Persistence preset: touchpad settings

#4 Updated by sajolida 2014-06-25 10:18:16

  • related to Feature #5989: Persistence preset - mouse settings added

#5 Updated by intrigeri 2014-08-13 20:13:11

  • Subject changed from Persistence preset: touchpad settings to Persistence preset: mouse and touchpad settings

#6 Updated by intrigeri 2014-08-13 20:13:16

  • related to deleted (Feature #5989: Persistence preset - mouse settings)

#7 Updated by intrigeri 2014-08-13 20:13:31

  • has duplicate Feature #5989: Persistence preset - mouse settings added

#8 Updated by intrigeri 2014-08-13 20:17:59

  • related to Feature #7779: Revisit default touchpad settings added

#9 Updated by emmapeel 2015-07-10 07:38:24

  • related to Feature #8846: Persistent preset: background option added

#10 Updated by intrigeri 2015-07-16 02:23:09

  • related to deleted (Feature #8846: Persistent preset: background option)

#11 Updated by Anonymous 2018-01-18 16:23:52

  • Status changed from Confirmed to Rejected

Is this still the case, that by default the touchpad is not accepting taps?
I think we should reject this ticket, because we decided at some point to rely on defautl GNOME settings for this. If you disagree, don’t hesitate to reopen this.

#12 Updated by intrigeri 2018-01-18 17:11:28

  • Status changed from Rejected to Confirmed

> I think we should reject this ticket, because we decided at some point to rely on defautl GNOME settings for this. If you disagree, don’t hesitate to reopen this.

I disagree. Touchpad settings (tap-to-click, scrolling direction etc.) is about muscle memory and not something we can ask users to just deal with our default settings: e.g. natural scrolling is a burden for those who are used to the opposite; it’s the default on Windows so we’re not talking about a corner case here. So it would be nice to give the option to persistently configure this differently.

#13 Updated by triceps1 2018-06-07 17:28:20

> I think we should reject this ticket, because we decided at some point to rely on defautl GNOME settings for this. If you disagree, don’t hesitate to reopen this.

> > I disagree. Touchpad settings (tap-to-click, scrolling direction etc.) is about muscle memory and not something we can ask users to just deal with our default settings: e.g. natural scrolling is a burden for those who are used to the opposite; it’s the default on Windows so we’re not talking about a corner case here. So it would be nice to give the option to persistently configure this differently.

I also disagree with the rejection of this ticket.

It is a massive pain if i start running my persistant Tails and thinks work can start right now and then i be hurtly remindet that I have to chage various Gnome settings every time i start Tails.
So i have to disable the horrible ‘natural scrolling’ and as a MacBook user without physically buttons on my touchpad, I have to struggle around with the ‘tap-to-click’ function and the unavailible secondary button on my touchpad (right click on the touchpad bottom).

After set up my Gnome settings every time once again, it’s frustrating enough that the Apple specific buttons alt/option (⌥) & cmd (⌘) have a total different meaning in Linux/Tails.
My workflow get destroyed every few minutes.

It would be super nice if you could make the Gnome settings saved persistently.
At least you could integrate a script generator, so that every user could generate his very own gnome settings script whom will be saved in the persistent folder and could be started manually after every persistent boot.

#14 Updated by intrigeri 2018-06-10 10:21:03

> It would be super nice if you could make the Gnome settings saved persistently.
> At least you could integrate a script generator, so that every user could generate
> his very own gnome settings script whom will be saved in the persistent folder and
> could be started manually after every persistent boot.

Personally I have a persistent script that I run after login and that contains a bunch of dconf commands, which seems pretty close to what you’re asking for. Now, of course this requires finding out the name of dconf settings and fiddling with command line interfaces so it’ll only work for somewhat-technical users.

#15 Updated by triceps1 2018-06-25 13:57:16

> Now, of course this requires finding out the name of dconf settings and fiddling with command line interfaces so it’ll only work for somewhat-technical users.

Considering the usability and design goals of tails i agree that it makes no sense to solve the problem of non-persistent configurations on this way. But i still think it’s worth resolving this problem because it makes tails unhandy in a serious way.

> Personally I have a persistent script that I run after login and that contains a bunch of dconf commands, which seems pretty close to what you’re asking for.

Can you explain your script/workaround for my personal use?
I never worked with dconf and my bash scripting skills are low level.

At least i found the file including the Xorg defaults:

/usr/share/X11/xorg.conf.d/90-tails.conf

Section “InputClass”
Identifier “Tails-touchpad-configuration”
MatchIsTouchpad “on”
Option “TapButton1” “1”
Option “VertTwoFingerScroll” “1”
EndSection

I also know what parameters I need to change:

Option "TapButton1" "0"

Option “VertTwoFingerScroll” “0”

What I need to know is which dconf commands I need to change these parameters?

#16 Updated by nodens 2019-11-03 11:53:55

Hey there,

dconf keys can be hard and cryptic at times.

Here is how I did it:

- save default settings before changing anything:

gsettings list-recursively > gsettings.default

- change the settings you want (e.g. in Gnome Control Center)

- save the updated settings:

gsettings list-recursively > gsettings.updated

- check the differences and get a list of gsettings commands:

diff gsettings.{default,updated} | sed -rn 's/^> (.*)/gsettings set \1/p'

You’ll get a bunch of gsettings command you can put in a script in your persistence, to be run after login.

Note that you’ll have to put some quotes around the multi-value keys (in [ ]), I didn’t bother to handle that in the sed command since I wanted to review the settings and get only the one that really mattered to me in the script.

#17 Updated by intrigeri 2019-11-16 09:49:46

  • related to Feature #17239: Persistence preset: 'Night Light' settings added

#18 Updated by intrigeri 2019-11-16 09:53:45

  • related to Feature #7074: Persistence preset: keyboard shortcuts added

#19 Updated by intrigeri 2019-11-16 09:54:04

  • related to Bug #7148: Persistence preset: Theme and Desktop Wallpaper added

#20 Updated by intrigeri 2019-11-16 09:57:51

I’ve marked this ticket as related to the other requests for persistence presets that are about prefs stored in dconf/gsettings. It’s clear to me that we should not allow persisting the entire dconf database but a facility to persist relevant bits of it could be nice; I can imagine cheap, simple implementation possibilities, depending on the chosen UX design. How this could be exposed to users is another matter, and probably requires non-trivial UX design work.

#21 Updated by intrigeri 2019-12-28 16:38:31