Author Topic: PCManFM won't open files that have a pound sign in the filename [RESOLVED]  (Read 895 times)

Offline user-01

  • Full Member
  • ***
  • Posts: 54
I installed lxde a few days ago. Everything runs fast and stable, except PCManFM won't open files with pound-sign # or percent-sign % anywhere in the filename or parent directory name. When I try to open a said file in pcmanfm, the application (any application) opens but then errors and says the file doesn't exist. I can open those files directly through their associated applications. Copying/pasting those files/folders with pcmanfm works okay. Filenames with spaces, dashes, or underscores open properly. My system is up to date.

In searching for answers, all I found so far is:

http://sourceforge.net/tracker/?func=detail&aid=3572024&group_id=156956&atid=801864

They say it's a conflict with the libfm version. They suggest installing the git version of pcmanfm, but right now I don't have the knowledge nor time to mess with compiling anything, plus it's not recommended by the gurus here anyway.

I have a LOT of pound signs in my filenames and folders, and many are associated with other documents, reports, etc, so changing them is not an option for me. For now I'll have to open them directly with their app's rather than pcmanfm.
« Last Edit: November 17, 2012, 02:43:19 PM by user-01 »

Offline ThirdOfSix

  • Hero Member
  • *****
  • Posts: 745
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #1 on: October 04, 2012, 10:40:10 PM »
That is one of those things that you risk when you get creative with filenames in order to make your current project go faster.

When I started programming in the seventies, I worked for a fortune 500 company and a big part of my job was helping middle managers with there new desktop computers of every type imaginable to interface with corporate databases.

It was a nightmare at times until we insisted that they never use anything but asci characters in filenames.

You just never knew when a particular existing system was going to choke on a character that worked for most systems.

Given that lxde is a lite system, I am not surprised to find that they did not include all of the overhead of coding in numerous exceptions for any and all characters that a user may decide to use.

At this point, it looks like your choices are to rethink your use of special characters in file names or to use a different tool.

I doubt that you will have any luck in convincing the authors of lite systems to start down the path of feature creep that eventually leads to bloated systems that require large fast machines that use lots of resources.

Of course, you could write your own routines to automatically escape those characters out of your file names and then put them back in again on export.

You would probably find that this would be more costly than the savings you attain by using a lite system.

I suspect that most young users and programmers will agree with you that this is a bug that ought to be fixed but you will find many of us older folks who will have no sympathy as it is a choice that you have made.

If you do a search on PCManFM special characters, you will find a lot of folks talking about it. I do not have the time to read all those articles to see if any solutions are forthcoming.

Just the fact that shell programs like the Bourne shell use the # to identify comments would be enough to keep me from ever using it in a file name.

In a brief search, I have found that a number of sites dealing with photographs and multimedia do not work with that character in a file name.

Is it really worth the risk?

Either way, I do not envy you. You have a hard decision to make.

« Last Edit: October 05, 2012, 04:55:38 AM by ThirdOfSix »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #2 on: October 05, 2012, 02:46:27 AM »
The special characters # and % should not be used in file names.     
Common definitions:     
# = comment (ignore what follows this character  ///  in terminal - root prompt symbol
% = used by rpm to define a macro - %install for example will be part of a spec file for creating an rpm for any given app, but % will not be part of the name of the spec file.     

Using special characters in file names will create conflict for PCManFM/libfm because these are 'known' to be reserved.     

Offline user-01

  • Full Member
  • ***
  • Posts: 54
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #3 on: October 05, 2012, 10:08:26 PM »
Understood. Thanks, Neal. Chalk it up to getting spoiled by Dolphin (and previously Nautilus), which had no problems with those filenames.  Even WinXP (rest its forgotten soul) handled them fine in my previous PC life. But I don't plan on installing any heavy window managers with LXDE as I really like the speed and responsiveness of this system as-is. This issue is not a game-changer for me as I only use a few of those files on any given day, so I'll just open them with their respective applications as needed.
« Last Edit: October 05, 2012, 10:25:39 PM by user-01 »

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10605
  • MLUs Forever!
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #4 on: October 06, 2012, 04:14:01 AM »
It eventually hit home that by 'pound sign' you meant a hash ....  #

and not a 'pound sign' .........  £

:(
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #5 on: October 06, 2012, 10:39:28 AM »
It eventually hit home that by 'pound sign' you meant a hash ....  #

and not a 'pound sign' .........  £

:(
     
Here in the US, the hash -- # -- has pound sign as an alternative name. ;) ;D Isn't it 'fun' to see the differences and similarities we encounter while using the "same" language? ;D     

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10605
  • MLUs Forever!
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #6 on: October 06, 2012, 11:24:43 AM »
It eventually hit home that by 'pound sign' you meant a hash ....  #

and not a 'pound sign' .........  £

:(
     
Here in the US, the hash -- # -- has pound sign as an alternative name. ;) ;D Isn't it 'fun' to see the differences and similarities we encounter while using the "same" language? ;D     

Yeah!  I must have read the thread 4 times before it finally dawned on me  :(

;D ;D
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6371
  • I'm going South
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #7 on: October 06, 2012, 12:18:34 PM »
It eventually hit home that by 'pound sign' you meant a hash ....  #

and not a 'pound sign' .........  £

:(
     
Here in the US, the hash -- # -- has pound sign as an alternative name. ;) ;D Isn't it 'fun' to see the differences and similarities we encounter while using the "same" language? ;D     

And sometimes you call it the number sign, although most people in the word would understand that to be the № ligature or the or the Nº combinations of characters. In Finnish it's colloquially called risuaita, "rustic fence". I've been told that whatever you call it you should realize that it is not the same as the sharp sign in music.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline user-01

  • Full Member
  • ***
  • Posts: 54
Re: PCManFM won't open files with a pound sign in the filename [RESOLVED]
« Reply #8 on: November 17, 2012, 03:02:57 PM »
I happened to check on this issue again today, just out of curiosity, as I remembered having a recent update to PCMANFM. It now works to open files that have a hash mark or a percent-sign in the filename, at least on my system. Don't know if it works with other unusual filename characters as I don't normally use any others myself.
  If any of the gurus here passed the question on to the developers or modified the program themselves, many thanks!

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1111
Re: PCManFM won't open files that have a pound sign in the filename
« Reply #9 on: November 17, 2012, 05:56:29 PM »
It eventually hit home that by 'pound sign' you meant a hash ....  #

and not a 'pound sign' .........  £

:(
     
Here in the US, the hash -- # -- has pound sign as an alternative name. ;) ;D Isn't it 'fun' to see the differences and similarities we encounter while using the "same" language? ;D     

Was it Winston Churchill who said, "America and England - two nations divided by a common language"?

Jim
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991