Tips and Troubleshooting
Every key and mouse action of the main window and the Design window in one place, some tips for working with color, the complete list of files Gamut writes, the limitations that apply to all of Gamut, and how to report a problem.
1. Keys and mouse
| Main window | What it does |
|---|---|
Ctrl+Alt+Z |
Start a pick (the same as Pick Color). |
Click, or Enter (while picking) |
Pick the pixel under the pointer. |
| Arrow keys (while picking) | Move the pointer by one pixel. |
Mouse wheel, + (or =), - (while picking) |
Magnify more or less. |
Right click, or Escape (while picking) |
Cancel the pick. |
Enter in the hex entry or a spin box |
Use the typed value. A click anywhere else does the same. |
Mouse wheel over a spin box, or Up and Down in it |
Step its value (Page Up and Page Down by ten steps). |
| Click a harmony hex label | Copy it. |
| Drag a harmony or Theming swatch onto the Design window's Color Map | Bring the colors into the page (by the drop mode). |
| Click a Theming hex value or name | Make it the current color, and copy it. |
| Mouse wheel on the Theming tab | Scroll the swatches. |
| Click the gradient strip | Add a stop. |
Right click a stop, or Delete / Backspace |
Remove a stop. |
| Double-click or right-click a midpoint diamond | Center it again. |
Ctrl+C in a Values field |
Copy the selected text. |
| Design window | What it does |
|---|---|
| Drag a Color Map swatch onto the page | Color one element (a menu asks what). |
| Drag the gradient strip onto the page | Give an element that gradient as its background. |
| Drag a Color Map swatch onto the main window | Make it the current color. |
| Click under a palette swatch | Type a new hex value for it; Enter applies, Escape cancels. |
| Right-click a palette swatch | Lock or unlock that palette color. |
Alt+F, Alt+E, Alt+H |
Open the File, Edit or Help menu; then the arrow keys, Enter and Escape. |
| Click an element (with Inspector on) | Inspect it; click a value to copy it. |
| Mouse wheel | Scroll the page, the Color Map or the inspector. |
The measurement overlay's keys are listed in Measuring the Screen, and on the screen with /.
2. Tips
- Sample without Gamut in the way: tick Hide on pick.
- Hit an exact pixel: pick with the arrow keys and
Enter, at a high magnification. - Harmonies that look balanced: build them in OKLCh or CAM16-UCS. Their opposite hues are opposite to the eye, not only in the numbers.
- Gradients that stay bright in the middle: interpolate in OKLCh or OKLab, and compare with the sRGB strip under the bar.
- Work from an existing site's colors: open its stylesheet on the Theming tab and click the colors you like, or load the page in the Design window.
- Check a palette for everyone: use the Design window's Vision list, then the overlay's contrast check (
W) or the inspector's contrast bar.
3. Where Gamut keeps things
| File or folder | What is in it |
|---|---|
~/.config/gamut/gamut.conf |
The names of the main theme and the editor theme. |
~/.config/gamut/state.dat |
Everything else Gamut remembers, written when it closes: the color and its alpha, the main window's place, the magnification, the color model, the scheme and its settings, the viewing conditions, the chosen tab, the gradient's settings and stops, the Values group and separator, the alpha checkbox, Live hex and Hide on pick, the Theming tab's file, the Design window (open or not, size, place, page, stylesheets, folders, drop mode and checkboxes), and the Measurement Settings dialog (open or not, and its place). |
~/.config/gamut/themes/ |
The themes (see Settings and Themes). |
~/.config/gamut/editor_theme/ |
The editor themes' files (their colors). |
~/.config/gamut/help/ |
The built-in help pages, written again at each start. |
~/.config/gamut/zoom.xpm |
The magnifier's last picture, written after each pick and when Gamut closes, read at the next start. |
~/.config/gamut/file_dialog.txt |
What the Open CSS File dialog remembers: favorites, hidden files, columns and sort. |
~/.config/gamut/measure/config.json |
The Measurement Settings. |
~/.config/gamut/measure/session.json |
The overlay's measurements and palette. |
~/measure-export.svg, .css, .json |
The overlay's exports. |
All of these are in Gamut's folder, ~/.config/gamut/, except the exports. When $XDG_CONFIG_HOME is set to a full path (one that starts with /), the folder is $XDG_CONFIG_HOME/gamut/ instead. Deleting the folder (with Gamut closed) puts Gamut back to its first start; the themes, editor themes and help are written again.
Earlier versions kept the measurement files in ~/.local/share/measure/. Gamut still reads them from there while the new ones are missing, and writes the new ones in its own folder; you can delete the old folder after that.
4. Known limitations
- Gamut runs on X11 only.
- The main window has a fixed size, 700 by 600 pixels.
- The Design window needs WPE WebKit and Gamut's backend for it; its page is drawn with software OpenGL.
- The measurement overlay shows the live screen only with OpenGL (GLX with texture-from-pixmap) and the composite extensions; see Measuring the Screen.
- Gamut has no command-line options and does not open files given to it.
- Two copies of Gamut running at once share the same files; the one closed last decides what is remembered.
- Each window has limitations of its own, listed at the end of its page.
5. Reporting a problem
Open an issue at gitlab.com/liquibyte/gamut/-/issues with:
- what you did, what you expected, and what happened;
- your distribution, and anything
./gamutprinted when started from a terminal; - a screenshot, if it is something you can see.