How to show indicator using CLI?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Linseed8248
Level 1
Level 1
Posts: 3
Joined: Wed Mar 20, 2024 2:37 pm

How to show indicator using CLI?

Post by Linseed8248 »

Does anyone here know how to show the indicators (volume/light/etc.) using the command line?

By indicators, I mean things like these:

Image
Image

Any help is greatly appreciated, thanks in advance!
billyswong
Level 8
Level 8
Posts: 2240
Joined: Wed Aug 14, 2019 1:02 am

Re: How to show indicator using CLI?

Post by billyswong »

The pictures you linked don't load.
Linseed8248
Level 1
Level 1
Posts: 3
Joined: Wed Mar 20, 2024 2:37 pm

Re: How to show indicator using CLI?

Post by Linseed8248 »

billyswong wrote: Thu Mar 21, 2024 9:35 am The pictures you linked don't load.
Ah... ok

Image
Image

How about now?
User avatar
tonywhelan
Level 4
Level 4
Posts: 298
Joined: Sun Jun 10, 2012 10:47 pm
Location: Canberra, Australia

Re: How to show indicator using CLI?

Post by tonywhelan »

Linseed8248 wrote: Thu Mar 21, 2024 3:06 pm How about now?
Images ok, but it is not clear what exactly you mean by your question.
Those "indicators" are applets that can be enabled in the panel(s). What are you trying to achieve?
Linux Mint 21 Cinnamon household.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
Image
Linseed8248
Level 1
Level 1
Posts: 3
Joined: Wed Mar 20, 2024 2:37 pm

Re: How to show indicator using CLI?

Post by Linseed8248 »

tonywhelan wrote: Thu Mar 21, 2024 5:10 pm
Linseed8248 wrote: Thu Mar 21, 2024 3:06 pm How about now?
Images ok, but it is not clear what exactly you mean by your question.
Those "indicators" are applets that can be enabled in the panel(s). What are you trying to achieve?
I want to be able to make them appear using the CLI. Basically, I type something in the command line and they show up as if I pressed the buttons for them.

Like this:
https://gitlab.com/lint6018/keyboardbacklight
except instead of the command "notify-send" (which just sends a notification), I want to make it appear like the pictures above.

I hope I'm clear enough this time 😅
Xitee
Level 1
Level 1
Posts: 1
Joined: Thu Apr 11, 2024 3:11 pm

Re: How to show indicator using CLI?

Post by Xitee »

You've found a solution?
I'm trying to achive the exact same.

I'm using custom shortcuts to be able to have smaller volume steps but now I no more have the OSD :(
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to show indicator using CLI?

Post by Koentje »

I wanted the same on my laptop and made my own OSD for volume and brightness with conky.
You need to have conky installed with lua support. (conky-all)
volume-brightness-osd_v1.tar.gz
(42.59 KiB) Downloaded 8 times
Image
trinidad
Level 1
Level 1
Posts: 40
Joined: Fri Dec 23, 2022 11:14 am

Re: How to show indicator using CLI?

Post by trinidad »

Conky can work from the CLI to show whatever you tell it to and you can have multiple .conkyrc files and choose which one you want from the CLI.

Otherwise because you want to show applet indicator images you could try one of the tray applications below:

https://packages.debian.org/bookworm/trayer

https://github.com/kolbusa/stalonetray

I have tried stalonetray and it should work for what you are trying to do.

TC
Post Reply

Return to “Cinnamon”