• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

Highlighted Text Not Visible in gedit in Dark Mode? Here’s What You Can Do

March 25, 2021 by bartez64

I love using dark mode in Ubuntu. It’s soothing on the eyes and makes the system look aesthetically more pleasing, in my opinion.

One minor annoyance I noticed is with gedit text editor and if you use it with the dark mode in your system, you might have encountered it too.

By default, gedit highlights the line where your cursor is. That’s a useful feature but it becomes a pain if you are using dark mode in your Linux system. Why? Because the highlighted text is not readable anymore. Have a look at it yourself:

Gedit Dark Mode Problem
Text on the highlighted line is hardly visible

If you select the text, it becomes readable but it’s not really a pleasant reading or editing experience.

Gedit Dark Mode Issue
Selecting the text makes it better but that’s not a convenient thing to do for all lines

The good thing is that you don’t have to live with it. I’ll show a couple of steps you can take to enjoy dark mode system and gedit together.

Making gedit reader-friendly in dark mode

You basically have two options:

  1. Disable highlight the current line but then you’ll have to figure out which line you are at.
  2. Change the default color settings but then the colors of the editor will be slightly different, and it won’t switch to light mode automatically if you change the system theme.

It’s a workaround and compromise that you’ll have to make until the gedit or GNOME developers fix the issue.

Option 1: Disable highlighting current line

When you have gedit opened, click on the hamburger menu and select Preferences.

Gedit Preferences
Go to Preferences

In the View tab, you should see the “Highlight current line” option under Highlighting section. Uncheck this. The effects are visible immediately.

Disable Highlight Line Gedit
Disable highlighting current line

Highlighting current line is a usable feature and if you want to continue using it, opt for the second option.

Option 2: Change the editor color theme

In the Preferences window, go to Font & Colors tab and change the color scheme to Oblivion, Solarized Dark or Cobalt.

Change Color Scheme Gedit
Change the color scheme

As I mentioned earlier, the drawback is that when you switch the system theme to a light theme, the editor theme isn’t switched automatically to the light theme.

A bug that should be fixed by devs

There are several text editors available for Linux but for quick reading or editing a text file, I prefer using gedit. It’s a minor annoyance but an annoyance nonetheless. The developers should fix it in future version of this awesome text editor so that we don’t have to resort to these worarounds.

How about you? Do you use dark mode on your system or light mode? Had you noticed this trouble with gedit? Did you take any steps to fix it? Feel free to share your experience.

Original Article

Related posts:

  1. How to turn on dark mode in Google apps (Update: Now including more apps)
  2. Review: EVGA X570 DARK
  3. How To Start A Premium WordPress Blog (Step-by-Step Guide)
  4. These are the best games for your Android phone
  5. These are the absolute best games you can play on the PS5
  6. 2 Ways to Enable Dark Mode on Windows 11
  7. How To — Start A WordPress Blog — Install A (Premium) WordPress Theme & Import Demo Content
  8. Google Nest Thermostat tips and tricks: Get the most out of your learning thermostat
  9. These Android games support Bluetooth controllers and they’re better for it
  10. How To Enable Or Disable Dark Mode In Microsoft Office 365 Word, Excel & PowerPoint

Filed Under: Linux

Primary Sidebar

Trending

  • How to fix Windows Update Error 80244019
  • Windows 10 Update keeps failing with error 0x8007001f – 0x20006
  • How To Change Netflix Download Location In Windows 10
  • Troubleshoot Outlook “Not implemented” Unable to Send Email Error
  • How do I enable or disable Alt Gr key on Windows 10 keyboard
  • How To Install Android App APK on Samsung Tizen OS Device
  • 3 Ways To Open PST File Without Office Outlook In Windows 10
  • FIX: Windows Update error 0x800f0986
  • How to Retrieve Deleted Messages on Snapchat
  • Latest Samsung Galaxy Note 20 leak is a spec dump revealing key features
  • Install Android 7.0 Nougat ROM on Galaxy Core 2 SM-G355H
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • Websites to Watch Movies Online – 10+ Best Websites Without SignUp/Downloading
  • How to Backup SMS Messages on Your Android Smartphone
  • How to delete a blank page at the end of a Microsoft Word document
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  • Samsung Galaxy Z Fold 3 could be scheduled for June 2021, with S Pen support

Footer

Tags

Amazon amazon prime amazon prime video Apple Application software epic games Galaxy Note 20 Galaxy S22 Plus Galaxy S22 Ultra Google Sheets headphones Huawei icloud Instagram instant gaming ip address iPhone iphone 12 iphone 13 iphone 13 pro max macOS Microsoft Microsoft Edge Mobile app office 365 outlook Pixel 6 Samsung Galaxy Samsung Galaxy Book 2 Pro 360 Samsung Galaxy Tab S8 Smartphone speedtest speed test teams tiktok Twitter vpn WhatsApp whatsapp web Windows 10 Windows 11 Changes Windows 11 Release Windows 11 Update Windows Subsystem For Android Windows 11 Xiaomi

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org