Mint Menu preferences...custom places not working?

Questions about mintMenu
Forum rules
Before you post please read this

Mint Menu preferences...custom places not working?

Postby baking666 on Mon Nov 30, 2009 12:33 am

I have a folder /media/Ubuntu Home/bking/home/Music that is valid address but mint menu custom places doesn't think so....does custom places have to be off home?
baking666
Level 1
Level 1
 
Posts: 1
Joined: Tue Mar 31, 2009 2:31 am

Linux Mint is funded by ads and donations.
 

Re: Mint Menu preferences...custom places not working?

Postby Sid32 on Wed Dec 02, 2009 7:51 am

Its a bug with the space in "ubuntu home" hard-drive name. I'm having the same problem. Hopefully its fixed soon.
Sid32
Level 1
Level 1
 
Posts: 27
Joined: Sun May 31, 2009 11:05 am

Re: Mint Menu preferences...custom places not working?

Postby Husse on Wed Dec 02, 2009 10:09 am

Please specify the folder name - do not include the mount point (but tell us that separately anyway)
I think Sid32 is right but is the folder name ubuntu home?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Menu preferences...custom places not working?

Postby Sid32 on Fri Dec 04, 2009 12:03 pm

My Hd is called 'Big Ones' and I get pop up errors saying 'Media/Big' not found and 'Ones/documents' not found.

I am trying to get the folder in the menu to link to 'media/big ones/documents'
Sid32
Level 1
Level 1
 
Posts: 27
Joined: Sun May 31, 2009 11:05 am

Re: Mint Menu preferences...custom places not working?

Postby hansmc on Fri Dec 04, 2009 2:14 pm

I just tested it on my computer. If I put the place in double quotes it works. Like this "/home/me/test one".
hansmc
Level 1
Level 1
 
Posts: 32
Joined: Mon Oct 26, 2009 1:03 pm

Re: Mint Menu preferences...custom places not working?

Postby Sid32 on Fri Dec 04, 2009 11:25 pm

Not working over here. Try setting a link to a HD that has a space in its name. The link that I am trying to get it to open is:
"/media/BIG ONES/files/Downloads" Where 'Big Ones' is a 2nd hardrive.
Sid32
Level 1
Level 1
 
Posts: 27
Joined: Sun May 31, 2009 11:05 am

Re: Mint Menu preferences...custom places not working?

Postby Husse on Sat Dec 05, 2009 7:04 am

/media/BIG ONES/files/Downloads
Is that the mount point?
/media/"BIG ONES"/files/Downloads
That should do it I think
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Menu preferences...custom places not working?

Postby Sid32 on Sat Dec 05, 2009 9:30 am

Sorry same error...
Sid32
Level 1
Level 1
 
Posts: 27
Joined: Sun May 31, 2009 11:05 am

Re: Mint Menu preferences...custom places not working?

Postby Husse on Sat Dec 05, 2009 10:44 am

This is strange - as you probably know there is no problem with spaces in the GUI - look at the shortcut to home on your desktop - it's called your_name's Home and there is a space
I don't know about the custom places but it should be no different
In the terminal you have to escape spaces - can't remember how and I have to quit now - will return
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Menu preferences...custom places not working?

Postby altair4 on Sat Dec 05, 2009 12:18 pm

I can confirm this is a very strange bug.

hansmc wrote:I just tested it on my computer. If I put the place in double quotes it works. Like this "/home/me/test one".

I duplicated this and it does work but it appears to work only in the home directory.

I have a partition that I do not normally mount since it houses my boot loader. So I created a mountpoint and an entry in fstab to mount it at boot:

sudo mkdir /media/"BOOTIT NG"
UUID=16D7-0200 /media/BOOTIT\040NG vfat defaults 0 0

No matter how I crafted the entry into the Menus' Places:

"media/BOOTIT NG"
media/"BOOTIT NG"
I even tried /media/BOOTIT\040NG

I get the same results as Sid32. The error message tells me it can't find either "BOOTIT" or "NG"

However, and to answer the original posters question, If I change the mount point to /media/BOOTIT and change the entry in the Menu to /media/BOOTIT then it does work. So it appears that spaces in the home directory are OK, spaces outside the home directory are not OK.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4742
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint Menu preferences...custom places not working?

Postby Husse on Sat Dec 05, 2009 12:48 pm

Hmm - it seems that outside home it becomes more like the terminal, but then the normal escape for space should work and it did not
Can we say this is semi-solved?
Make a mount point in home for the disk and you are ok...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Menu preferences...custom places not working?

Postby Fred on Sat Dec 05, 2009 12:59 pm

altair4,

I am not sure what Nautilus is actually doing here. Remember, you mount partitions, not folders on a partition. You Bind folders on a partition. Remember your question about binding a folder on an NTFS partition a while back?

Folder or file names with spaces or strange characters are always problematic. You might try using the single quote, or double quote enclosing a string that has single quotes within it.

We are talking about Nautilus here, so I wouldn't be too surprised at a broken outcome. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Mint Menu preferences...custom places not working?

Postby altair4 on Sat Dec 05, 2009 1:56 pm

Fred,

I am mounting a partition ( UUID=16D7-0200 ) to a mount point in /media ( /media/BOOTIT NG ).

I can bring up Nautilus and when I open /media/BOOTIT NG I can access the files.

