SeptemberHX / dde-top-panel

dde top panel for Deepin V20
GNU General Public License v3.0
232 stars 20 forks source link

can't build it on arch with this error on make #10

Closed elswerky closed 4 years ago

elswerky commented 4 years ago

i tried to build it on arch following your steps but i got this error on make aslo if you have telegram account for fast contact i will be thankful ,,my telegram is is @elswerky

Screen Capture_select-area_20200615172854

SeptemberHX commented 4 years ago

You need to install xdo development package. I am not sure what's the name of it on arch. On Debian, it names libxdo-dev. JunioCalu has created the PKGBUILD.txt for the dde-top-panel, see https://github.com/justforlxz/deepin-topbar/issues/178#issuecomment-644206683

JunioCalu commented 4 years ago

You need to install xdo development package. I am not sure what's the name of it on arch. On Debian, it names libxdo-dev. JunioCalu has created the PKGBUILD.txt for the dde-top-panel, see justforlxz/deepin-topbar#178 (comment)

yes, I had already noticed this error, the mentioned build dependency is in the PKGBUILD that I sent, the name is xdotool

JunioCalu commented 4 years ago

Output of dde-top-panel and libtray.so compiled from source, on archlinux:

"dde-top-panel" can not find qm files Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. ===========> create top panel on "eDP1" Not allowed to cQhange display mode Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type QMetaObject::invokeMethod: No such method deepin_platform_plugin::DNoTitlebarWindowHelper::updateTranslucentBackgroundFromProperty() Failed to update property: "updateTranslucentBackgroundFromProperty" using dock plugins dir: "/usr/lib/dde-top-panel/plugins" qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 480, resource id: 0, major code: 20 (GetProperty), minor code: 0 "DockPlugin" load plugin failed!!! "Cannot load library /usr/lib/dde-top-panel/plugins/libtray.so: (/usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv)" "/usr/lib/dde-top-panel/plugins/libtray.so" "DockPlugin" init plugin: "datetime" load plugins item: "datetime" "datetime" DatetimeWidget(0x7f3738015e90) "DockPlugin" init plugin finished: "datetime" "DockPlugin" init plugin: "keyboard" "DockPlugin" init plugin finished: "keyboard" "DockPlugin" init plugin: "multitasking" load plugins item: "multitasking" "multitasking" MultitaskingWidget(0x563a24f47c10) "DockPlugin" init plugin finished: "multitasking" "DockPlugin" init plugin: "onboard" load plugins item: "onboard" "onboard" OnboardItem(0x563a24f77250) "DockPlugin" init plugin finished: "onboard" "DockPlugin" init plugin: "overlay-warning" "DockPlugin" init plugin finished: "overlay-warning" "DockPlugin" init plugin: "show-desktop" load plugins item: "show-desktop" "show-desktop" ShowDesktopWidget(0x563a24f46070) "DockPlugin" init plugin finished: "show-desktop" "DockPlugin" init plugin: "shutdown" load plugins item: "shutdown" "shutdown" ShutdownWidget(0x563a24f69cf0) "DockPlugin" init plugin finished: "shutdown" "DockPlugin" init plugin: "trash" true load plugins item: "trash" "trash" TrashWidget(0x563a24f645b0) "DockPlugin" init plugin finished: "trash" 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 2 XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id !

JunioCalu commented 4 years ago

archlinux installation package:

dde-top-panel-0.4.0-0-x86_64.pkg.zip

SeptemberHX commented 4 years ago

Output of dde-top-panel and libtray.so compiled from source, on archlinux:

