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

Wrong path used for gtk-3.0 settings #11

Open
kiprasmel opened this issue Sep 25, 2019 · 2 comments
Open

Wrong path used for gtk-3.0 settings #11

kiprasmel opened this issue Sep 25, 2019 · 2 comments

Comments

@kiprasmel
Copy link

Error: ENOENT: no such file or directory, open '/home/kipras/home/kipras/.config/gtk-3.0/settings.ini'
    at Object.openSync (fs.js:447:3)
    at Object.func (electron/js2c/asar.js:155:31)
    at Object.func [as openSync] (electron/js2c/asar.js:155:31)
    at Object.readFileSync (fs.js:349:35)
    at Object.fs.readFileSync (electron/js2c/asar.js:597:40)
    at Object.fs.readFileSync (electron/js2c/asar.js:597:40)
    at Object.<anonymous> (/usr/lib/pagraphcontrol/resources/app.asar/utils/gtk-theme/index.js:16:21)
    at Module._compile (internal/modules/cjs/loader.js:786:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    at Module.load (internal/modules/cjs/loader.js:645:32) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/kipras/home/kipras/.config/gtk-3.0/settings.ini'
}
(node:140628) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ready listeners added to [PAClient]. Use emitter.setMaxListeners() to increase limit
(node:140628) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ready listeners added to [PAClient]. Use emitter.setMaxListeners() to increase limit
(node:140628) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [PAClient]. Use emitter.setMaxListeners() to increase limit
(node:140628) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [PAClient]. Use emitter.setMaxListeners() to increase limit

notice path: '/home/kipras/home/kipras/.config/gtk-3.0/settings.ini'

@gwario
Copy link

gwario commented Apr 19, 2020

On debian10/cinnamon with code from today, the path seems right:

Error: ENOENT: no such file or directory, open '/home/gwario/.config/gtk-3.0/settings.ini'
    at Object.openSync (fs.js:440:3)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as openSync] (electron/js2c/asar.js:140:31)
    at Object.readFileSync (fs.js:342:35)
    at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
    at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
    at Object.<anonymous> (/home/gwario/Downloads/pagraphcontrol/dist/pagraphcontrol-linux-x64/resources/app.asar/utils/gtk-theme/index.js:16:21)
    at Module._compile (internal/modules/cjs/loader.js:968:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
    at Module.load (internal/modules/cjs/loader.js:816:32) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/gwario/.config/gtk-3.0/settings.ini'
}
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
(electron) 'setAutoHideMenuBar function' is deprecated and will be removed. Please use 'autoHideMenuBar property' instead.

@ktosiek
Copy link
Contributor

ktosiek commented Jul 22, 2020

Can you try on current master? #31 should have fixed settings loading.

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

3 participants