From 6ce880e071c417ce036a7dd9f3ab2b0247dcc54b Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:17:02 +0200 Subject: [PATCH 1/6] [hlwm] Adjusted path for kdeconnectd --- herbstluftwm/autostart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 6eddba5..65c3e3a 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -14,7 +14,10 @@ if hc silent new_attr bool my_not_first_autostart; then ~/.fehbg & xmodmap ~/.Xmodmap picom -b - /usr/lib/kdeconnectd & + # 2021-05-01T22:53:48 CEST: The path for kdeconnectd was adjusted + # for Fedora, where the binary lives in /usr/libexec and not in + # /usr/lib like in Arch Linux or Debian. + /usr/libexec/kdeconnectd & /usr/bin/kdeconnect-indicator & redshift-gtk & nm-applet & From c10bb812b9054124d187e20890fcbdf4e5409b30 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:17:43 +0200 Subject: [PATCH 2/6] [hlwm] Start xprofile Probably only neeeded because of GDM --- herbstluftwm/autostart | 1 + 1 file changed, 1 insertion(+) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 65c3e3a..7311da5 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -10,6 +10,7 @@ hc emit_hook reload # Startup if hc silent new_attr bool my_not_first_autostart; then + ~/.xprofile xsetroot -solid '#5A8E3A' ~/.fehbg & xmodmap ~/.Xmodmap From 3aed29b83cbfe697306927670bf0ac90e0160a9c Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:20:14 +0200 Subject: [PATCH 3/6] [hlwm] Try running xmodmap at the end --- herbstluftwm/autostart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 7311da5..378cf3a 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -13,7 +13,6 @@ if hc silent new_attr bool my_not_first_autostart; then ~/.xprofile xsetroot -solid '#5A8E3A' ~/.fehbg & - xmodmap ~/.Xmodmap picom -b # 2021-05-01T22:53:48 CEST: The path for kdeconnectd was adjusted # for Fedora, where the binary lives in /usr/libexec and not in @@ -207,4 +206,6 @@ panel=~/.config/herbstluftwm/panel.sh # autostart programs that require existing tags if hc silent new_attr bool my_not_first_autostart_end; then /usr/share/doc/herbstluftwm/examples/exec_on_tag.sh 10 keepassxc & + # Test: start xmodmap at the end. Maybe then it gets loaded. + xmodmap ~/.Xmodmap fi From 4e6c70fd5ed332aec928717f660e0980342defdf Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:20:40 +0200 Subject: [PATCH 4/6] [hlwm] Set qutebrowser as default --- herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 378cf3a..0fa5236 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -45,7 +45,7 @@ hc keybind $Mod-Tab spawn rofi -show combi hc keybind $Mod-Return spawn es hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run hc keybind $Mod-t spawn es -e '(vterm)' -hc keybind $Mod-b spawn epiphany +hc keybind $Mod-b spawn qutebrowser hc keybind $Mod-v spawn pavucontrol-qt hc keybind $Mod-Control-b spawn firefox-developer-edition hc keybind $Mod-Control-t spawn es -e '(eshell)' From 35d318648fd8cde2abc42a695d507daf0d328051 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:20:51 +0200 Subject: [PATCH 5/6] [hlwm] Run nextcloud with the --background parameter --- herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 0fa5236..f3e66c8 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -22,7 +22,7 @@ if hc silent new_attr bool my_not_first_autostart; then redshift-gtk & nm-applet & gnome-keyring-daemon --start - nextcloud & + nextcloud --background & dunst & # /usr/share/doc/herbstluftwm/examples/exec_on_tag.sh 10 keepassxc & fi From 95ffed08cf3e66d250ff5e81090ecbc803a35084 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 9 May 2021 21:21:33 +0200 Subject: [PATCH 6/6] [hlwm] Start pipewire manually --- herbstluftwm/autostart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index f3e66c8..9b610bd 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -24,7 +24,16 @@ if hc silent new_attr bool my_not_first_autostart; then gnome-keyring-daemon --start nextcloud --background & dunst & - # /usr/share/doc/herbstluftwm/examples/exec_on_tag.sh 10 keepassxc & + # 2021-05-01T22:51:27 CEST: The first time I tried hlwm on Fedora + # 34, PipeWire was not automatically started I don't want to + # enable it, since it should be triggerd with pipewire.socket and + # I do not want to break anything and also on GNOME this was not a + # problem. This is therefore also an short-term solutions + # (although we all know whats happens to them...) and should be + # investiged more into the issue. + systemctl --user start pipewire & + # TODO: trigger this in ~/.xprofile? + xmodmap ~/.Xmodmap fi # remove all existing keybindings