[GH-ISSUE #630] In Fedora 40 in gnome-terminal asciinema 3 beta don't record colors #937

Closed
opened 2026-03-15 11:04:34 +03:00 by kerem · 3 comments
Owner

Originally created by @yodatak on GitHub (May 14, 2024).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/630


Describe the bug
When i try to record my terminal i use v3.0.0-rc.2

asciinema rec -t less /home/yodatak/Documents/asciinema/less.cast

the recording

{"version":2,"width":238,"height":49,"timestamp":1715682676,"title":"less","env":{"SHELL":"/bin/bash","TERM":"xterm-256color"},"theme":{"fg":"#ffffff","bg":"#1e1e1e","palette":"#171421:#c01c28:#26a269:#a2734c:#12488b:#a347ba:#2aa1b3:#d0cfcc:#5e5c64:#f66151:#33da7a:#e9ad0c:#2a7bde:#c061cb:#33c7de:#ffffff"}}
[0.045786, "o", "\u001b]0;yodatak@fedora:~\u0007"]
[0.046166, "o", "\u001b]7;file://fedora/home/yodatak\u001b\\"]
[0.046375, "o", "\u001b[?2004h"]
[0.046425, "o", "\u001b[32myodatak@fedora\u001b[0m:\u001b[32m~\u001b[0m$\u001b[0m "]

and i got no colors insted of

yanis@fedora:~$ ls
Bureau  Documents  Images  Modèles  monfichiermagique  Musique  Public  Téléchargements  Vidéos  zsh

but when i play asciinema play less5.cast i got colors

To Reproduce
Steps to reproduce the behavior:

  1. install ascinema on default fedora workstation 40
  2. put in player
  3. white only text
  4. See error

Expected behavior
Show the colors

Additional context
Maybe its because it dont detect the colors and only a white theme ( but i don't use it weird)
Maybe some gnome issue i don't understand

Originally created by @yodatak on GitHub (May 14, 2024). Original GitHub issue: https://github.com/asciinema/asciinema/issues/630 ----- **Describe the bug** When i try to record my terminal i use v3.0.0-rc.2 `asciinema rec -t less /home/yodatak/Documents/asciinema/less.cast` the recording ``` {"version":2,"width":238,"height":49,"timestamp":1715682676,"title":"less","env":{"SHELL":"/bin/bash","TERM":"xterm-256color"},"theme":{"fg":"#ffffff","bg":"#1e1e1e","palette":"#171421:#c01c28:#26a269:#a2734c:#12488b:#a347ba:#2aa1b3:#d0cfcc:#5e5c64:#f66151:#33da7a:#e9ad0c:#2a7bde:#c061cb:#33c7de:#ffffff"}} [0.045786, "o", "\u001b]0;yodatak@fedora:~\u0007"] [0.046166, "o", "\u001b]7;file://fedora/home/yodatak\u001b\\"] [0.046375, "o", "\u001b[?2004h"] [0.046425, "o", "\u001b[32myodatak@fedora\u001b[0m:\u001b[32m~\u001b[0m$\u001b[0m "] ``` and i got no colors insted of <pre><font color="#26A269">yanis@fedora</font>:<font color="#26A269">~</font>$ ls <font color="#12488B"><b>Bureau</b></font> <font color="#12488B"><b>Documents</b></font> <font color="#12488B"><b>Images</b></font> <font color="#12488B"><b>Modèles</b></font> monfichiermagique <font color="#12488B"><b>Musique</b></font> <font color="#12488B"><b>Public</b></font> <font color="#12488B"><b>Téléchargements</b></font> <font color="#12488B"><b>Vidéos</b></font> zsh</pre> but when i play asciinema play less5.cast i got colors **To Reproduce** Steps to reproduce the behavior: 1. install ascinema on default fedora workstation 40 2. put in player 3. white only text 4. See error **Expected behavior** Show the colors **Additional context** Maybe its because it dont detect the colors and only a white theme ( but i don't use it weird) Maybe some gnome issue i don't understand
kerem closed this issue 2026-03-15 11:04:39 +03:00
Author
Owner

@ku1ik commented on GitHub (May 14, 2024):

So you're missing the colors when replaying with the js player on your html page?

<!-- gh-comment-id:2110698332 --> @ku1ik commented on GitHub (May 14, 2024): So you're missing the colors when replaying with the js player on your html page?
Author
Owner

@yodatak commented on GitHub (May 14, 2024):

Yes I'm missing colors and the file don't show blue color of my default prompt and I canot understand why it don't record my prompts colors

<!-- gh-comment-id:2111233341 --> @yodatak commented on GitHub (May 14, 2024): Yes I'm missing colors and the file don't show blue color of my default prompt and I canot understand why it don't record my prompts colors
Author
Owner

@ku1ik commented on GitHub (May 15, 2024):

Do you use the latest version of the player? (don't forget about updating the CSS file too)

Support for original terminal colors was added in one of the recent versions of the player.

<!-- gh-comment-id:2111630855 --> @ku1ik commented on GitHub (May 15, 2024): Do you use the latest version of the player? (don't forget about updating the CSS file too) Support for original terminal colors was added in one of the recent versions of the player.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#937
No description provided.