this post was submitted on 19 May 2024
24 points (92.9% liked)

Linux

48181 readers
1107 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

After years of my desktop environment (kde) being configured the same way, I tried enabling auto-hiding in my panel and I quite like the extra screen estate.

Now, the only reasons why I have a panel in the first place are the clock and the system tray (I don't use the ~~start~~ applications menu and I don't care for the task manager) so I've started wondering if I could completely dispose of the panel.

Do you know of any launcher (I use krunner but switching to something else is fine) that satisfies (or can be configured to satisfy) the following?

  1. shows the current date/time
  2. integrates a system tray
  3. launches applications
  4. does math, unit conversion and currency conversion
top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 6 months ago (1 children)

Couldn't you configure the existing panel to do what you want? Add and remove widgets and resize it and you should have what you need.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

No: there is no krunner widget I can add to the panel and AFAIK no way to hide/show the panel via a keyboard shortcut

[–] [email protected] 4 points 6 months ago

As far as I'm aware, no launcher (in the style of KRunner) exists which has all those features.

With some effort, you could implement a lot of this functionality using a "generic" launcher (like rofi, for example), but integrating a system tray will be close to impossible (unless you're willing to write a program which acts as a system tray and provides those launchers with enough information to display a useful representation of the tray, could be cool).

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

GNOME

Edit: Sorry, I may have misunderstood the question as I'm not entirely sure what a launcher is in the context of Linux, but I've been using GNOME as my desktop environment for years and it does everything asked for here.

[–] [email protected] 2 points 6 months ago (1 children)

You can create a panel in edit mode and put whatever you need (clock, system tray, application menu) on it. Set size to fit content and make windows go below which results in a tiny floating panel for example.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

AFAIK there is no krunner widget I can add to a panel... but regardless: can I have the panel show/hide via some keyboard shortcut?
(If they can't be together, I could live with alt+space => toggle krunner and, for example, alt+shift+space => toggle panel)

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

I'm not sure if you can show/hide like that, but as a workaround you can toggle auto-hiding with a qdbus command, and set a keyboard shortcut to run that.

[–] [email protected] 1 points 6 months ago

IIRC krunner works as a commandline tool, so maybe you could do what you want with something like yakuake, or even make a wrapper for krunner with those additional options.

It seems like something I could use as well. I'll note it down to take a look later.