Hello,
Is there a way to make a keyboard shortcut to create a new dir or a new file anywhere in desktop, file manager..., instead of a right mouse click?
Thank you in advane





mkdir /home/yourusername/Desktop/newtouch /home/yourusername/Desktop/new


viking777 wrote:Well you could do it this way, but it would only create a folder on your desktop, not anywhere else. Open Settings>Keyboard>Application Shortcuts and click add, for the command use:(substitute your proper username of course).
- Code: Select all
mkdir /home/yourusername/Desktop/new
Type the keyboard shortcut you want to use. That is it. The command for a file on your desktop would be:(with a different keyboard shortcut).
- Code: Select all
touch /home/yourusername/Desktop/new
File managers usually have a shortcut for creating files and folders. On Thunar the command for a new folder is Ctl/Shift/n, but it doesn't seem to have one for a new file (my file manager does have one - Ctl/Shift/f - but I guess that doesn't help you much).
Basically you can do certain things, but if you expect one shortcut to create new files and folders in all places then I don't think that exists, you will have to right click like the rest of us do.

Users browsing this forum: No registered users and 6 guests