Ticket #732 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

gajim-remote to manage prefs values

Reported by: dkirov Owned by: dkirov
Priority: normal Milestone: 0.9
Component: None Version:
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

gajim-remote should support sysctl like interface for listing/adding/editing values of the advanced preferences. Currently you cannot delete or add new value, using advanced prefs editor. Suggested commands for gajim-remote are:

gajim-remote prefs list

lists all preferences and their values

gajim-remote prefs put [key = value]

sets value of 'key' to 'value'. If there is no such key, new item in the preferences is inserted.

gajim-remote prefs del [key]

removes the preference item named 'key'

gajim-remote prefs store

saves the current state of the preferences (most svn users do <Control>C from terminal and loose their current preferences)

sample use cases:

* gajim-remote prefs list

themes.cyan.contacttextcolor = #000000
themes.cyan.bannertextcolor = #ffffff
themes.marine.accountbgcolor = #918caa
themes.marine.accountfont = Sans Bold 11
themes.marine.groupfont = Sans Italic 11

* gajim-remote prefs put themes.marine.groupfont = Sans 12 Saved new value:

themes.marine.groupfont = Sans 12

* gajim-remote prefs del ft_proxies65_cache.proxy.jabber.org.host

removes preference item named "ft_proxies65_cache.proxy.jabber.org.host"

* gajim-remote prefs del ft_proxies65_cache.proxy.jabber.org.*

removes all items under ft_proxies65_cache.proxy.jabber.org: host, port, jid

( use of "*" will be allowed only for the last level to prevent the removing of all prefs by typing "gajim-remote prefs del *" )

Attachments

Change History

Changed 5 years ago by dkirov

  • status changed from new to closed
  • resolution set to fixed

Add/Change #732 (gajim-remote to manage prefs values)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.