SeptemberHX / dde-top-panel

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

Can't Add Datetime Plugin #32

Closed matthewdunk closed 3 years ago

matthewdunk commented 3 years ago

Copying the datetime plugin to the appropriate folder does nothing.

SeptemberHX commented 3 years ago

Have you relaunched the dde-top-panel after copying the *.so file ? And make sure the plugin is enabled by right clicking on the panel.

matthewdunk commented 3 years ago

Yes, I did indeed.

SeptemberHX commented 3 years ago

Strange, It did work for me.

image

Which folder did you put the *.so file in ? It should work after copying the file to ~/.local/lib/dde-top-panel/plugins

matthewdunk commented 3 years ago

I tried copying it to both ~/.local/lib/dde-top-panel/plugins and /usr/lib/dde-top-panel/plugins. Nothing happened. I am running 20.1 with GNU/Linux kernel 5.8 BTW.

SeptemberHX commented 3 years ago

Do other plugins work with dde-top-panel ?

Please run dde-top-panel in terminal and paste the output.

matthewdunk commented 3 years ago

So I got it to work on a fresh installation with the latest ISO from the Deepin-- I installed the Top Panel and added the DateTime plugin without updating the system as I did before--and it worked although the time was very tiny. As for your question, yes the other plugins worked flawlessly whether or not I updated to the latest edition of Deepin.

SeptemberHX commented 3 years ago

Glad it works now, although I still cannot reproduce the problem with the latest update of Deepin OS :(

For the tiny size, it is caused by the smaller height of the panel comparing to the dde-dock. Maybe it is a good choice to use other datetime plugin instead of the default one since the default one is designed for the dde-dock

matthewdunk commented 3 years ago

Other one?

SeptemberHX commented 3 years ago

Other one?

You can try the dde-istate-menus plugin: https://github.com/SeptemberHX/dde-istate-menus/issues/15#issuecomment-744140906 Use the attached version in the issue instead of the release version.

It will show the time in HH:mm ( 15:43, for example ).

Since it is not designed for datetime only, it will show more widgets like CPU, RAM, and network usage. Just disable others as shown in the issue linked above