Digikata Blog

Cosmic Popup Terminal Utility

I've uploaded a utility for the cosmic desktop to pop-up a terminal with a hotkey. A lot of other pop-up apps I tried didn't interact correctly to me on a PopOS cosmic desktop.

See it at https://github.com/digikata/cosmic-toggle-terminal

There was someone who had posted a python script to control a terminal w/ wayland and the cosmic window manager which I ported to rust and made some adjustments to. There's a link to the original python in the project README.

The code actually controls an alacritty terminal, mostly because a cosmic-terminal doesn't let you set class/app_id via the command line yet. Setting those lets the utility key in on which app to control, any other terminals you have running are ignored.

I find it useful, maybe someone else will too. Have fun!