"dde-top-panel" can not find qm files Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. ===========> create top panel on "eDP1" Not allowed to cQhange display mode Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type QMetaObject::invokeMethod: No such method deepin_platform_plugin::DNoTitlebarWindowHelper::updateTranslucentBackgroundFromProperty() Failed to update property: "updateTranslucentBackgroundFromProperty" using dock plugins dir: "/usr/lib/dde-top-panel/plugins" qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 480, resource id: 0, major code: 20 (GetProperty), minor code: 0 "DockPlugin" load plugin failed!!! "Cannot load library /usr/lib/dde-top-panel/plugins/libtray.so: (/usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv)" "/usr/lib/dde-top-panel/plugins/libtray.so" "DockPlugin" init plugin: "datetime" load plugins item: "datetime" "datetime" DatetimeWidget(0x7f3738015e90) "DockPlugin" init plugin finished: "datetime" "DockPlugin" init plugin: "keyboard" "DockPlugin" init plugin finished: "keyboard" "DockPlugin" init plugin: "multitasking" load plugins item: "multitasking" "multitasking" MultitaskingWidget(0x563a24f47c10) "DockPlugin" init plugin finished: "multitasking" "DockPlugin" init plugin: "onboard" load plugins item: "onboard" "onboard" OnboardItem(0x563a24f77250) "DockPlugin" init plugin finished: "onboard" "DockPlugin" init plugin: "overlay-warning" "DockPlugin" init plugin finished: "overlay-warning" "DockPlugin" init plugin: "show-desktop" load plugins item: "show-desktop" "show-desktop" ShowDesktopWidget(0x563a24f46070) "DockPlugin" init plugin finished: "show-desktop" "DockPlugin" init plugin: "shutdown" load plugins item: "shutdown" "shutdown" ShutdownWidget(0x563a24f69cf0) "DockPlugin" init plugin finished: "shutdown" "DockPlugin" init plugin: "trash" true load plugins item: "trash" "trash" TrashWidget(0x563a24f645b0) "DockPlugin" init plugin finished: "trash" 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 2 XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id !

The output looks normal. I think you'd better remove the install -Dm 655 "plugins/libtray.so" "${pkgdir}/usr/lib/dde-top-panel/plugins/libtray.so" in your PKGBUILD.txt because there is no plugins/libtray.so generated anymore now.

Just use the libtray.so from /usr/lib/dde-dock/plugins, it should work without any problem.

elswerky commented 4 years ago

Sorry guys to interrupt you if you can work on this dock plugin to work on new dock in v20 it is a plugin to show netspeed in dock but not working on v20

https://github.com/v-svg/dde-dock-netspeed

JunioCalu commented 4 years ago

Output of dde-top-panel and libtray.so compiled from source, on archlinux: "dde-top-panel" can not find qm files Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. ===========> create top panel on "eDP1" Not allowed to cQhange display mode Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type QMetaObject::invokeMethod: No such method deepin_platform_plugin::DNoTitlebarWindowHelper::updateTranslucentBackgroundFromProperty() Failed to update property: "updateTranslucentBackgroundFromProperty" using dock plugins dir: "/usr/lib/dde-top-panel/plugins" qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 480, resource id: 0, major code: 20 (GetProperty), minor code: 0 "DockPlugin" load plugin failed!!! "Cannot load library /usr/lib/dde-top-panel/plugins/libtray.so: (/usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv)" "/usr/lib/dde-top-panel/plugins/libtray.so" "DockPlugin" init plugin: "datetime" load plugins item: "datetime" "datetime" DatetimeWidget(0x7f3738015e90) "DockPlugin" init plugin finished: "datetime" "DockPlugin" init plugin: "keyboard" "DockPlugin" init plugin finished: "keyboard" "DockPlugin" init plugin: "multitasking" load plugins item: "multitasking" "multitasking" MultitaskingWidget(0x563a24f47c10) "DockPlugin" init plugin finished: "multitasking" "DockPlugin" init plugin: "onboard" load plugins item: "onboard" "onboard" OnboardItem(0x563a24f77250) "DockPlugin" init plugin finished: "onboard" "DockPlugin" init plugin: "overlay-warning" "DockPlugin" init plugin finished: "overlay-warning" "DockPlugin" init plugin: "show-desktop" load plugins item: "show-desktop" "show-desktop" ShowDesktopWidget(0x563a24f46070) "DockPlugin" init plugin finished: "show-desktop" "DockPlugin" init plugin: "shutdown" load plugins item: "shutdown" "shutdown" ShutdownWidget(0x563a24f69cf0) "DockPlugin" init plugin finished: "shutdown" "DockPlugin" init plugin: "trash" true load plugins item: "trash" "trash" TrashWidget(0x563a24f645b0) "DockPlugin" init plugin finished: "trash" 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 2 XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id !

