Photon file manager
pfm [-h height[%]] [-S i|m|n] [-s server] [-w width[%]] [-x position[%][r]] [-y position[%][r]]
Neutrino
If server_name is: | This server is used: |
---|---|
node_path | node_path/dev/photon |
fullpath | fullpath |
relative_path | /dev/relative_path |
The pfm utility starts a graphical file manager that lets you browse directories and files, create and edit files, and so on.
The Photon file manager represents files and folders graphically. Double-click on a folder to open it and display its contents. Double-click on a file to open it in an associated application (if an association exists). The file manager also supports drag-and-drop operations — for example, you can drag a file to a folder to move it there. You can right-click on a file or folder to view a shortcut menu, which contains a subset of the commands that are listed below.
You can quickly jump to an item in a long list by typing in the first few letters of the file or directory name.
Task | Menu command | Shortcut |
---|---|---|
Create a new file | F3 | |
Create a new folder | F4 | |
Open a new file-manager window | Ctrl-N | |
Open a selected folder | Enter | |
Open a selected folder in a new file-manager window | Ctrl-Enter | |
View a selected file* | ||
Edit a selected file* | Ctrl-E | |
Open a selected file with a specific application | Shift-Enter | |
Open a pterm window with the path set to the current directory | Ctrl-T | |
Refresh the file list | F5 | |
Print the current file | Ctrl-P | |
Print the current directory listing | ||
View or change a file's properties, including its size, owner, read/write/execute permissions, and access mode. | F9 | |
Close the Photon file manager | Alt-X |
* You can view or edit only file types that are associated with an application. Use the
command to add or change file-type associations.
Task | Menu command | Shortcut |
---|---|---|
Cut the selected file or folder and put it in the Photon clipboard | Ctrl-X | |
Copy the selected file or folder to the Photon clipboard | Ctrl-C | |
Paste a folder or file from the Photon clipboard into the current directory | Ctrl-V | |
Delete the currently selected file or folder | Delete | |
Rename the currently selected file or folder | F2 | |
Copy a file or folder to a defined bookmark location or a location that you specify | ||
Select all files and folders in the current directory | Ctrl-A | |
Select all files or folders in the current directory that match a defined pattern | Ctrl-S | |
Unselect all selected files and folders | Ctrl-U | |
Unselect all selected files and folders based on a defined pattern | ||
Invert the current selection—that is, selected files are unselected, and unselected files are selected | Ctrl-I | |
View or edit file-manager preferences, including whether to hide system files, font, and prompt behavior. See Setting pfm Preferences below. | F10 | |
View or edit the associations between file types and applications. These definitions determine whether you can view or open a file from within file manager. | F11 |
Task | Menu command | Shortcut |
---|---|---|
View the last directory listing viewed | Alt-← | |
View the next directory listing viewed (only available after you've used the back command) | Alt-→ | |
Move up one level in the directory tree | Backspace | |
View the home directory for the current user | F6 | |
Add the current directory to the bookmark list | Ctrl-D | |
Remove the current directory from the bookmark list | Ctrl-R | |
View a bookmarked directory |
You can set pfm preferences by selecting
. Use the Preferences dialog to configure the following settings:Setting | Description |
---|---|
Filelist Options | These settings allow you to show or hide system files that begin with a period (“dot” files), and list folders before files regardless of alphabetical order. |
Filename Encoding | These settings specify how pfm displays non-UTF8 encoded file names. |
Filelist Font and Hotlist Font | These settings specify the font, style, and size to use in the file list and the bookmarks (hotlist). |
KeyFind Timeout | This setting specifies the maximum time in milliseconds between keystrokes before the find by typing feature resets itself. Set to 0 to disable reset. |
Copy/Move Overwrite and Delete | These settings configure whether pfm prompts you before copying, moving, or deleting files. |
Run PFM using Photon server on node my_node:
pfm -s/net/my_node/dev/photon
Run PFM at initial position (10,10) with an initial dimension of 200×300:
pfm -x10 -y10 -h200 -w300
“Browsing files with the File Manager” in the Using the Photon microGUI chapter of the Neutrino User's Guide