Results 1 to 5 of 5

Thread: How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

  1. #1
    Join Date
    Feb 2015
    Location
    Chico, California
    Posts
    51

    Default How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

    In Microsoft Windows, I can enable or disable file name extensions. I always want extensions on. Like "myfile.txt" instead of just "myfile". That way I can tell the file type right away. I searched the Dolphin documentation but didn't find anything. I also looked in the Dolphins settings, but found nothing to enable this. Can this be enabled with Linux?

    Thanks...

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,004

    Default Re: How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

    Linux does not use file extensions but instead probes for the file type and automatically decides what the file is. Dolphin by default already shows the full file name if it has an extension (usually copied from Windows or other systems).

    If you want, you can go to Details View Mode and then right click on the bar where it says Name, Size, Date and choose "Type".
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,973

    Default Re: How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

    Linux is not Windows and Windows is not Linux.

    Unix/Linux has no concept of file extentions. However you can give file names to your liking and thus when you want to give files which have a (special to you) type of contents, you can of course give them names that have a suffix like .text.

    Many applications on the other hand use that same type of "AHA" when they are offered files which have names with particular suffixes (or they create such file names by default).

    You do not tell which desktop you use (I guess KDE because of you mentioning Dolphin) and KDE also uses a lot of these suffixes to be able to start the most fitting application for them. They are predefined in KDE and you can change that configuration through System Settings > File name Associations.

    But please be aware of the fact that these are only character combinations at the end of a file name and there are no world-wide definitions for usage.

    Look at this:
    Code:
    henk@boven:~/test/bestanden> ls -l
    totaal 324
    -rw-r--r--  1 henk wij   3964 10 mei  2013 ASH.html
    -rw-r--r--  1 henk wij    796 10 mei  2013 index.html
    -rw-r--r--  1 henk wij 157943 10 mei  2013 verf.gif
    -rw-r--r--  1 henk wij 157943 10 mei  2013 verf.jpeg
    -rw-r--r--  1 henk wij    122 10 mei  2013 WARNING_README.txt
    henk@boven:~/test/bestanden>
    That may give you an idea about what is in those files. The file tool is good in checking these things:
    Code:
    henk@boven:~/test/bestanden> file *
    ASH.html:           HTML document, UTF-8 Unicode text
    index.html:         HTML document, ASCII text
    verf.gif:           JPEG image data, JFIF standard 1.01
    verf.jpeg:          JPEG image data, JFIF standard 1.01
    WARNING_README.txt: ASCII text
    henk@boven:~/test/bestanden>
    and note that verf.gif and verf.jpeg are straight file copies of each other!
    Henk van Velden

  4. #4
    Join Date
    Feb 2015
    Location
    Chico, California
    Posts
    51

    Default Re: How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

    Quote Originally Posted by Miuku View Post
    If you want, you can go to Details View Mode and then right click on the bar where it says Name, Size, Date and choose "Type".

    Good enough, that works!

  5. #5
    Join Date
    Feb 2015
    Location
    Chico, California
    Posts
    51

    Default Re: How does one turn on file name extentions in Linux so Dolphin will show "myfile.txt"

    Quote Originally Posted by hcvv View Post
    Linux is not Windows and Windows is not Linux.

    Unix/Linux has no concept of file extentions. However you can give file names to your liking and thus when you want to give files which have a (special to you) type of contents, you can of course give them names that have a suffix like .text.

    Many applications on the other hand use that same type of "AHA" when they are offered files which have names with particular suffixes (or they create such file names by default).

    You do not tell which desktop you use (I guess KDE because of you mentioning Dolphin) and KDE also uses a lot of these suffixes to be able to start the most fitting application for them. They are predefined in KDE and you can change that configuration through System Settings > File name Associations.

    But please be aware of the fact that these are only character combinations at the end of a file name and there are no world-wide definitions for usage.

    Look at this:
    Code:
    henk@boven:~/test/bestanden> ls -l
    totaal 324
    -rw-r--r--  1 henk wij   3964 10 mei  2013 ASH.html
    -rw-r--r--  1 henk wij    796 10 mei  2013 index.html
    -rw-r--r--  1 henk wij 157943 10 mei  2013 verf.gif
    -rw-r--r--  1 henk wij 157943 10 mei  2013 verf.jpeg
    -rw-r--r--  1 henk wij    122 10 mei  2013 WARNING_README.txt
    henk@boven:~/test/bestanden>
    That may give you an idea about what is in those files. The file tool is good in checking these things:
    Code:
    henk@boven:~/test/bestanden> file *
    ASH.html:           HTML document, UTF-8 Unicode text
    index.html:         HTML document, ASCII text
    verf.gif:           JPEG image data, JFIF standard 1.01
    verf.jpeg:          JPEG image data, JFIF standard 1.01
    WARNING_README.txt: ASCII text
    henk@boven:~/test/bestanden>
    and note that verf.gif and verf.jpeg are straight file copies of each other!
    Correct, it is KDE in openSUSE 13.2

    Thanks!
    Last edited by Secret68; 02-Mar-2015 at 13:17. Reason: Corrections

Posting Permissions

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