The output looks normal. I think you'd better remove the install -Dm 655 "plugins/libtray.so" "${pkgdir}/usr/lib/dde-top-panel/plugins/libtray.so" in your PKGBUILD.txt because there is no plugins/libtray.so generated anymore now.

Just use the libtray.so from /usr/lib/dde-dock/plugins, it should work without any problem.

I think you should take a look at /usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv

SeptemberHX commented 4 years ago

Sorry guys to interrupt you if you can work on this dock plugin to work on new dock in v20 it is a plugin to show netspeed in dock but not working on v20

https://github.com/v-svg/dde-dock-netspeed

It was implemented for v15 and not working on V20. However, there are other alternatives: https://github.com/q77190858/dde-sys-monitor-plugin

Or just check my dde-istat-menus: dde-istat-menus

But sadly, you still need to build them from source

JunioCalu commented 4 years ago

Output of dde-top-panel and libtray.so compiled from source, on archlinux: "dde-top-panel" can not find qm files Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. ===========> create top panel on "eDP1" Not allowed to cQhange display mode Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type QMetaObject::invokeMethod: No such method deepin_platform_plugin::DNoTitlebarWindowHelper::updateTranslucentBackgroundFromProperty() Failed to update property: "updateTranslucentBackgroundFromProperty" using dock plugins dir: "/usr/lib/dde-top-panel/plugins" qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 480, resource id: 0, major code: 20 (GetProperty), minor code: 0 "DockPlugin" load plugin failed!!! "Cannot load library /usr/lib/dde-top-panel/plugins/libtray.so: (/usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv)" "/usr/lib/dde-top-panel/plugins/libtray.so" "DockPlugin" init plugin: "datetime" load plugins item: "datetime" "datetime" DatetimeWidget(0x7f3738015e90) "DockPlugin" init plugin finished: "datetime" "DockPlugin" init plugin: "keyboard" "DockPlugin" init plugin finished: "keyboard" "DockPlugin" init plugin: "multitasking" load plugins item: "multitasking" "multitasking" MultitaskingWidget(0x563a24f47c10) "DockPlugin" init plugin finished: "multitasking" "DockPlugin" init plugin: "onboard" load plugins item: "onboard" "onboard" OnboardItem(0x563a24f77250) "DockPlugin" init plugin finished: "onboard" "DockPlugin" init plugin: "overlay-warning" "DockPlugin" init plugin finished: "overlay-warning" "DockPlugin" init plugin: "show-desktop" load plugins item: "show-desktop" "show-desktop" ShowDesktopWidget(0x563a24f46070) "DockPlugin" init plugin finished: "show-desktop" "DockPlugin" init plugin: "shutdown" load plugins item: "shutdown" "shutdown" ShutdownWidget(0x563a24f69cf0) "DockPlugin" init plugin finished: "shutdown" "DockPlugin" init plugin: "trash" true load plugins item: "trash" "trash" TrashWidget(0x563a24f645b0) "DockPlugin" init plugin finished: "trash" 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 2 XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id !

The output looks normal. I think you'd better remove the install -Dm 655 "plugins/libtray.so" "${pkgdir}/usr/lib/dde-top-panel/plugins/libtray.so" in your PKGBUILD.txt because there is no plugins/libtray.so generated anymore now.

Just use the libtray.so from /usr/lib/dde-dock/plugins, it should work without any problem.

I'll fix it

JunioCalu commented 4 years ago

Desculpe pessoal interromper você, se você pode trabalhar neste plug-in dock para trabalhar no novo dock na v20 , é um plug-in para mostrar a velocidade do nets no dock, mas não está trabalhando na v20 https://github.com/v-svg/dde-dock-netspeed

Foi implementado para a v15 e não está funcionando na V20. No entanto, existem outras alternativas: https://github.com/q77190858/dde-sys-monitor-plugin

Ou apenas verifique meus menus dde-istat : dde-istat-menus

Mas, infelizmente, você ainda precisa construí-los a partir da fonte