It's Mint 8's ability to edit the "Places" section of the start Menu that's the problem. It can't handle spaces in the mount point ( EDIT: It can't handle spaces in the directory name ) outside of one's home directory. I tried the following permutations in the Menu:

"/media/BOOTIT NG"
/media/"BOOTIT NG"
'/media/BOOTIT NG'
/media/'BOOTIT NG'
/media/BOOTIT\040NG
"/media/'BOOTIT NG'"
'/media/"BOOTIT NG"'

None of it works. It parses the phrase as media/BOOTIT and media/NG and gives me two error messages that it can't find either.

Did I miss something in your post and am I still confused?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4742
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint Menu preferences...custom places not working?

Postby Fred on Sat Dec 05, 2009 3:46 pm

altair4 wrote:
I am mounting a partition ( UUID=16D7-0200 ) to a mount point in /media ( /media/BOOTIT NG ).

First, let me point out that I haven't yet downloaded or looked at Mint 8 so there could easily be something going on that I haven't seen.

To start with, the UUID looks suspect. I am not sure what to think about that. I would make sure that you have "mtools" installed.

The problems in this thread may not be the same. My point above was to make a distinction between a LABEL for a physical drive and a partition LABEL. Trying to mount to a drive LABEL, even if it has only one partition, will be problematic since you mount partitions and not drives. I suspect something is getting the two confused.

I would assign a LABEL to the FAT partition with gparted. Instead of using what appears to me to be a flaky UUID to mount with, use the LABEL= SomeLabel in fstab instead. If you must use a two word label put it in quotes. Example: LABEL="BOOTIT NG" /media/"BOOTIT NG" ...etc.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Mint Menu preferences...custom places not working?

Postby altair4 on Sat Dec 05, 2009 4:41 pm

Fred,

I chose the following partition because it's the only one I don't mount at boot and was the easiest to experiment with:

From blkid: /dev/sda3: SEC_TYPE="msdos" LABEL="BOOTIT EMBR" UUID="16D7-0200" TYPE="vfat"
I only have 3 vfat partitions in my network and they all have that UUID format.

I created the mount point with a space in it and it's unique and doesn't match any LABEL:
sudo mkdir /media/"BOOTIT NG"
In retrospect I should have called it My Test or something to avoid confusion.

I then added an entry in fstab:
UUID=16D7-0200 /media/BOOTIT\040NG vfat defaults 0 0

I could have used the LABEL from blkid instead of the UUID but I thought I was pushing it with a space in the mount point :wink: BTW the '\040' is the only way I know of to have a space in fstab so that's why it's there.

I didn't create the label for /dev/sda3, BOOTIT did. I've used BOOTIT since SuSE 6.1 and have never had a GRUB issue when multibooting. Since it seems to work with GRUB2 I may never have an issue with grub. I'd just as soon not change the LABEL :lol:

EDIT: I'm fairly certain the mounting part of this experiment is OK since I can access /media/BOOTIT NG 's files in Nautilus. I just can't access them from the Mint Menu shortcut.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4742
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint Menu preferences...custom places not working?

Postby Fred on Sat Dec 05, 2009 6:37 pm

altair4,

It would appear from your post that this is a Mint menu issue. You would probably have to look at the source to see why this is happening.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Mint Menu preferences...custom places not working?

Postby Husse on Mon Dec 07, 2009 6:50 am

UUID="16D7-0200"

You get UUIDs like that when you mount a USB disk and possibly also any vfat disk
I have a 150 GB fat32 disk and it gets the UUID 000B-EA3B
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Mint Menu preferences...custom places not working?

Postby clhodapp on Mon Dec 07, 2009 9:33 am

I actually wrote that part of the mintMenu code and I can confirm your experience: it seems to fail whenever the name of a directory has a space if it's outside of the user's home folder. I'll have a look and see if I can figure out why. It's strange: I never tested it with this particular case.
clhodapp
Level 3
Level 3
 
Posts: 185
Joined: Wed Feb 04, 2009 3:57 am
Location: Tuscaloosa, AL

Re: Mint Menu preferences...custom places not working?

Postby DJ_Baldey on Wed Dec 23, 2009 12:58 pm

Variant correction of the menu in Linux Mint 8:
edit file places.py:
Code: Select all
sudo nano /usr/lib/linuxmint/mintMenu/plugins/places.py

find this lines (are located separately):
Code: Select all
Button4.connect( "clicked", self.ButtonClicked, "nautilus " + desktopDir )
command = ( "nautilus " + self.custompaths[index] )

and edit them so:
Code: Select all
Button4.connect( "clicked", self.ButtonClicked, "nautilus \"" + desktopDir + "\"" )
command = ( "nautilus \"" + self.custompaths[index] + "\"" )

after save, execute:
Code: Select all
cd /usr/lib/linuxmint/mintMenu/ && sudo python compile.py

After menu reboot will work correctly.
User avatar
DJ_Baldey
Level 1
Level 1
 
Posts: 1
Joined: Wed Dec 23, 2009 11:52 am
Location: Russia, the Far East

Re: Mint Menu preferences...custom places not working?

Postby Sid32 on Sun Jan 03, 2010 10:42 am

Problem not fixed in Mint Menu 3.9.4. Removed places and added again. Still not working.... :?
Sid32
Level 1
Level 1
 
Posts: 27
Joined: Sun May 31, 2009 11:05 am

Linux Mint is funded by ads and donations.
 
Next

Return to mintMenu

Who is online

Users browsing this forum: No registered users and 1 guest