Giter VIP home page Giter VIP logo

Comments (4)

NsCDE avatar NsCDE commented on May 19, 2024

FrontPanel.actions on page 27 of the NsCDE.pdf should explain how to add custom applets by editing $FVWM_USERDIR/FrontPanel.actions. This should work for you, assuming you are on x86_64 Linux.

Btn1,__APPLET__,M1,"Swallow (Respawn) \\"pclock\\" \\"Exec exec $NSCDE_ROOT/bin/fpclock-Linux_x86_64 -H red -S white --hands-width=4 --hour-hand-length=15 --minute-hand-length=20 --second-hand-length=22 -w -B $HOME/.icons/DtEarth.l.xpm\\",Exec exec firefox

... of course, replace "Exec exec firefox" with with whatever you want, and restart Front Panel, or complete FVWM.

I have found someware my old DtEarth.l.xpm in 48x48 format suitable for pclock background. Here it is. Maybe I should include it in icon dir in the next release, together with this FrontPanel.actions line above as example in the docs. Ungzip before usage, github does not like XPM ...
SDtEarth.l.xpm.gz

from nscde.

drscream avatar drscream commented on May 19, 2024

Thanks a lot for providing more details. What I've found out so far about fpclock:

ERR: pixmap must be 64x64

So I think including SDtEarth.l.xml wouldn't help that much, as long as it's not provided in 64x64 pixel.

from nscde.

NsCDE avatar NsCDE commented on May 19, 2024

Wrong XPM. Try again. I have replaced attachment. You can also refresh pending_release with git. I have put it in $NSCDE_ROOT/share/icons/NsCDE.

from nscde.

drscream avatar drscream commented on May 19, 2024

Thanks a lot. It works perfectly. Only for the record my current entry:

Btn1,__APPLET__,M1,"Swallow (Respawn) \\"pclock\\" \\"Exec exec $NSCDE_ROOT/bin/fpclock -H red -S white --hands-width=4 --hour-hand-length=15 --minute-hand-length=20 --second-hand-length=22 -w -B $FVWM_USERDIR/icons/NsCDE/SDtEarth.l.xpm\\",Exec exec firefox-bin

I will close this issue. Thanks again :-)

from nscde.

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.