it would be good to merge this functionality with the source code of the dde-top-panel

SeptemberHX commented 4 years ago

Output of dde-top-panel and libtray.so compiled from source, on archlinux: "dde-top-panel" can not find qm files Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. ===========> create top panel on "eDP1" Not allowed to cQhange display mode Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type 1 Abandon the plugin "" due to the unnecessary plugin type QMetaObject::invokeMethod: No such method deepin_platform_plugin::DNoTitlebarWindowHelper::updateTranslucentBackgroundFromProperty() Failed to update property: "updateTranslucentBackgroundFromProperty" using dock plugins dir: "/usr/lib/dde-top-panel/plugins" qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 480, resource id: 0, major code: 20 (GetProperty), minor code: 0 "DockPlugin" load plugin failed!!! "Cannot load library /usr/lib/dde-top-panel/plugins/libtray.so: (/usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv)" "/usr/lib/dde-top-panel/plugins/libtray.so" "DockPlugin" init plugin: "datetime" load plugins item: "datetime" "datetime" DatetimeWidget(0x7f3738015e90) "DockPlugin" init plugin finished: "datetime" "DockPlugin" init plugin: "keyboard" "DockPlugin" init plugin finished: "keyboard" "DockPlugin" init plugin: "multitasking" load plugins item: "multitasking" "multitasking" MultitaskingWidget(0x563a24f47c10) "DockPlugin" init plugin finished: "multitasking" "DockPlugin" init plugin: "onboard" load plugins item: "onboard" "onboard" OnboardItem(0x563a24f77250) "DockPlugin" init plugin finished: "onboard" "DockPlugin" init plugin: "overlay-warning" "DockPlugin" init plugin finished: "overlay-warning" "DockPlugin" init plugin: "show-desktop" load plugins item: "show-desktop" "show-desktop" ShowDesktopWidget(0x563a24f46070) "DockPlugin" init plugin finished: "show-desktop" "DockPlugin" init plugin: "shutdown" load plugins item: "shutdown" "shutdown" ShutdownWidget(0x563a24f69cf0) "DockPlugin" init plugin finished: "shutdown" "DockPlugin" init plugin: "trash" true load plugins item: "trash" "trash" TrashWidget(0x563a24f645b0) "DockPlugin" init plugin finished: "trash" 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 3 Abandon the plugin "" due to the unnecessary plugin type 2 2 XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id ! XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1) Failed to get active window id !

The output looks normal. I think you'd better remove the install -Dm 655 "plugins/libtray.so" "${pkgdir}/usr/lib/dde-top-panel/plugins/libtray.so" in your PKGBUILD.txt because there is no plugins/libtray.so generated anymore now. Just use the libtray.so from /usr/lib/dde-dock/plugins, it should work without any problem.

I think you should take a look at /usr/lib/dde-top-panel/plugins/libtray.so: undefined symbol: _ZNK14CustomSettings13getActiveFontEv

Ok, I know why this happens. I forget to add the CustomSettings.cpp and CustomSettings.h to the CMakeLists.txt in plugins/tray.

However, the latest version removed the plugins totally. It won't bother anymore...

elswerky commented 4 years ago

Sorry guys to interrupt you if you can work on this dock plugin to work on new dock in v20 it is a plugin to show netspeed in dock but not working on v20 https://github.com/v-svg/dde-dock-netspeed

It was implemented for v15 and not working on V20. However, there are other alternatives: https://github.com/q77190858/dde-sys-monitor-plugin

Or just check my dde-istat-menus: dde-istat-menus

But sadly, you still need to build them from source

thanks i tested it on arch and it works ,,but i don't know why its settings look like this,, may be it needs translation or what i don't know

Screen Capture_select-area_20200615181102

SeptemberHX commented 4 years ago

Desculpe pessoal interromper você, se você pode trabalhar neste plug-in dock para trabalhar no novo dock na v20 , é um plug-in para mostrar a velocidade do nets no dock, mas não está trabalhando na v20 https://github.com/v-svg/dde-dock-netspeed

