Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 114

Thread: Dolphin adds a txt extension to ini files

  1. #11
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Dolphin adds a txt extension to ini files

    On 2014-03-04 17:06, tsu2 wrote:
    > To avoid appending a file extension, you shouldn't create the new file
    > using a File Manager (or any Desktop GUI environment which typically
    > will build on the File Manager's functionality).


    IMHO, you should not require to go to a CLI to create a new file like that.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  2. #12
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,147

    Default Re: Dolphin adds a txt extension to ini files

    Quote Originally Posted by flymail View Post

    > If I right click in dolphin 1.3, create new text file, and enter name
    > "new.ini" it also saves new.ini without the txt extension.


    This is aimed at Henk: . But of course Henk is right: we shouldn't have to guess.
    Ah. That is a description on how to do this. I can now do this also. I have Dolphin 4.11.5. And when I create a file new.ini in the way described, it is called new.ini.
    My conclusion, when a newer version of Dolphin (that is newer then the official openSUSE 13.1 one) does add that .txt suffix, then that is a bug IMHO. I am not sure if one should file this at the openSUSE Bugzulla or direct at KDE (maybe both?)

    I must add that I never have done this before. And what is created is a bit strange. It is a two character file with the characters space and line-feed. I miss completely how this can be useful. But when anybody sees a use for it, then (s)he is correct that it should function correct. The problem here seems also that the OP thinks that what he uses everyday, is used by almost all other people and that his/her a precise description is not needed. Alas, this is not the case. Unix/Linux has many ways to do things and most people use only a small subset.
    Last edited by hcvv; 04-Mar-2014 at 13:47.
    Henk van Velden

  3. #13
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Dolphin adds a txt extension to ini files

    On 2014-03-04 18:06, finders wrote:
    >
    > Look, if I run "mcedit new.ini" and save the file in mcedit, it saves as
    > new.ini, not new.ini.txt.
    > If I right click in dolphin 1.3, create new text file, and enter name
    > "new.ini" it also saves new.ini without the txt extension.
    > In new dolphin from 4.12 it adds txt extension, which I don't need. Then
    > I manually have to remove it, which is annoying.


    I just tried with Dolphin 4.11.5 (default openSUSE 13.1), right clicked
    on an empty directory, selected "create new", then "Text file". I
    entered as name "pepe.ini" and got "pepe.ini.txt".

    But this is not a bug, it is intentional. I asked for a text file, and
    got a text file, ie, ".txt".

    Me, I would prefer the logic to see that I did type an extension, and
    that the software did not try to be so clever and add another extension
    automatically. Windows does exactly the same and I hate it.

    I'm not familiar with KDE. Maybe there is a template folder where you
    can define the types of "new" files you can create, and there add a
    "create ini file" entry. Dunno.

    Or maybe the action to add the extension automatically can be configured
    somewhere - as I said, I'm not that familiar with KDE.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  4. #14
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Dolphin adds a txt extension to ini files

    On 2014-03-04 19:26, finders wrote:
    > Quote the part where I was asking for help.
    > You just assume it's my fault the app is doing this and suggest I should
    > get some help?
    > Last time I mention any bug on this forum, I'll just keep it shut from
    > now on.


    Please, don't be mad at us :-)

    We automatically assume you are asking for help, because the purpose of
    this forum is to ask for help. Non help requests are typically moved by
    moderators to other, more appropriate, subforums here.

    If you are trying to report a bug, well, this is not the place. Bug
    reports are made on Bugzilla:

    openSUSE:Submitting bug
    reports


    (my guess is they will tell you to report this thing upstream, as it is
    probably an "intentional feature". Just a guess, though).

    If your intention is to ask whether something is a bug or not, prior to
    reporting it, then just say so on the first post, so that people don't
    get confused :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  5. #15
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Dolphin adds a txt extension to ini files

    On 2014-03-04 21:48, Carlos E. R. wrote:
    > On 2014-03-04 18:06, finders wrote:



    > I just tried with Dolphin 4.11.5 (default openSUSE 13.1), right clicked
    > on an empty directory, selected "create new", then "Text file". I
    > entered as name "pepe.ini" and got "pepe.ini.txt".
    >
    > But this is not a bug, it is intentional. I asked for a text file, and
    > got a text file, ie, ".txt".


    And if I hit "F2" to rename the file, it automatically highlights the
    name, only, skipping the .txt extension. It is mimicking the Windows
    explorer behaviour.

    At least it shows it, doesn't hide extensions >:-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  6. #16

    Default Re: Dolphin adds a txt extension to ini files

    On 03/04/2014 03:58 PM, Carlos E. R. pecked at the keyboard and wrote:
    > On 2014-03-04 21:48, Carlos E. R. wrote:
    >> On 2014-03-04 18:06, finders wrote:

    >
    >> I just tried with Dolphin 4.11.5 (default openSUSE 13.1), right clicked
    >> on an empty directory, selected "create new", then "Text file". I
    >> entered as name "pepe.ini" and got "pepe.ini.txt".
    >>
    >> But this is not a bug, it is intentional. I asked for a text file, and
    >> got a text file, ie, ".txt".

    > And if I hit "F2" to rename the file, it automatically highlights the
    > name, only, skipping the .txt extension. It is mimicking the Windows
    > explorer behaviour.
    >


    OH NO we've been infiltrated. Run for the hills. :-)

    Ken

  7. #17
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Dolphin adds a txt extension to ini files

    On 2014-03-04 21:56, hcvv wrote:

    > I must add that I never have done this before. And what is created is a
    > bit strange. It is a two character file with the characters space and
    > line-feed. I miss completely how this can be useful. But when anybody
    > sees a use for it, then (s)he is correct that it should function
    > correct.


    I guess (because that is how Windows does it, and I looked it up a
    decade ago), that there is a folder with a sample of each of those empty
    new files.

    For instance, you can select "create new spreadsheet document". It does,
    and you can double click on it and Libre Office opens it, automatically.

    Code:
    
    > cer@Telcontar:~/tmp/AAA.1> l
    > total 16
    > drwxr-xr-x  2 cer users   53 Mar  4 22:13 ./
    > drwxr-xr-x 66 cer users 4096 Jan 22 00:46 ../
    > -rw-r--r--  1 cer users 6301 Mar  4 22:12 Spread Sheet Document
    > -rw-r--r--  1 cer users    2 Mar  4 21:36 pepe.ini.txt
    > cer@Telcontar:~/tmp/AAA.1> file Spread\ Sheet\ Document
    > Spread Sheet Document: OpenDocument Spreadsheet
    > cer@Telcontar:~/tmp/AAA.1>
    Somewhere there is a template for that new file, and it can be changed,
    or new templates added. I guess.


    This is a common usage pattern in Windows, many people use it. I used it
    a lot when I used Windows. People expect to find those features in
    Linux, too. You don't use it, I almost do not use it, but many other
    people do :-)



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  8. #18

    Default Re: Dolphin adds a txt extension to ini files

    On 03/04/2014 04:53 PM, Carlos E. R. pecked at the keyboard and wrote:
    > On 2014-03-04 21:56, hcvv wrote:
    >
    >> I must add that I never have done this before. And what is created is a
    >> bit strange. It is a two character file with the characters space and
    >> line-feed. I miss completely how this can be useful. But when anybody
    >> sees a use for it, then (s)he is correct that it should function
    >> correct.

    > I guess (because that is how Windows does it, and I looked it up a
    > decade ago), that there is a folder with a sample of each of those empty
    > new files.
    >
    > For instance, you can select "create new spreadsheet document". It does,
    > and you can double click on it and Libre Office opens it, automatically.
    >
    >
    Code:
    
    >> cer@Telcontar:~/tmp/AAA.1> l
    >> total 16
    >> drwxr-xr-x  2 cer users   53 Mar  4 22:13 ./
    >> drwxr-xr-x 66 cer users 4096 Jan 22 00:46 ../
    >> -rw-r--r--  1 cer users 6301 Mar  4 22:12 Spread Sheet Document
    >> -rw-r--r--  1 cer users    2 Mar  4 21:36 pepe.ini.txt
    >> cer@Telcontar:~/tmp/AAA.1> file Spread\ Sheet\ Document
    >> Spread Sheet Document: OpenDocument Spreadsheet
    >> cer@Telcontar:~/tmp/AAA.1>
    >
    >
    > Somewhere there is a template for that new file, and it can be changed,
    > or new templates added. I guess.
    >
    >
    > This is a common usage pattern in Windows, many people use it. I used it
    > a lot when I used Windows. People expect to find those features in
    > Linux, too. You don't use it, I almost do not use it, but many other
    > people do :-)
    >
    >
    >

    But in linux we never used an extension to specify the content of a
    file. Perhaps retraining windows converts is a better plan of attack.

    Ken

  9. #19
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Dolphin adds a txt extension to ini files

    Quote Originally Posted by finders View Post
    Look, if I run "mcedit new.ini" and save the file in mcedit, it saves as new.ini, not new.ini.txt.
    If I right click in dolphin 1.3, create new text file, and enter name "new.ini" it also saves new.ini without the txt extension.
    In new dolphin from 4.12 it adds txt extension, which I don't need. Then I manually have to remove it, which is annoying.
    Whatever, I give up on KDE 4.12 anyway, if I could downgrade to 4.4 I would do it right now.
    Personally, I prefer if it just uses the file extension I provide, but I do not have an issue with it. I find it is simple to just hit F2 right away, hit END, and delete it with the backspace key. Takes way longer to say than to do, and is no big deal to me.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  10. #20
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Dolphin adds a txt extension to ini files

    Quote Originally Posted by kensch View Post
    But in linux we never used an extension to specify the content of a
    file. Perhaps retraining windows converts is a better plan of attack.

    Ken

    Nope.

    Most of us want more Windows users to convert to openSUSE Linux.

    Thus, providing familiar methods to do things will make the switch more comfortable, less intimidating.

    They come here, they start using it in familiar ways, then the retraining takes place by osmosis.

    ... and that way, fewer tend to go back.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

Page 2 of 12 FirstFirst 1234 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •