Error on enable autostart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Xpad |
Medium
|
Arthur Borsboom |
Bug Description
Preferences -> Startup
On set "Start Xpad automatically after login" gives the error "Error enabling Xpad autostart" if the autostart directory (~/.config/
Version: 4.8.0-1
OS: Ubuntu 16.10
Related branches
description: | updated |
Ubuntu QA Website (ubuntuqa) wrote : | #2 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
tags: | added: iso-testing |
Jb (jebsolutions) wrote : | #3 |
This is not a fix.
But you can manually add a startup entry by hand from an lxterminal window. I do this as part of my install script. It works for 16.04 and 18.04 and might help someone in the mean time until this gets properly fixed:
manually create the necessary directories:
USERNAME=
LXDE_AUTOSTART_
mkdir -p "$(dirname "$LXDE_
chown -R "$USERNAME:
appending your command to the autostart file:
CMD_TO_
echo "$CMD_TO_RUN" >> "$LXDE_
Jb (jebsolutions) wrote : | #4 |
When I start Xpad on the daily 18.04 the error is "Could not copy /usr/share/
With {yourusername}being whatever user you logged in as.
The /home/{
I'm not sure why the directory isn't created automatically.
Jb (jebsolutions) wrote : | #5 |
I'm also not sure why Xpad trys to force itself to always autostart. It doesn't do this on 16.04.
sudodus (nio-wiklund) wrote : | #6 |
Autostart works as usual for distros using LXDE, as described by @Jb, adding a command line to
/home/$
I think this bug is specific to Xpad.
Jb (jebsolutions) wrote : | #7 |
There are a few ways lxde autostarts.
xpad under Lubuntu 16.04 also uses:
/home/$
I notice that under Lubuntu 16.04's light-locker is also launched this way. But under 18.04 light-locker is started some other way.
A possible quick fix/work around for xpad would be to just create the /home/$
Just an fyi -- xpad looks like a nice app, but I don't use it. So I may not be commenting further on this particular bug.
Changed in xpad: | |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
assignee: | nobody → Arthur Borsboom (arthurborsboom) |
milestone: | none → 5.1.0 |
Arthur Borsboom (arthurborsboom) wrote : | #8 |
I recall one of the older versions of Xpad (4.5 / 4.6 ?), which kept setting a system-wide autostart for Xpad each time. This has been fixed in 4.7 where only the autostart for the current user is enabled and only the first time Xpad is run. So, from 4.7 and newer this autostart persistence behavior should not be happening anymore (hopefully). :)
Regarding the bug report, I managed to reproduce it. I have resolved the issue by creating the directory "home_dir%
Thanks for the submitting the bug.
Commit: https:/
Changed in xpad: | |
status: | In Progress → Fix Committed |
Jb (jebsolutions) wrote : | #9 |
Arthur,
I did notice one minor typo on line 370:
the word "directoryy" has an extra "y".
Thank you for the quick fix. I did not try your patch, but it looks good.
Thank you!
Arthur Borsboom (arthurborsboom) wrote : | #10 |
Thanks for the hint of the typo.
Fix commited.
Changed in xpad: | |
status: | Fix Committed → Fix Released |
Confirm this after testing final build of lubuntu