How to automatically change the name “Name […] of this device” #3218
Replies: 2 comments 1 reply
-
The most easiest and realistic way is: implementing a native messaging host. It will allow to access any data on the platform from TST. The top concern is: violation of the project scope. TST project aims to provide tree management feature, and Firefox Sync simulation is just an option. If there is any existing native messaging host providing features to get the device name, I'm OK to add some API call to use the host and request to add TST to the allowed list of the host. But implementing new native messaging host by myself is out of scope. |
Beta Was this translation helpful? Give feedback.
-
With the easiest and most realistic way out of the question then, what would be the brute force approach then? ;) |
Beta Was this translation helpful? Give feedback.
-
I rely heavily on having several Firefox Profiles and spinning up a new one with my default settings as fast as possible is paramount. (see links below for reference)
As part of that I am trying to automate the naming of the Firefox Sync devices so they match with the KDE Plasma Activity name and as such the Firefox Profile, and it would be great to also do the same for TST, since most of the time I use TST to send tab( tree)s from one Profile/device to another.
I got so far that for this is handled in Firefox by
identity.fxaccounts.account.device.name
inabout:config
…But where is it handled in TST?
How can I through a shell script or otherwise change this setting in TST?
Blog explaining the issue and the 0.1 version of the solution:
https://matija.suklje.name/introducing-activity-aware-firefox
Code repository to the solution, which is at 0.3 now and much improved:
https://gitlab.com/hook/activity-aware-firefox
Relevant issue:
https://gitlab.com/hook/activity-aware-firefox/-/issues/8
Beta Was this translation helpful? Give feedback.
All reactions