lxshortcut does not edit the desktop files on the live session.

Bug #1333013 reported by Lyn Perrine
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libfm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

To reproduce launch lubuntu from a live session I was in virtualbox. Then I tried to laucnh lxshortcut from right clicking on the menu in lxpanel on gpicview and selecting properties. I could not launch anything and nothing happened. I then tried to run the shortcut editor from the command line to see if any debug output would be useful. It then ran and complained that many theme files were missing. and that ~/.local/share/applications/gpicview.desktop is not a desktop configuration file.

I expected to be able to edit the desktop shortcuts. Instead the destkop file doesn't open on command line or in menu. It does work after starting apport on libfm which is strange.

libfm-gtk4:
  Installed: 1.2.0-1ubuntu2
  Candidate: 1.2.0-1ubuntu2
  Version table:
 *** 1.2.0-1ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/universe i386 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: lxshortcut 1.2.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
Uname: Linux 3.15.0-6-generic i686
ApportVersion: 2.14.3-0ubuntu2
Architecture: i386
CasperVersion: 1.340
Config_pcmanfm_System_Lubuntu: Error: [Errno 2] No such file or directory: '/etc/xdg/pcmanfm/Lubuntu/lubuntu.conf'
CurrentDesktop: LXDE
Date: Sun Jun 22 12:56:13 2014
LiveMediaBuild: Lubuntu 14.10 "Utopic Unicorn" - Alpha i386 (20140622)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libfm
Udisks_dump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lyn Perrine (walterorlin) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

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://iso.qa.ubuntu.com/qatracker/reports/bugs/1333013

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libfm (Ubuntu):
status: New → Confirmed
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote : Re: [Bug 1333013] Re: lxshortcut does not edit the desktop files on the live session.

is there a problem on the full install?

Revision history for this message
Lyn Perrine (walterorlin) wrote :

No this is not a problem on the full install. It only affects the live session.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

stupid question: does it act the same on real hardware?

better idea: what specific files are missing?

strace might be useful.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

On real hardware I can get lxshortcur to launch from the terminal and don't get the missing files anymore. I however I think you need to logout which would make even if this did work this feature pointless in the live session. I am able to edit the files but they do not launch with options. from the command line. I am not quite sure what I should strace the panel not launching the menu or the launching lxshortcut from the command line.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

lxshortcut methinks

Revision history for this message
Lyn Perrine (walterorlin) wrote :

Oh actually the overly verbose lxsession run.log came in some useful data. Lxshortcut for a multiuser system puts a .desktop file in ~/usr/.local/applications/abiwor.desktop and creates a file if it does not exist. If this file does not exist then lxshortcut creates the file but not the directory.

In the live session the ~/usr/.local/applications is not an existing directory in the live session.

I have found a workaround that is fairly easy in terminal cd ~/.local/share/ && mkdir applications. Then right click from the menu and it will launch lxshorcut and create the file.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

sounds good. calling it low!

Revision history for this message
Phill Whiteside (phillw) wrote :

May I ask one simple question?
Live CD starts from default each boot.
What are you attempting to do? Because LiveCD <> USB with casper
Regards,
Phill.

Changed in libfm (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Lyn Perrine (walterorlin) wrote :

Biggest use is if you wanted to open something many times in the live session but hopefully not forget to do it one time. Lubuntu has xterm which has many options and not want to type an annoying command every time they use the live session to have it set up right for them.

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.