# Open .rkt files in gedit (linux mint)

**URL:** <https://racket.discourse.group/t/open-rkt-files-in-gedit-linux-mint/1324>\
**Category:** General\
**Created:** [September 23, 2022, 7:08pm UTC](https://racket.discourse.group/t/open-rkt-files-in-gedit-linux-mint/1324 "2022-09-23T19:08:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j831526](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@j831526](https://racket.discourse.group/u/j831526)\
**Post date:** [September 23, 2022, 7:08pm UTC](https://racket.discourse.group/t/open-rkt-files-in-gedit-linux-mint/1324/1 "2022-09-23T19:08:14Z")

</div>

When I open a .rkt file there is no markup on the source; it's all white. If I tell gedit it's a scheme file, I get the markup, but gedit doesn't seem to have an option for recognizing racket source file:(

---

<div class="post-metadata">

**Author:** ![slbtty](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/slbtty/32/28_2.png) [@slbtty](https://racket.discourse.group/u/slbtty)\
**Post date:** [September 24, 2022, 1:04pm UTC](https://racket.discourse.group/t/open-rkt-files-in-gedit-linux-mint/1324/2 "2022-09-24T13:04:56Z")

</div>

You can go `/usr/share/gtksourceview-X/language-specs/` (the X might be 3 or 4 depends on gedit's version)

Open `scheme.lang` which is a XML file,

In this line

```xml
   <property name="globs">*.scm</property>

```

Change the `*.scm` to `*.scm;*.rkt`

Then all gtksourceview based editor, include gedit, will automatically recognize .rkt file as scheme

---

<div class="post-metadata">

**Author:** ![j831526](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@j831526](https://racket.discourse.group/u/j831526)\
**Post date:** [September 25, 2022, 6:05pm UTC](https://racket.discourse.group/t/open-rkt-files-in-gedit-linux-mint/1324/3 "2022-09-25T18:05:00Z")

</div>

Bingo - Thanx ... Charlie
