• Home
  • SEM
    • PPC
    • SEO
    • How To
  • Bangladesh
  • School
    • HTTP
    • REP
    • Bots n’ htaccess
    • Source Code
    • Excel 2010
    • HTML XHTML Entities
    • Gmail Operators
    • HTML & ASCII
  • About
    • Privy
    • About This Blog
  • Contact
  • বাংলা

Saidul Hassan

Digital Marketing Evangelist

Home / Bangladesh / How to color highlight .htaccess files in Xed/Gedit

How to color highlight .htaccess files in Xed/Gedit

25 Jun, 2021 By Saidul Hassan · Filed Under: Bangladesh

How to add new language highlighting to XED? httpd.conf

https://wiki.gnome.org/Projects/GtkSourceView

https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions Source page
apache.lang: Apache configuration files

apache.lang page: https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions?action=AttachFile&do=view&target=apache.lang
download: https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions?action=AttachFile&do=get&target=apache.lang

pascal.lang etc files under user/share/gtksourceview-3.0/language-specs.

Xed/Gedit color scheme/Theme

https://wiki.gnome.org/Projects/GtkSourceView/StyleSchemes

How to install
To install a style just place its XML file into a folder of the style search path.

GtkSourceView 2
A typical search path for GtkSourceView version 2 looks like:

~/.local/share/gtksourceview-2.0/styles/

/usr/share/gnome/gtksourceview-2.0/styles/

/usr/local/share/gtksourceview-2.0/styles/

/usr/share/gtksourceview-2.0/styles/

If this does not work in your distribution you can find out your style search path with this python script. To run it you need the python bindings for GtkSourceView 2. In Debian-based distributions this is package python-gtksourceview2.

GtkSourceView 3
A typical search path for GtkSourceView version 3 looks like:

~/.local/share/gtksourceview-3.0/styles/

/usr/share/gnome/gtksourceview-3.0/styles/

/usr/local/share/gtksourceview-3.0/styles/

/usr/share/gtksourceview-3.0/styles/

The following two tabs change content below.
  • Bio
  • Latest Posts
My Twitter profileMy Facebook profileMy LinkedIn profileMy Instagram profileMy Pinterest profile

Saidul Hassan

Managing Partner at Up Arrow Consulting
COO at Up Arrow Consulting, MCC manager, & Technical SEO consultant. Certified Google Partners and Microsoft Bing Ads Accredited Professional, Python enthusiast, wannabe SysAdmin. Graduated from School of Management & Business Administration (SOMBA), Khulna University.
My Twitter profileMy Facebook profileMy LinkedIn profileMy Instagram profileMy Pinterest profile

Latest posts by Saidul Hassan (see all)

  • Batch script to create directories & moving fixed number of files to those directories - 30 Apr, 2021
  • How to use PrismJS syntax highlighter on WordPress without plugin - 30 Mar, 2020
  • Download an Entire Website for Offline Viewing - 26 Nov, 2019

Share:

  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Pocket
  • Email
  • Print

First published on 20 Aug, 2018 · Last updated 25 Jun, 2021 ·

Batch script to create directories & moving fixed number of files to those directories

30 Apr, 2021 By Saidul Hassan

How to use PrismJS syntax highlighter on WordPress without plugin

30 Mar, 2020 By Saidul Hassan

Download an Entire Website for Offline Viewing

26 Nov, 2019 By Saidul Hassan

How to color highlight .htaccess files in Xed/Gedit

20 Aug, 2018 By Saidul Hassan

HMA Pro VPN Setup for Multiple Locations without User/Password Every time in Linux CLI

14 May, 2018 By Saidul Hassan

  • ♥ Bangladesh ♥
    Log in · Privacy Policy · Contact
    Copyright © 2011 Saidul Hassan

  • DMCA