Giter Club home page Giter Club logo

Comments (5)

beanpole135 avatar beanpole135 commented on June 29, 2024

Unfortunately, the desktop plugin system requires a Qt-based plugin implementation, rather than just embedding another utility like xclock. However, I think the idea of an analog clock for the desktop is a great idea! While there is not a pre-defined analog clock widget within Qt, one of the Qt coding examples[1] details how to create one using the QPainter class. This might provide a good starting point if you want to start putting one together... :-)

[1] http://doc.qt.io/qt-5/qtwidgets-widgets-analogclock-example.html

from lumina.

william-os4y avatar william-os4y commented on June 29, 2024

In fact, by launching xclock via the auto-start AND by using the fluxbox features of the xclock window (remember position, remember dimensions, and remember layer with layer bottom) this fit perfectly my needs.

To be perfect it would be great to remove the borders.

from lumina.

beanpole135 avatar beanpole135 commented on June 29, 2024

There might be a way to tell Fluxbox not to paint the frame on that window through the ~/.fluxbox/apps config file. I am not sure however, since that is delving into more complicated Fluxbox configs than I am used to... :-)

from lumina.

william-os4y avatar william-os4y commented on June 29, 2024

Thanks to fluxbox this is really easy and do the following:

  • close the xclock application (in case you have flagged "save on close", because this will overwrite your changes).
  • edit the .fluxbox/apps file and add/change the [Deco] parameter to {NONE}.
  • start xclock, and that's it.

Here after my complete config for xclock:

[app] (name=xclock) (class=XClock)
  [Dimensions]  {10% 15%}
  [Position]    (UPPERLEFT)     {86% 0%}
  [Deco]        {NONE}
  [Layer]       {10}
  [Close]       {yes}
[end]

from lumina.

beanpole135 avatar beanpole135 commented on June 29, 2024

Glad you figured that out!

from lumina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.