Skip to content

Instantly share code, notes, and snippets.

Avatar

Jesper Schmitz Mouridsen jsm222

View GitHub Profile
View GTKMenu.diff
diff --git a/src/appmenu/appmenumodel.cpp b/src/appmenu/appmenumodel.cpp
index 1ea190f..7aca717 100644
--- a/src/appmenu/appmenumodel.cpp
+++ b/src/appmenu/appmenumodel.cpp
@@ -544,6 +544,7 @@ void AppMenuModel::updateApplicationMenu(const QString &serviceName, const QStri
const QModelIndex modelIdx = index(actionIdx, 0);
emit dataChanged(modelIdx, modelIdx);
}
+ emit modelNeedsUpdate();
}
View MenuGTKHACK.diff
diff --git a/src/appmenu/appmenumodel.cpp b/src/appmenu/appmenumodel.cpp
index 1ea190f..e65b716 100644
--- a/src/appmenu/appmenumodel.cpp
+++ b/src/appmenu/appmenumodel.cpp
@@ -34,6 +34,7 @@
#include <QDBusServiceWatcher>
#include <QGuiApplication>
+#include <QTimer>
#include <QDebug>
View patch-src_appmenu_menuimporter.cpp
--- src/appmenu/menuimporter.cpp.orig 2021-06-20 16:59:06 UTC
+++ src/appmenu/menuimporter.cpp
@@ -27,7 +27,7 @@
#include "menuimporter.h"
#include "menuimporteradaptor.h"
#include "dbusmenutypes_p.h"
-
+#include <QX11Info>
#include <QDBusMessage>
#include <QDBusObjectPath>
@jsm222
jsm222 / notes.sh
Last active Nov 6, 2021
dbus menu debug notes
View notes.sh
dbus-send --session --print-reply --type="method_call" --dest=com.canonical.AppMenu.Registrar /com/canonical/AppMenu/Registrar com.canonical.AppMenu.Registrar.GetMenuForWindow uint32:<XWINDI>
export QT_LOGGING_RULES=qt.qpa.menu.debug=true
Retrive a registered menu:
--dest and menu number are variable.
dbus-send --session --print-reply --dest=:1.68 /com/canonical/menu/4000002 com.canonical.dbusmenu.GetLayout int32:0 int32:100 array:string:
For gtk menus caugth by /usr/local/bin/gmenudbusmenuproxy
dbus-send --session --print-reply --dest=org.kde.plasma.gmenu_dbusmenu_proxy /MenuBar/3 com.canonical.dbusmenu.GetLayout int32:0 int32:100 array:string:
View override.diff
diff --git a/override.cpp b/override.cpp
index a5a38e3..119a2a9 100644
--- a/override.cpp
+++ b/override.cpp
@@ -11,57 +11,111 @@
#include <cstdlib>
#define _GNU_SOURCE
-#include <dlfcn.h>
@jsm222
jsm222 / hellodesktop.diff
Last active Jul 8, 2021
helloDesktop: menu qtplugin filer dock and icons
View hellodesktop.diff
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9151f2c32..1776b9214 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -487,6 +487,7 @@
SUBDIR += hdrecover
SUBDIR += healthd
SUBDIR += heirloom
+ SUBDIR += hellodesktop-qtplugin
SUBDIR += helm
View hellodesktop-icons.diff
diff --git a/x11-themes/Makefile b/x11-themes/Makefile
index d00d324ef..df3020048 100644
--- a/x11-themes/Makefile
+++ b/x11-themes/Makefile
@@ -82,6 +82,7 @@
SUBDIR += gtk-xfce-engine
SUBDIR += gtk3-oxygen-engine
SUBDIR += gtk3-unico-engine
+ SUBDIR += hellodesktop-icons
SUBDIR += icewm-extra-themes
@jsm222
jsm222 / hellodesktop-dock.diff
Created Jun 30, 2021
Testing port of hellodesktop dock
View hellodesktop-dock.diff
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 6664746fb..121e0e806 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -41,6 +41,7 @@
SUBDIR += fvwm3
SUBDIR += gamescope
SUBDIR += gcompmgr
+ SUBDIR += hellodesktop-dock
SUBDIR += herbstluftwm
@jsm222
jsm222 / hellodesktop-filer.diff
Last active Jun 30, 2021
Testing port of hellodesktop-filer
View hellodesktop-filer.diff
diff --git a/x11-fm/Makefile b/x11-fm/Makefile
index 3fe702533..48fcbacb7 100644
--- a/x11-fm/Makefile
+++ b/x11-fm/Makefile
@@ -9,6 +9,7 @@
SUBDIR += fsv2
SUBDIR += gentoo
SUBDIR += gprename
+ SUBDIR += hellodesktop-filer
SUBDIR += konqueror
View lb_health_monitor_test.yml
---
- hosts: localhost
vars:
network: "private"
tasks:
- name : Create security group webservers
openstack.cloud.security_group:
cloud: {{cloud}}
state: present