How to add shortcut-key to create a New Text File in Dolphin
I am using KDE+Dolphin and when I need to add a new folder I either go the long way with "Right click > Create New > Folder...", or use the F10 shortcut key.
Another option I use a lot is "Right click > Create New > Text File..." but it has no shortcut key. I entered the "Configure Keyboard Shortcuts..." menu to add a shortcut key for creating a Text File, but to my surprise there is no such option.
I reviewed the shorcut's configuration file and noticed that "create_dir=F10" is the option to create a new folder: What would be the shortcut configuration option for creating a text file (is it possible)? How about adding shortcut keys for other file types, such as HTML?
Solution 1:
I came up against the same problem. Creating new text documents is a HUGE part of my workload, and this would save a lot of time.
Unfortunately, I have not yet found a way to make a shortcut key for it. (Though I'm investigating Xbindkeys -- with that, you can (globally) assign console commands to keyboard shortcuts but I need to figure out how to make it aware of what window has focus and what folder dolphin has open, so that the console command knows what folder to create the new text document in. And then I'd need to write a script that shoots up a pop-up window asking for the document name... As you can see, definitely not quite there yet.)
Anyway, I do kind of have a bit of a workaround that may help you. If you go to: dolphin's menu --> Configure Toolbars... you can add new items to the toolbar, and one of the items you can add is 'create new'.
Once that's added to the toolbar, that streamlines things a little bit.
Before: right click empty area --> click create new --> click text document
After: click create new --> click text document
Not much, I know, but it is a little bit faster.
Maybe send a feature request to the dolphin developers for this keyboard shortcut? Adding new (not assigned by default) keyboard shortcuts is usually fairly easy, and developers are often happy to do it.