Foi implementado para a v15 e não está funcionando na V20. No entanto, existem outras alternativas: https://github.com/q77190858/dde-sys-monitor-plugin Ou apenas verifique meus menus dde-istat : dde-istat-menus Mas, infelizmente, você ainda precisa construí-los a partir da fonte

it would be good to merge this functionality with the source code of the dde-top-panel

I have implemented them as a plugin because both the dock and the top panel have the abilibity to load third party plugins. People who only use dock can benefit from it by leaving it as a plugin.

SeptemberHX commented 4 years ago

Sorry guys to interrupt you if you can work on this dock plugin to work on new dock in v20 it is a plugin to show netspeed in dock but not working on v20 https://github.com/v-svg/dde-dock-netspeed

It was implemented for v15 and not working on V20. However, there are other alternatives: https://github.com/q77190858/dde-sys-monitor-plugin Or just check my dde-istat-menus: dde-istat-menus But sadly, you still need to build them from source

thanks i tested it on arch and it works ,,but i don't know why its settings look like this,, may be it needs translation or what i don't know

Screen Capture_select-area_20200615181102

Seems lacking the font 'Noto Mono'. And it seems to be Chinese only. I cannot see any translation files in its repo.

JunioCalu commented 4 years ago

dde-top-panel is now at AUR

https://aur.archlinux.org/packages/dde-top-panel

SeptemberHX commented 4 years ago

dde-top-panel is now at AUR

https://aur.archlinux.org/packages/dde-top-panel

Thanks ! I will add it to the readme !

JunioCalu commented 4 years ago

Desculpe pessoal interromper você, se você pode trabalhar neste plug-in dock para trabalhar no novo dock na v20 , é um plug-in para mostrar a velocidade do nets no dock, mas não está trabalhando na v20 https://github.com/v-svg/dde-dock-netspeed

Foi implementado para a v15 e não está funcionando na V20. No entanto, existem outras alternativas: https://github.com/q77190858/dde-sys-monitor-plugin Ou apenas verifique meus menus dde-istat : dde-istat-menus Mas, infelizmente, você ainda precisa construí-los a partir da fonte

it would be good to merge this functionality with the source code of the dde-top-panel

I have implemented them as a plugin because both the dock and the top panel have the abilibity to load third party plugins. People who only use dock can benefit from it by leaving it as a plugin.

I think it is not very practical from the point of view of a beginner user to compile files, work with shell, I think it restricts the audience a little, facilitating the installation work, more people have access to the program.

elswerky commented 4 years ago

dde-top-panel is now at AUR

https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied

Screen Capture_select-area_20200615185451

JunioCalu commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied

Screen Capture_select-area_20200615185451

this is because in version 0.4.1 it still doesn't load the deepin-dock plugins from /usr/lib/dde-dock/plugins/, it would be good for SeptemberHX to add this path to the plugins loading.

JunioCalu commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied

Screen Capture_select-area_20200615185451

for now copy the deepin-dock plugins in /usr/lib/dde-dock/plugins/ to /usr/lib/dde-top-panel/plugins/

JunioCalu commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied Screen Capture_select-area_20200615185451

for now copy the deepin-dock plugins in /usr/lib/dde-dock/plugins/ to /usr/lib/dde-top-panel/plugins/

as the path does not exist, just create the folder

elswerky commented 4 years ago

Screen Capture_select-area_20200615185451

for now copy the deepin-dock plugins in /usr/lib/dde-dock/plugins/ to /usr/lib/dde-top-panel/plugins/

YEAH ,thank you in next update make sure to create an icon for it or create autostart launcher to autostart with desktop login ,, also it is needs more updates ,, for example if i enabled plugins ,no need to have them in dock ,,and needs to add more plugins to it like what deepin-topbar provides ,,,, i think i will stick now to dock -netspeed of the same dev ,, hope to add more translations to it soon

JunioCalu commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied

Screen Capture_select-area_20200615185451

now it loads the plugins if deepin-dock is installed on the system, I made some modifications to PKGBUILD and added a desktop entry dde-top-panel.desktop so that it is visible in the application search menu, which can be seen on here:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dde-top-panel

JunioCalu commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied Screen Capture_select-area_20200615185451

