elementary / elementary/settings-applications

Xbindkeys As Startup Application Delays Display of Plank & Panel

Open
#41 5 comments 0 reactions 0 assignees View on GitHub
Status: Out of Scope
Dominant language
Vala
Stars
16
Forks
12
Avg merge
1h 49m
Merged PRs (30d)
1

Description

With xbindkeys set as a Startup Application, the display of Plank and the top panel at the beginning of a new session, after reboot or logging out, is delayed by 45-60 seconds, occasionally much longer or not displaying at all. The correct background is displayed.

Xbindkeys executes this script allowing movement between workspaces with a mouse tilt wheel, stored in the home directory as ".xbindkeysrc":

```
# -- Move Right --
# This is the general command that works with any number of workspaces:
# "xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 1) % $(xdotool get_num_desktops))"
# This is the optimized command for 5 workspaces:
"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 1) % 5)"
b:7

# -- Move Left --
# This is the general command that works with any number of workspaces:
# "xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + $(expr $(xdotool get_num_desktops) - 1)) % $(xdotool get_num_desktops))"
# This is the optimized command for 5 workspaces:
"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 4) % 5)"
b:6
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.