Cariprazine/reagila and coffee

If you're on Regila, do you drink coffee? At what time do you take the meds, and when do you drink coffee?

I've switched from Amisulptryd (Amisan) to Cariprazine (Reagila) a few weeks ago, and I'm sleepy during the day. I need to take a nap for 1-2 hours.

I was drinking coffee in the morning on Amisan but then switched to decaf (I like the taste). Maybe that's why I'm sleepy.

reddit.com
u/jcubic — 3 days ago
▲ 2 r/emacs

How to move the cursor inside the ansi-term buffer?

Is there an easy way to toggle a movable cursor inside ansi-term?

I want to toggle a special mode where I can move the cursor around the output so I can copy text from the terminal output. Then toggle it back into original mode, where the up arrow is sent to the terminal.

It would be nice to be able to do this without the mouse.

Maybe there is a minor mode that can do this.

reddit.com
u/jcubic — 5 days ago
▲ 8 r/xfce

Thunar toolbar icon styles are not in the same color as the whole theme

I'm working on an icon theme called Clarity. And I've noticed that in Thunar right now the toolbar icons (arrow and home) are all white.

Is this something that they changed in recent versions? It used to be themed and have the same style as in Nautilus.

I have an old screenshot where the icons in the toolbar have the same color as the theme.

u/jcubic — 6 days ago
▲ 6 r/svg

Cool filters and effects recommendations in SVG?

I have an SVG icon theme for Linux called Clarity. I'm working on a new website and a new system of managing icons.

The icons are created using templates + source icons where there is a single path element.

I'm searching for inspiration for cool-looking themes that I could use.

This is my new website.

I can credit the authors of the themes since I plan to create a way to upload new themes by users.

u/jcubic — 9 days ago

Open Camera Control - tool to control camera settings via USB

Created a small tool in Python to control the camera settings during streaming via USB cable.

It supports only 3 cameras that I had access to. But it's open source, and it should be easy to add support to more cameras (there is a small tool that detects what you have and gives you instructions on what to do).

I tested it on:

  • Nikon d780
  • Fuji X-Pro 3
  • Sony RX10 IV

I created this for myself, but maybe someone else will find this useful.

I use Linux, so it only supports this system.

Here is the repository for the project:

https://github.com/jcubic/open-camera-control

NOTE: White balance on the screenshot is in Polish because of my system locale. It will show you the names in your language.

u/jcubic — 28 days ago

How to sync a microphone with a camera on online streaming/meeting?

I use Fedora Xfce. I was trying to use pavucontrol, but changing the delay has no effect. Google gave no results. Google AI mode said that in Xfce, changing the delay has no effect. I was asking for a script that does this on the PulseAudio level. None of the scripts were working.

What is the proper way to sync the video and microphone?

I use:

Microphone: Logitech G533 Gaming Headset and Lava Mic

Camera: Nikon + Elgato Camlink

Browser: Helium and Google Meet

reddit.com
u/jcubic — 1 month ago
▲ 1 r/elgato

Can you buy a lens cap for the Elgato Prompter adapter?

It would be nice to have a way to have a lens cap when the adapter is screwed on the lens. So you don't need to take it off. I use 77mm.

What size is the adapter? Can you buy a lens cap for it?

reddit.com
u/jcubic — 1 month ago

Peek is freezing

I started having a problem with Peek (desktop video capture tool).

When run from the menu, it freezes and doesn't open the file save dialog.

I tried to see if there is nothing on the stderr, but when I run it in the terminal, it's working fine.

Does anybody else have this issue? Should I report it as a bug?

reddit.com
u/jcubic — 1 month ago

Text is selected when I paste into terminal and Emacs

I have a weird issue. I don't know what happened and how to debug this to find the root cause.

When I copy text into the terminal and Emacs, the text is preselected.

First time seeing this behavior. I'm not sure what happened and how to change it back.

I'm like 99% sure this was not default behavior. The pasted text should not be selected. At least in Emacs.

Any idea what might cause this and what to test?

I'm using Fedora Xfce. This is a Lenovo Legion 5 laptop.

reddit.com
u/jcubic — 2 months ago
▲ 13 r/makemkv

How do I use MakeMKV on Linux?

Just installed it on Fedora via Flatpak. I run it, and it's frozen.

I don't see any instructions on how to use it.

Do I need to wait for it? Does something should happen?

u/jcubic — 2 months ago
▲ 8 r/emacs

What is the best way to influence the next buffer after kill?

Is there a way to make Emacs prefer showing buffers with the same major mode when I kill a buffer instead of random buffers (or whatever order it uses)?

I just bricked my session (loaded "package.el" from the next version of Emacs), and I wanted to kill all Agent-Shell sessions one by one, and write a prompt to save what it has in the context into SESSION.md file.

And after a few kills (I have about 10 agent-shell buffers that I toggle in one window), it changed to something totally random (a yaml file).

I want to have all major modes one by one when I'm killing buffers.

I asked Grok, but the code didn't look very nice. There should be some clean way to do this.

What is the best way to add this to Emacs?

It would be nice if you could just sort (group by) the history kill buffer is using, by major mode.

reddit.com
u/jcubic — 2 months ago

I have a weird issue. I'm using Fedora, and I had this in my bash config:

alias ls='ls -h --color=auto'
...
if [ -x "$(command -v eza)"  ]; then
  alias ls='eza';
elif [ -z "$(command -v exa)" ]; then
  alias ls='exa';
fi

It was working like this for a long time. -z should enable alias to exa that is not installed. But it was working.

I just cloned the Git repo and used:

corepack enable

And suddenly, ls gives an error that exa is not installed.

For unknown reasons, in different shells, ls is an alias to:

$ alias ls
alias ls='ls --color=auto'

~/.bashrc loads /etc/bashrc and but I don't see any such alias. The same in ~/.bash_profile and /etc/profile.

Nothing was changed in my configs, because when I start a new shell, ls is still ls --color auto.

I can just fix the exa issue in my config and call it a day. But I really want to find out what is happening here.

Any ideas what else I can check?

reddit.com
u/jcubic — 2 months ago
▲ 68 r/ANSIart+1 crossposts

I've created a library that renders ASCII Globe. It's written in JavaScript. It works in Browser and Node.js (terminal). You can style with ANSI escape codes (terminal) or HTML+CSS in the browser.

https://github.com/jcubic/ascii-globe

You can change the size of the globe, characters, style, add margins.

The pins have real GEO location, and each of them can be styled differently.

I hope you like this. Feedback appreciated.

u/jcubic — 2 months ago
▲ 1 r/emacs

I'm a programmer, and I use AI a lot to write code. Recently I've started using Agent-Shell and decided to use it to write Emacs Lisp code.

Above is a function created by Opus 4.6 inside Agent-Shell.

He found my code to cycle through buffers with the same major mode (that I map to C-M-tab and C-tab). And he created this code based on my description of what I want. Even indentation was correct.

The function switches to buffer with the same major mode, and when I press enter without picking anything, it switches to all buffers.

I also used the agent to help me with the permission system for Agent-Shell, similar to the one in Claude Code or Open Code.

Do you also use AI to help you write Emacs Lisp code and help with Emacs configuration? What is your experience?

u/jcubic — 2 months ago