cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #07174
[Bug 1921291] Re: Clicking Launch Cairo-Dock on startup causes a Bad file descriptor error
Hi,
thanks a lot for the precise bug report.
I confirm the problem, and I fixed it in commit 6c569e67a2a366e7634224a0133ede51755629cb.
** Changed in: cairo-dock-core
Assignee: (unassigned) => Fabounet (fabounet03)
** Changed in: cairo-dock-core
Status: New => Confirmed
** Changed in: cairo-dock-core
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/1921291
Title:
Clicking Launch Cairo-Dock on startup causes a Bad file descriptor
error
Status in Cairo-Dock Core:
Fix Committed
Bug description:
The "Launch Cairo-Dock on startup" feature wasn't working, so I looked into what it does. "Run cairo-dock and right-click the dock and go to Cairo-Dock > Launch Cairo-Dock on startup. The settings will be stored in ~/.config/autostart/ and sourced the next time you login." According to <https://glx-dock.org/ww_page.php?p=First%20Steps&lang=en#4-Cairo-dock%20method>. I tried terminating cairo-dock and then running it from the console. When I click the option to launch on startup, it displays the following:
"warning : (/build/cairo-dock-3.4.1/src/gldit/cairo-dock-file-manager.c:cairo_dock_copy_file:528)
couldn't write to file '/home/owner/.config/autostart' (Bad file descriptor)"
I ensured that the user has write permissions not only on all files in
the directory but also the directory itself.
If I move my ~/.config/autostart directory and try again, I get the
same error, though cairo-dock successfully creates the directory. The
directory is empty and still contains no shortcut in that case as with
the usual case.
The issue is the same whether I start from a graphical terminal or
from Alt+F2.
xdg-utils is installed (I'm not sure whether that matters).
- OS: Debian 10 (buster) 64-bit
- compositor: compiz (transparency is working if I load it before cairo-dock)
- desktop environment: lxqt
- cairo-dock version: 3.4.1
Here is content of debug.txt after doing "cairo-dock -l debug > debug.txt" then clicking launch on startup:
https://pastebin.com/KCfGJWRY
To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-core/+bug/1921291/+subscriptions
References