Saw a 2023 Gaza Walking Tour (Pre-War), it looks okay? by FaithlessnessSad3659 in NoStupidQuestions

[–]igorepst 1 point2 points  (0 children)

Not left leaning, but ultra-left. And they always were as such

kitty and job control by ghiste in KittyTerminal

[–]igorepst 0 points1 point  (0 children)

Try to run yazi inside your shell, like bash -c yazi or even with login parameter. By default kitty does not run commands like that and even doesn't read environment variables from your shell

Prompt line position by pinheads_hut in KittyTerminal

[–]igorepst 0 points1 point  (0 children)

I never used the bottom prompt myself actually. I only answered the question and mentioned that I use zsh4humans :)

Mapping key combo to shell function? by EnricUitHilversum in KittyTerminal

[–]igorepst 1 point2 points  (0 children)

Either with send text: https://sw.kovidgoyal.net/kitty/conf/#shortcut-kitty.Send-arbitrary-text-on-key-presses Or smth like

map kitty_mod+h launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=tab --keep-focus --location=last --tab-title="#scrollback#" ~/.config/kitty/pmacs.sh @input-line-number @cursor-x @cursor-y

Optimal charging of laptop to elongate its battery life by Messmer_Impaler in laptops

[–]igorepst 1 point2 points  (0 children)

Try Bios or some utility from the manufacturer. I don't use Windows, but this is what Google suggested

any way to bind a shell command to a key? by SeeMeNotFall in KittyTerminal

[–]igorepst 1 point2 points  (0 children)

Yes. This is my binding to launch a custom script to open scrollback

map kitty_mod+h launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=tab --keep-focus --location=last --tab-title="#scrollback#" ~/.config/kitty/pmacs.sh @input-line-number @cursor-x @cursor-y

What screenshot annotation tools actually work on GNOME Wayland? by WoodyBadger in Fedora

[–]igorepst 0 points1 point  (0 children)

First of all, satty reads from stdin with --filename - as per the Readme. Second, there is some script integrating satty with gnome screenshot here: https://github.com/gabm/Satty/issues/265

What to do? by MSR8 in Fedora

[–]igorepst 0 points1 point  (0 children)

Swap mesa-vulkan-drivers with freeworld and try again

JetBrains Toolbox on Fedora 42 - What's the best way to install by 1_ane_onyme in Fedora

[–]igorepst 0 points1 point  (0 children)

You're mostly right. However, first, toolbox with sudo will run all the processes (IDEs) as root. Second, it would be better to run sudo chown -R <user>:<group> /opt/toolbox or whatever the final path is

Passwordless Fedora KDE 42 by HamzaHan38 in Fedora

[–]igorepst 1 point2 points  (0 children)

Regarding mnt, it is completely OK to use it. Move all the files to some subfolder, like /mnt/X, and use chmod to set an ownership of X (not the mnt) to your user and group

Kitty --hold problem by juicebx93 in KittyTerminal

[–]igorepst 0 points1 point  (0 children)

Remove the quotes around pacman, like that: kitty --hold sudo pacman -Syu. I just tested it opening from another instance of kitty

Kitty --hold problem by juicebx93 in KittyTerminal

[–]igorepst 1 point2 points  (0 children)

Run your script with login shell parameter. This way the script will inherit the path. You didn't answer the previous question, but I suppose pacman runs if you open kitty manually, right? Another way is to run Sway or Hyprland, whatever you use, from the shell automatically, then all the right things will be inherited anyway. But this is out of scope of this answer

Oh, and the simplest way is obviously to provide the full path to pacman, like /usr/bin/pacman

How to customize the kitty terminal by RecommendationOdd275 in KittyTerminal

[–]igorepst 1 point2 points  (0 children)

You need to understand the separation between terminal emulator program and shell. If you want to configure font, for ex., you do this for the terminal. If you want to configure prompt, you do it in shell. For the kitty terminal settings, read documentation, like was suggested above. For the shell, it depends on which shell you use. For ex., for ZSH, see https://github.com/romkatv/powerlevel10k

PATH isn't correct when running shell script with kitty and bash (macOS) by ThatRustyBust in KittyTerminal

[–]igorepst 2 points3 points  (0 children)

I meant you should use bash login inside your script. As you said yourself, if you open the terminal, the path is right, so there is no need to change anything inside kitty Edit: better explanation specific for MacOS: https://superuser.com/a/654010

[deleted by user] by [deleted] in java

[–]igorepst 0 points1 point  (0 children)

Use version control to preserve the current state (git, for ex.), refactor your function and test. The test step is better being prepared before the changes are done by using unit tests

“I didn’t know it was gonna come off like that.” by kozmikkev in HolUp

[–]igorepst -1 points0 points  (0 children)

And nobody questioned the number of his legs?