Wrong configuration values

Bug #1027257 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
lxde-common (Ubuntu)
Expired
Undecided
Unassigned
pcmanfm (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I'm using Ubuntu 12.10 dev with pcmanfm 1.0~rc1-0ubuntu1. The default configuration file ~/.config/pcmanfm/LXDE/pcmanfm.conf contains 2 bad values. In [config] su_cmd=gksu '%s' will cause problems if a directory which contains spaces is opened as root (it don't open then). The solution is to remove the single quotes. In [desktop] sort_type=0 is an invalid value. With PCManFM 1.0 an invalid value there will be automatically set to 2 (ordered by name) so this value could be set to 2 instead of 0.

To recreate: from a vanilla Ubuntu installation, install lxde.
(Does not affect the Lubuntu distribution.)

Inappropriate configurations will be present in ~/.config/pcmanfm/LXDE/pcmanfm.conf - as described above.

Actual impact on users appears to be none, since one misconfiguration will be ignored by pcmanfm, and the second is related to a function that has been removed from pcmanfm.

description: updated
description: updated
Revision history for this message
Dave Kokandy (drkokandy) wrote :

Thank you for taking the time to report this bug and improve Ubuntu. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug.

The file you reference, ~/.config/pcmanfm/LXDE/pcmanfm.conf, no longer exists in an untouched installation of vivid with pcmanfm 1.2.3-1.1.

Additionally, I was not able to find those configurations of types su_cmd= or sort_type= in the files that are installed relevant to Lubuntu's file management, ~/.config/pcmanfm/lubuntu/desktop-items-0.conf, or ~/.config/libfm/libfm.conf .

If you believe there is still an issue here, please add an additional comment to this report. For the time being, I will mark this as incomplete.

Changed in pcmanfm (Ubuntu):
status: New → Incomplete
Revision history for this message
Removed by request (removed3425744) wrote :

I'm still able to reproduce this issue on Ubuntu 15.04 with PCManFM 1.2.3-1.1 except that I'm seeing sort_type in [ui] and not [desktop]. It also seems that this configuration file got outdated over time even more. That you are not able to find the related file could be a result that you are using Lubuntu and not Ubuntu. But I would normally assume that Lubuntu has somewhere a pcmanfm.conf too. But PCManFM corrects the configuration file if it gets started the first time (to see the invalid entries you have to use a terminal after login into the desktop). Maybe the file don't even need to be created at all if PCManFM would take care of it anyways. Otherwise the file needs a complete rechecking (at least on Ubuntu but maybe also on Lubuntu).

Changed in pcmanfm (Ubuntu):
status: Incomplete → New
Revision history for this message
Dave Kokandy (drkokandy) wrote :

What do you mean "reproduce this issue"? Which issue, specifically?

I've tried retesting on a vanilla Ubuntu (not Lubuntu), and apt-get install pcmanfm does not create a file ~/.config/pcmanfm/LXDE/pcmanfm.conf

On first run, pcmanfm creates a file ~/.config/pcmanfm/default/pcmanfm.conf which contains neither of the incorrect configurations you have indicated. I have attached my version of that config file.

Was your machine upgraded from a previous version of ubuntu? If so, that explains why you have an old config file, which probably is not used by your current live PCManFM.

I cannot find the configuration values you mention.

Revision history for this message
Removed by request (removed3425744) wrote :

> What do you mean "reproduce this issue"? Which issue, specifically?

I'm meaning that a login into the desktop creates ~/.config/pcmanfm/LXDE/pcmanfm.conf (if it doesn't already exist) with the invalid entries.

> and apt-get install pcmanfm does not create a file ~/.config/pcmanfm/LXDE/pcmanfm.conf

Only installing pcmanfm does indeed not create this file (as it would be otherwise probably a bug). You have to login into the desktop to create this file.

> On first run, pcmanfm creates a file ~/.config/pcmanfm/default/pcmanfm.conf which contains neither of the incorrect configurations you have indicated.

Is there no ~/.config/pcmanfm/LXDE/pcmanfm.conf on your system after you login into the desktop?

Revision history for this message
Dave Kokandy (drkokandy) wrote :

Okay, if I take an Ubuntu installation and apt-get install lxde (NOT lubuntu-desktop), I can find these values in the file you mention.

Since I had to install lxde to find the file you mentioned, I wonder if pcmanfm is the right package for this bug.

But is there any malfunction caused by this bug? My desktop seems perfectly functional.

And since PCManFM no longer offers the option to "open as root", the potential malfunction you mention with the su_cmd=gksu '%s' is most likely moot.

Since this bug appears to have no effect and the configuration - Ubuntu + LXDE, but not Lubuntu - is uncommon, it is my recommendation that this be given a low priority.

Dave Kokandy (drkokandy)
description: updated
Revision history for this message
Removed by request (removed3425744) wrote :

I haven't seen any malfunction too but since the file gets more and more outdated it doesn't look really healthy and could lead to potential problems in the future. But I'm fine with giving this issue a low priority.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 20.10 (groovy) reached end-of-life on July 22, 2021.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.
Ubuntu 19.04 (disco) reached end-of-life on January 23, 2020.
Ubuntu 18.10 (cosmic) reached end-of-life on July 18, 2019.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.
Ubuntu 17.04 (zesty) reached end-of-life on January 13, 2018.
Ubuntu 16.10 (yakkety) reached end-of-life on July 20, 2017.
Ubuntu 16.04 (xenial) reached end-of-life on April 29, 2021.
Ubuntu 15.10 (wily) reached end-of-life on July 28, 2016.
Ubuntu 15.04 (vivid) reached end-of-life on February 4, 2016.
Ubuntu 14.10 (utopic) reached end-of-life on July 23, 2015.
Ubuntu 14.04 (trusty) reached end-of-life on April 25, 2019.
Ubuntu 13.10 (saucy) reached end-of-life on July 17, 2014.
Ubuntu 13.04 (raring) reached end-of-life on January 27, 2014.
Ubuntu 12.10 (quantal) reached end-of-life on May 16, 2014.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in lxde-common (Ubuntu):
status: New → Incomplete
Changed in pcmanfm (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pcmanfm (Ubuntu) because there has been no activity for 60 days.]

Changed in pcmanfm (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lxde-common (Ubuntu) because there has been no activity for 60 days.]

Changed in lxde-common (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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