Skip to content

Commit

Permalink
Add linux/thunar
Browse files Browse the repository at this point in the history
  • Loading branch information
maddouri committed Sep 25, 2018
1 parent 65f0e2a commit 67a796f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions linux/thunar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# CMake GUI Here for Nemo

## Install

1. Add the following to `~/.config/Thunar/uca.xml`

```xml
<action>
<icon></icon>
<name>CMake GUI Here</name>
<!-- You might need to change this value -->
<unique-id>1537910568312016-8</unique-id>
<!-- Replace 'cmake-gui' with the path to cmake-gui if necessary -->
<command>cmake-gui &quot;-H$(echo %f)&quot; &quot;-B$(echo %f)/build&quot;</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
```

## Usage

1. Right-click on the "background" of a directory containing a `CMakeLists.txt` file
1. Choose `CMake GUI Here`

## Uninstall

1. Remove the added `<action>` node that contains `CMake GUI Here` from `~/.config/Thunar/uca.xml`

## Credit

* https://classicforum.manjaro.org/index.php?topic=17759.0

0 comments on commit 67a796f

Please sign in to comment.