pmaports/matchbox/matchbox-common/matchbox-v2-utils.patch
Duncan Guthrie f7690dc1b6 matchbox/matchbox-common: Start matchbox-keyboard in daemon mode. (#1483)
matchbox-panel has a keyboard applet, but it was unresponsive.
This was because it sends an event to a running keyboard in daemon
mode. The solution is to start matchbox-keyboard with --daemon in
matchbox-session.
2018-05-12 18:03:31 +00:00

44 lines
1.1 KiB
Diff

diff -Naur a/matchbox-session b/matchbox-session
--- a/matchbox-session 2018-05-12 13:33:32.019726303 +0100
+++ b/matchbox-session 2018-05-12 13:34:06.633851723 +0100
@@ -4,21 +4,25 @@
#
# Uncomment below to enable parsing of debian menu entrys
-# export MB_USE_DEB_MENUS=1
-
-if [ -e $HOME/.matchbox/session ]
-then
-exec $HOME/.matchbox/session
-fi
-
-if [ -e /etc/matchbox/session ]
-then
-exec /etc/matchbox/session
-fi
-
+# export MB_USE_DEB_MENUS=1
+#
+# if [ -e $HOME/.matchbox/session ]
+# then
+# exec $HOME/.matchbox/session
+# fi
+#
+# if [ -e /etc/matchbox/session ]
+# then
+# exec /etc/matchbox/session
+# fi
+#
# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
-# dont exist.
+# dont exist.
+
+START_APPLETS=showdesktop,windowselector
+END_APPLETS=clock,keyboard,systray,startup-notify,notify
matchbox-desktop &
-matchbox-panel --orientation south &
-exec matchbox-window-manager $@
+matchbox-panel --edge=bottom --start-applets=$START_APPLETS --end-applets=$END_APPLETS &
+matchbox-keyboard --daemon &
+exec matchbox-window-manager-2-simple -use_cursor yes $@