Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add "[email protected]" type of services? #24

Open
killthekitten opened this issue Aug 21, 2017 · 1 comment
Open

How to add "[email protected]" type of services? #24

killthekitten opened this issue Aug 21, 2017 · 1 comment

Comments

@killthekitten
Copy link

Currently, the extension doesn't allow me to add [email protected] entry, however, it looks like it is supported:
https://github.com/petres/gnome-shell-extension-services-systemd/blob/master/services-systemd%40abteil.org/prefs.js#L326

What I am doing wrong or how can I help to fix it?

@quater
Copy link

quater commented Mar 29, 2018

I have the same problem. Here is the workaround to get past the input validation.

WORKAROUND:

  1. Use the services-systemd extension and add an existing service that has a config file (i.e. *.service file) in any of the the /etc/systemd/ directories. Once this is saved, we can use the dconf-editor to alter the record. For example, you could use display-manager.service string.

  2. Then open the dconf-editor

$ dconf-editor
  1. Within the dconf-editor navigate to /org/gnome/shell/extensions/services/systemd

  2. Alter the record that corresponds to the one that was added with the first step in order to match the actual name.
    ['{"name":"Postgresql","service":"[email protected]","type":"system"}']

gnome-extension-services-systemd-tweak

  1. Save and enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants