LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is there a configuration file, script, utility or something else that will... (https://www.linuxquestions.org/questions/linux-software-2/is-there-a-configuration-file-script-utility-or-something-else-that-will-4175595025/)

L_Carver 12-08-2016 12:21 AM

Is there a configuration file, script, utility or something else that will...
 
..remove the word "Untitled" or "Untitled.(some extension) from save dialogs in Linux GUI applications?

I'm getting tired of right-arrowing to the end of the word (or word and extension), back-spacing to clear the field and pasting in the filename I want to use for file X or Y.

I'm hoping somewhere there is a way to eliminate the necessity for this step.

Why do developers do this anyway? If we're saving a file, my thinking is that ten times out of ten we want to give it an original (to us) name. So why crowd the field with a generic, "dummy" Untitled.whatever?

I Googled this, which was a pointless exercise since all the hits I saw had to do with a Mac OS X bug involving missing sidebars and flashing items in Save dialogs. Pretty broad phrasing, but by reading this post you might gather how difficult it is to put this idea in a one-line search string.

Carver

pan64 12-08-2016 01:58 AM

I would say that is an interesting question. You can find people who want to make that field auto-filled with some generated names, because otherwise it does not work. Also others want to specify names by hand and do not like this behaviour. Personally I agree with you but there are people who find it useful.

I don't know KDE, but probably you can specify the default text, so you can give another default name instead of untitled, but I'm not really sure about that. Also you can try Ctrl-Shift-left/right or double click or something similar to mark text and delete it. Probably it is selected by default and you do not need to do anything else but type the new name, the default will automatically deleted.

af7567 12-08-2016 06:08 AM

Quote:

Originally Posted by pan64 (Post 5639421)
Probably it is selected by default and you do not need to do anything else but type the new name, the default will automatically deleted.

This is what I would expect to happen if a name was already auto filled. But if it isn't already selected then pressing CTRL-A first would select the whole thing and you can just start typing the name you want.

crazy-yiuf 12-08-2016 01:00 PM

I could be completely wrong here (I don't really have a normal desktop environment), but I think this sort of configuration option would be under the jurisdiction of the freedesktop specifications. That is, it wouldn't be specific to KDE. However, I have no idea if this option exists.

Also, count my vote for the supporters of an auto-incremented default. If filename-6 exists, the "save as" default should be filename-7. There should also be an option for turning on old VAX style, where just pressing save, not save as, auto-increments. I would probably use this mode with some tweaks, like maybe a new increment every hour or every 200 bytes difference in file size.

The other alternative I'd like to see (which is what I usually use at the command line because it's so simple to implement) is date +%b-%d-h%H-m%M appended instead of the increment.

Brains 12-09-2016 11:30 PM

Quote:

Originally Posted by L_Carver (Post 5639389)
..remove the word "Untitled" or "Untitled.(some extension) from save dialogs in Linux GUI applications?

Carver

Having had some Windows software automatically highlight the name section (not extension) of the file for instant typing/pasting a name for the file, lends me to feel it is a software design issue, not a Linux GUI app issue. Most applications don't have this feature, but some do.
Most of my Linux experience is CLI, very little GUI.

BW-userx 12-10-2016 09:18 AM

same as @Brains says, but I understand your frustrations on this matter. But they cannot read your mind to name the file for you. I would think, perhaps it is done like this, for most editors, because they can save in different formats, so they created one with the default format extension attached to it, so after that thought .. I'd say to get you a complete and satiating answer to that question you will defiantly have to hunt down that very first person that did this or put this into practice and give him an ear full.

L_Carver 12-10-2016 10:29 AM

Either way it's annoying (me).
 
Quote:

Originally Posted by BW-userx (Post 5640273)
I would think, perhaps it is done like this, for most editors, because they can save in different formats.

Or no extension at all. So why not just leave it blank?

I guess I'll follow af7567's suggestion: ctrl-a, backspace. Shouldn't be too hard to make a habit of it.

Carver

BW-userx 12-10-2016 11:07 AM

Quote:

Originally Posted by L_Carver (Post 5640307)
Or no extension at all. So why not just leave it blank?


Carver

you left this part out to give you your new question you just asked me. Taking everything that I said out of context...

Quote:

I'd say to get you a complete and satiating answer to that question you will defiantly have to hunt down that very first person that did this or put this into practice and give him an ear full.


All times are GMT -5. The time now is 09:12 PM.