now it loads the plugins if deepin-dock is installed on the system, I made some modifications to PKGBUILD and added a desktop entry dde-top-panel.desktop so that it is visible in the application search menu, which can be seen on here:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dde-top-panel

as you copied the plugins directly from the folder, remove them with sudo rm -rv /usr/lib/dde-top-panel/ plugins/* before installing the new version of the package, so as not to result in a file conflict.

JunioCalu commented 4 years ago

Screen Capture_select-area_20200615185451

for now copy the deepin-dock plugins in /usr/lib/dde-dock/plugins/ to /usr/lib/dde-top-panel/plugins/

YEAH ,thank you in next update make sure to create an icon for it or create autostart launcher to autostart with desktop login ,, also it is needs more updates ,, for example if i enabled plugins ,no need to have them in dock ,,and needs to add more plugins to it like what deepin-topbar provides ,,,, i think i will stick now to dock -netspeed of the same dev ,, hope to add more translations to it soon

Could @SeptemberHX make an icon?

JunioCalu commented 4 years ago

Sorry guys to interrupt you if you can work on this dock plugin to work on new dock in v20 it is a plugin to show netspeed in dock but not working on v20

https://github.com/v-svg/dde-dock-netspeed

dde-dock-netspeed is working now, in AUR, just install and restart deepin-dock, it's a very useful plugin:

https://aur.archlinux.org/packages/dde-dock-netspeed/

if you have any installation problems you can report

SeptemberHX commented 4 years ago

Desculpe pessoal interromper você, se você pode trabalhar neste plug-in dock para trabalhar no novo dock na v20 , é um plug-in para mostrar a velocidade do nets no dock, mas não está trabalhando na v20 https://github.com/v-svg/dde-dock-netspeed

Foi implementado para a v15 e não está funcionando na V20. No entanto, existem outras alternativas: https://github.com/q77190858/dde-sys-monitor-plugin Ou apenas verifique meus menus dde-istat : dde-istat-menus Mas, infelizmente, você ainda precisa construí-los a partir da fonte

it would be good to merge this functionality with the source code of the dde-top-panel

I have implemented them as a plugin because both the dock and the top panel have the abilibity to load third party plugins. People who only use dock can benefit from it by leaving it as a plugin.

I think it is not very practical from the point of view of a beginner user to compile files, work with shell, I think it restricts the audience a little, facilitating the installation work, more people have access to the program.

I think what stops the audiences is the missing compiled packages instead of whether integrating top panel with plugins or not. If we could provide packages on different distributions, there will be no burden for the users to compile the souce code on themselves.

SeptemberHX commented 4 years ago

dde-top-panel is now at AUR https://aur.archlinux.org/packages/dde-top-panel

i installed it but i don[t know how it should like this how it look like on my pc ,,nothing in it ,,jus space occupied Screen Capture_select-area_20200615185451

this is because in version 0.4.1 it still doesn't load the deepin-dock plugins from /usr/lib/dde-dock/plugins/, it would be good for SeptemberHX to add this path to the plugins loading.

I don't think it's a good idea to use the same plugin directories as the dock. It will be strange if user want to install a plugin for the dock or panel only but it is shown on both. And I am a little worried about the compatibility in the future: the dock is still under development, and no one can ensure that the plugins shipping with the system can work for panel in the future.

However, the panel does lack a user friendly guides to enable the plugins. Maybe it is better to provide a simple plugin select list (read from the dock plugin directories) on the first launch of the top panel or in the settings.

SeptemberHX commented 4 years ago

Screen Capture_select-area_20200615185451

for now copy the deepin-dock plugins in /usr/lib/dde-dock/plugins/ to /usr/lib/dde-top-panel/plugins/

YEAH ,thank you in next update make sure to create an icon for it or create autostart launcher to autostart with desktop login ,, also it is needs more updates ,, for example if i enabled plugins ,no need to have them in dock ,,and needs to add more plugins to it like what deepin-topbar provides ,,,, i think i will stick now to dock -netspeed of the same dev ,, hope to add more translations to it soon

Could @SeptemberHX make an icon?

I will find an icon and add a desktop file to the panel.