The problem is that nautilus tries to open a file name '~' in the
current working directory. This can be reproduced in the shell by
running

nautilus '~'

I can see these options to solve this bug:
1. Call bash when executing commands. This implies that any bash substitution 
variable would occur. For instance, pressing Alt+F2 and typing "nautilus $HOME" 
would open the home directory.

2. Substitute the tilde character with the home directory. I find this
dangerous, since we could make a wrong assumption of what the user
wanted. We could think of ways to restrict tilde substitution, for
instance, only substitute tilde when: 1) tilde is the first character;
2) the file should exist on system.

I would like to hear more opinions!

Ian L.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/734762

Title:
  Dash: Alt-F2 "nautilus ~/" errors to "Could not find '/~'"

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to