Virtual Desktop Bar Original

Plasma 5 Add-Ons desktops kde plasma virtual workspaces

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/wsdfhjxc/virtual-desktop-bar

3
Score 68.6%
Description:

This is an applet for KDE Plasma panel that lets you switch between virtual desktops and also invoke some actions to dynamically manage them in a convenient way. Those actions can be accessed through applet's context menu or user-defined global keyboard shortcuts. There is also support for some GNOME-like features.

The plasmoid displays virtual desktop entries as text labels with their numbers, names or both of them. That means there's no icons or window previews like in the Plasma's default pager applet. The intention is to keep it simple.

Features

  • switching to a virtual desktop
  • switching to a recent virtual desktop
  • creating a new virtual desktop
  • removing last virtual desktop
  • removing current virtual desktop
  • moving current virtual desktop to left
  • moving current virtual desktop to right
  • renaming current virtual desktop

GNOME-like features

  • always keeping at least one empty virtual desktop
  • automatically removing redundant empty virtual desktops


Installation

Installing the applet directly from the Plasma Add-On Installer will not work. You have to either get the applet as a distro specific package, or follow some simple instructions and build it manually.


Distro packages

Arch Linux users can get the applet as an AUR package (thanks cupnoodles).

Currently, there are no preconfigured or prebuilt packages for other distributions.


Manual installation

First, you need to install some required dependencies.

For Kubuntu or KDE neon, run: ./install-ubuntu-deps.sh

For Arch or Manjaro, run: ./install-arch-deps.sh

For openSUSE, run: ./install-opensuse-deps.sh

Then, compile the source code and install the applet:

mkdir build
cd build
cmake ..
make
sudo make install


After that, you should be able to find Virtual Desktop Bar in the Widgets menu.


Configuration

The plasmoid has some options regarding its behavior and visuals. You'll find them in the configuration dialog.

There are also global keyboard shortcuts, which you can define in the Global Shortcuts System Settings Module. They should be available under KWin, Plasma or Latte Dock component, depending on the shell's mood and where have you placed the applet. The shortcuts are named like this:

  • Switch to Recent Desktop
  • Add New Desktop
  • Remove Last Desktop
  • Remove Current Desktop
  • Move Current Desktop to Left
  • Move Current Desktop to Right
  • Rename Current Desktop


Compatibility with KWin scripts

If you want to use this applet with some KWin scripts, for example tiling scripts, they won't work correctly. This is related to some non-standard features that Virtual Desktop Bar provides. However, there is a chance they could work correctly, but that requires a little bit work from a KWin script developer. Please read this document for more details.

Compatible KWin scripts

Last changelog:

0.4.5 3 days ago

  • Added some things regarding KWin scripts compatibility
  • Fixed some race conditions related to async signal handling

4ty2

16 days ago

10 10 the best!

Report

rokre22

28 days ago

9 how can I open a specific program automatically when switching desktops?

Report

C

wsdfhjxc

23 days ago

I'm not sure I understand that use case. Launch a program on a given workspace if it's not there yet? Or something like that? Anyway, this applet doesn't provide such a thing and it's out of its scope. Maybe a KWin script would be better for that.

Report

lemane

1 month ago

That is a great feature. Can it be installed on Arch Linux? I see only install scripts for Ubuntu and Opensuse.

Report

C

wsdfhjxc

1 month ago

Yes, check out the updated archive file and read description.

Report

palacio

1 month ago

It needs desktop switching with the mouse wheel. Same order as the official Plasma pager addon, please.

Report

C

wsdfhjxc

1 month ago

I'll take a look into it.

Report

palacio

1 month ago

9 9 excellent

Report

palacio

1 month ago

9 This is great, thank you! Have you considered upstreaming these features to KWin/Plasma so that the native bits are unnecessary?

Report

C

wsdfhjxc

1 month ago

KWin supports static virtual desktops and you can only alter the number of them. In recent Plasma versions there is a new Virtual Desktops Settings Module and you can actually remove intermediate desktops through its UI, but it also uses some custom code to shift and synchronize virtual desktops.

So, I don't know about Wayland and upcoming features related to it, but at the moment, I'm pretty sure that additional features provided by this applet aren't something KWin maintainers would consider implementing, especially on X11.

Dynamic virtual desktop management is a thing I missed in Plasma, so I made this little applet mainly for personal purposes. However, it's coded so terribly, it better stays a third-party addon. I'd be glad if Plasma got some additional, officially supported features regarding virtual desktops, though.

Report

0.4.5 3 days ago

  • Added some things regarding KWin scripts compatibility
  • Fixed some race conditions related to async signal handling

0.4.4 14 days ago

  • Fixed initially missing empty desktop indicator after loading the applet

0.4.3 18 days ago

  • Added an option to decrease or increase desktop entry width
  • Fixed default spacing between desktop entries to be medium instead of large
  • Fixed some context menu actions and keyboard shortcuts to be disabled when using GNOME-like features

0.4.2 30 days ago

  • Fixed unwanted margin at the right side of the applet
  • Added an option to decrease or increase spacing between desktop entries
  • Added an option to distinct desktop indicator for occupied idle desktops (enabled by default)
  • Added an option to set custom desktop indicator color for occupied idle desktops
  • Changed desktop indicator color for desktops other that the current one to match label color

0.4.1 1 month ago

  • Added support for mouse wheel desktop switching

12345678910
21
product-maker 4ty2 Aug 07 2019 10 the best
10 the best!
product-maker rokre22 Jul 26 2019 9 excellent
how can I open a specific program automatically when switching desktops?
product-maker palacio Jul 21 2019 9 excellent
9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv3
version
0.4.5
updated Aug 20 2019
added Jul 20 2019
downloads 24h
33
page views 24h 46