Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848822 - x11-terms/kitty-0.25.0 shell_integration no-cursor does not work
Summary: x11-terms/kitty-0.25.0 shell_integration no-cursor does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-31 17:14 UTC by Vitja Makarov
Modified: 2022-06-02 15:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitja Makarov 2022-05-31 17:14:11 UTC
Hi!

Trying to switch to kitty terminal emulator. Trying to disable beam cursor and use block instead. It does not work out of the box. Official documentation says that this can be achieved by disabling cursor shell integration https://sw.kovidgoyal.net/kitty/conf/

shell_integration no-cursor
cursor_shape block

And it does not work under gentoo.

It looks to me that kitty evaluates shell-integration scripts twice:

- one time for x11-terms/kitty-shell-integration package
- and one time for x11-terms/kitty

Fixed by removing /etc/bash/bashrc.d/kitty.bash symlink file.

Thank you!
Comment 1 Ionen Wolkens gentoo-dev 2022-05-31 17:35:02 UTC
This is already fixed with kitty-0.25.1 which added a check to ensure it doesn't run twice (it's in ~testing currently if want to try it, no-cursor seems to work for me).
Comment 2 Ionen Wolkens gentoo-dev 2022-05-31 17:39:51 UTC
(In reply to Ionen Wolkens from comment #1)
> This is already fixed with kitty-0.25.1 which added a check to ensure it
> doesn't run twice (it's in ~testing currently if want to try it, no-cursor
> seems to work for me).
And for the record, will likely mark it stable in 2-3 days.
Comment 3 Vitja Makarov 2022-05-31 17:43:26 UTC
thank you, I confirm that 0.25.1 fixes the issue!
Comment 4 Vitja Makarov 2022-05-31 17:44:01 UTC
fixed in 0.25.1
Comment 5 Larry the Git Cow gentoo-dev 2022-06-02 15:07:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de4878eeec9150e18b29d7991b9a71cecb62d5e

commit 4de4878eeec9150e18b29d7991b9a71cecb62d5e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-06-02 14:49:28 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-06-02 14:57:01 +0000

    x11-terms/kitty: stabilize 0.25.1 for amd64, x86
    
    Early'ish but to get fix for bug #848822 in
    
    Bug: https://bugs.gentoo.org/848822
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-terms/kitty/kitty-0.25.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)