PDA

View Full Version : [gnome] Create new file in right click menu in File Browser



Zeemvel
August 24th, 2009, 11:35 AM
Hi,

When a folder doesn't have a lot of files in it, there's a white zone in the File Browser. If I right click in that white zone, I get a right-click menu that allows me to create new folder, create new file, ...

If however the folder has so much files that a scrollbar is needed, then the whole window is taken up by files, there's no white zone. Right clicking shows options for the file your mouse was hovering over. Is there any way at all to get the other right click menu?

ajgreeny
August 24th, 2009, 01:31 PM
You will have to do it in the File >Create Document>Empty file having navigated to the folder you want to put the empty file in. I don't think you can do it with a context menu, I'm afraid.

mcduck
August 24th, 2009, 02:08 PM
Hi,

When a folder doesn't have a lot of files in it, there's a white zone in the File Browser. If I right click in that white zone, I get a right-click menu that allows me to create new folder, create new file, ...

If however the folder has so much files that a scrollbar is needed, then the whole window is taken up by files, there's no white zone. Right clicking shows options for the file your mouse was hovering over. Is there any way at all to get the other right click menu?

Try using the icon (or small icons) view. There's always enough space to open the right-click menu.

ajgreeny
August 24th, 2009, 10:00 PM
Not always! I have a few folders with huge numbers of files (photos, generally) that still fill the whole screen even when using the smallest icons in compact view.

Seankn
August 24th, 2009, 10:03 PM
It works...

mcduck
August 25th, 2009, 09:46 AM
Not always! I have a few folders with huge numbers of files (photos, generally) that still fill the whole screen even when using the smallest icons in compact view.

There's always space between the icons. Both Icons- and Compact-modes have some amount of padding around the icons regardless of the icon size you use. Even if you set Nautilus to use compact layout.

The only setup where you might not have space is a directory that contains large number of files, viewed in the List-mode.

Wardje
August 25th, 2009, 08:52 PM
Speaking of which, is there a way to get around this if you -are- in list view?

mcduck
August 25th, 2009, 08:59 PM
Speaking of which, is there a way to get around this if you -are- in list view?

Use the File->Create Document from the menu.

ajgreeny
August 25th, 2009, 10:59 PM
There's always space between the icons. Both Icons- and Compact-modes have some amount of padding around the icons regardless of the icon size you use. Even if you set Nautilus to use compact layout.

The only setup where you might not have space is a directory that contains large number of files, viewed in the List-mode.
Yes, you are correct! Not something I knew, or so far have needed to know, but all knowledge is useful, so thanks for that little gem.

Naater
August 26th, 2009, 01:54 AM
this is what I would do to create files if there isn't room:

-I would create the file in under desktop
-then go to file browser
-right click new file
-click "cut"
-then 'paste" where-ever


That or make the window bigger.

Wardje
August 26th, 2009, 04:41 PM
Use the File->Create Document from the menu.

Well obviously you can do that, I'm talking about a way to be able to get the folder context menu by right clicking somewhere in the folder.

Naater
August 26th, 2009, 09:55 PM
That's what I suggested. Make it somewhere where there is "space" and then cut and paste it.

Naater
August 26th, 2009, 10:01 PM
Well obviously you can do that, I'm talking about a way to be able to get the folder context menu by right clicking somewhere in the folder.
My anwser is the same. Make a folder somewhere else where there is "space" and then cut and paste it.

Naater
August 26th, 2009, 10:04 PM
Gosh! sorry for triple posting and ruining everything! I ment to edit it and instead I made a new one somehow.

Wardje
August 27th, 2009, 05:29 PM
That pretty much defeats the whole point of making it easier to access, Naater.

Similar problem with dragging a folder/file into a folder that only has folders (and has enough of them to have no whitespace left), you can't deposit it anywhere since that will paste it in one of the subfolders. (You can drop it in the current folder's icon in the location bar, but that fails when you have the location bar set to show the actual path)

mcduck
August 27th, 2009, 06:20 PM
That pretty much defeats the whole point of making it easier to access, Naater.

Similar problem with dragging a folder/file into a folder that only has folders (and has enough of them to have no whitespace left), you can't deposit it anywhere since that will paste it in one of the subfolders. (You can drop it in the current folder's icon in the location bar, but that fails when you have the location bar set to show the actual path)

In that case the solution is simply to move one step up in the directory hierarchy (instead of having the directory where you want to drop the file open you'd have open the directory in which the target directory is). Now you can drop the file into that directory's icon.

Anyway, I rarely use the list view because it doesn't really work well in this kind of situations. Instead I use the icon view, and configure it to show the info I want under the icons. (file/directory sizes at 100% zoom level, and permissions at 150%).

(Besides, I prefer using Nautilus in spatial mode and list view doesn't really fit into that anyway.)