Crashes on start when enabling "start on login"

Bug #1447603 reported by Alin Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity LauncherSwitcher
Fix Released
Undecided
Unassigned

Bug Description

The application crashes when switching workspaces if the "Start on login" option is enabled. This occurs because when enabling this option, the lswitcher.desktop is not added to ~/.config/autostart/ and the app can't find this file. Here's the terminal output:

$/opt/lswitcher/lswitcher/lswitcher_ui

Traceback (most recent call last):
  File "/opt/lswitcher/lswitcher/lswitcher_ui", line 126, in toggle_autostart
    with open(dtfile, "wt") as out:
FileNotFoundError: [Errno 2] No such file or directory: '/home/andrei/.config/autostart/lswitcher.desktop'

Revision history for this message
Jacob Vlijm (vlijm) wrote :

Thanks for your report! I will look into it.

Changed in lswitcher:
status: New → In Progress
Revision history for this message
Jacob Vlijm (vlijm) wrote :

Thank you once again! I appreciate your report a lot.
The bug would appear when the directory ~/.config/autostart would not exist (yet). It should be fixed in lswitcher 0.9.5, which was pushed a minute ago.

Changed in lswitcher:
status: In Progress → Fix Released
Revision history for this message
Alin Andrei (nilarimogard) wrote :

Thanks for the fix!

Revision history for this message
Jacob Vlijm (vlijm) wrote :

Perfect!, glad it works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.