gedit underwhelms me
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2014
    Location
    California
    Posts
    354

    gedit underwhelms me

    A scratch.txt file I've been using for years with gedit all the sudden cannot be saved because of :
    "Could not save the file “/run/media/djl/argentum/scratch.txt” using the “Western (ISO-8859-15)” character encoding."
    It used to handle these characters without complaint so to me they fixed something that wasn't broken.
    I've gone through and culled the smart quotes and smart dashes that I can find but it's like looking for a needle in a haystack. It would be nice if gedit would tell me which characters it objected to.
    So the time has come to find a better text editor. Suggestions welcome. Any Notepad++ clones ported to Linux? I use Notepad++ at work.
    HP ZBook 17 G2 i7 32GB Toshiba 512GB SSD Fedora 28 (Tesseract)
    HP ZBook 17 G2 i7 16GB Corsair Force LX 256GB SSD Fedora 28 (Antares)

  2. #2
    Join Date
    Apr 2018
    Location
    Finland
    Posts
    98

    Re: gedit underwhelms me

    I'm very new with linux, so not sure is this the answer you are looking for, but Notepad++ is able to be installed on linux, you need to install snap and install Notepad++ from it. Notepadqq might be also good.
    Last edited by keikari; 3rd May 2018 at 12:25 PM.

  3. #3
    Join Date
    Dec 2017
    Location
    USA
    Posts
    57

    Re: gedit underwhelms me

    For X11-based text editors, I use scite on all DEs. It's the scintilla-based text editor for GNU/Linux: Notepad++ is its cousin. Now, Notepad++ is more fully-featured, and I miss it from my Windows days, but Scite is good enough.

    On XFCE, I also use mousepad, its built-in text editor. Since you are coming from gedit, another simple text editor might be suitable.

  4. #4
    Join Date
    Jun 2014
    Location
    California
    Posts
    354

    Re: gedit underwhelms me

    I looked at some reviews and installed Kate yesterday evening. I'll give Scite a look. Thanks.
    HP ZBook 17 G2 i7 32GB Toshiba 512GB SSD Fedora 28 (Tesseract)
    HP ZBook 17 G2 i7 16GB Corsair Force LX 256GB SSD Fedora 28 (Antares)

  5. #5
    Join Date
    Jan 2015
    Location
    Al Ain, UAE
    Posts
    815

    Re: gedit underwhelms me

    It depends on what you want to do with the text editor. For editing simple files, I use gedit or mousepad. For editing more complex source code, I use geany.
    --
    Have fun!
    http://www.aeronetworks.ca

  6. #6
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,295

    Re: gedit underwhelms me

    I just use nano these days, it won't present you with any character encoding issues and should handle the scratch content

  7. #7
    Join Date
    Feb 2009
    Location
    Florida
    Posts
    638

    Re: gedit underwhelms me

    @flyingdutchman +1

    When working Command Line I use Midnight Commander ( mc ).
    Laptop: Toshiba / Intel B960 2.20Ghz x2/ 4GB/ 320GB SataII/ Intel HD/ fc28.x86_64
    Tower: GigaByte (970A) / AMD FX 8320 3.5Ghz x8/ 16GB/ 9TB Sata III/ AMD 6770HD/ fc28.x86_64
    Bookshelf: Shuttle DS61 (H61)/ i3-3225 3.3Ghz x2/ 16GB/ 320GB Sata II/ Intel HD 4000/ fc27.x86_64
    Embedded: BeagleBone Blk / ARM AM3358 1 GHz x1/ 512MB/ 2GB eMMC/ PowerVR SGX530/ fc27.armv7hl

  8. #8
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,730

    Re: gedit underwhelms me

    One word: Emacs
    OS: Fedora 28 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  9. #9
    Join Date
    Aug 2011
    Location
    ~
    Posts
    1,942

    Re: gedit underwhelms me

    Sounds like before it showed and saved that file with illegal characters which is not something that you want because other editors could show your file differently which could lead to data loss (removal of the illegal characters).
    Instead of switching editor you should switch the encoding.
    Why are you not using UTF-8?
    Just do a save as and set the correct encoding.

  10. #10
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,317

    Re: gedit underwhelms me

    For command line I use vim and for GUI interface, GVIM.

    For C, C++ I use qt-creator or vim
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  11. #11
    Join Date
    Jun 2014
    Location
    California
    Posts
    354

    Re: gedit underwhelms me

    Thanks. I was using the default encoding and didn't know what other encoding could be used. I eventually snorkeled through the file and found all of the special characters. Some of them were smart quotes and smart dashes inherited from before Fedora 20 when I still used Windows.
    HP ZBook 17 G2 i7 32GB Toshiba 512GB SSD Fedora 28 (Tesseract)
    HP ZBook 17 G2 i7 16GB Corsair Force LX 256GB SSD Fedora 28 (Antares)

  12. #12
    Join Date
    Dec 2017
    Location
    USA
    Posts
    57

    Re: gedit underwhelms me

    On the subject of smart quotes and dashes coming from Word processor applications, I always disable those.
    In winword 2010+, you visit File -> Options -> Proofing in the left sidebar -> Autocorrect Options... button. Tab "AutoFormat As You Type."
    I always uncheck the smart quotes and hyphens-to-dashes.

Similar Threads

  1. [SOLVED]
    Gedit
    By Hewjr100 in forum Using Fedora
    Replies: 2
    Last Post: 13th June 2011, 07:04 PM
  2. Gedit via VNC
    By craig_panama in forum Using Fedora
    Replies: 1
    Last Post: 29th August 2010, 07:33 PM
  3. GEDIT help...
    By Krim in forum Using Fedora
    Replies: 0
    Last Post: 25th October 2009, 05:41 AM
  4. What is gedit?
    By maparus in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 29th July 2006, 03:17 AM
  5. Replies: 0
    Last Post: 15th June 2006, 09:54 AM

Posting Permissions

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