desktop wallpaper

173 views
Skip to first unread message

ganbat otgonbaatar

unread,
Oct 28, 2014, 10:18:34 PM10/28/14
to nod...@googlegroups.com
is desktop wallpaper change possible on node js 

Aria Stewart

unread,
Oct 29, 2014, 10:58:18 AM10/29/14
to nod...@googlegroups.com

> On Oct 28, 2014, at 10:18 PM, ganbat otgonbaatar <o.ga...@gmail.com> wrote:
>
> is desktop wallpaper change possible on node js

Yes: however it may be significant work.

What operating system?

How it's done varies by operating system. It may require native APIs or interaction with the OS, which may require calling out to C++ or shell scripts.

Aria

ganbat otgonbaatar

unread,
Mar 6, 2015, 11:38:45 AM3/6/15
to nod...@googlegroups.com
I want to change cross platform.

Javier Hernández Antúnez

unread,
Mar 6, 2015, 3:47:27 PM3/6/15
to nod...@googlegroups.com
As Aria says: 

"How it's done varies by operating system. It may require native APIs or interaction with the OS, which may require calling out to C++ or shell scripts."

I don't know the requirements or the scope of your app/project but perhaps I can give you some light.

I work for a project called GPII [1] which is bulding a cross-platform personalization infrastructure on top of Node.js. As a (really) brief resume, this project is focused on people with disabilities and it aims to create a system that is able to personalize a device to match these users needs. In order to do this, we need to access to the OS-specific APIs in a cross-platform way, and we already have developed some modules for both windows [2] and linux [3] that "maybe" are what you are looking for. In fact, if you're thinking on making this working in the GNOME Desktop, the background can be changed through GNOME's GSettings and we have a module [4] that makes this communication possible. You can also find more information about the project in our wiki [5]

My 2 cents,
Javi



--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/6146258f-748e-4dd6-ba29-8bc751495228%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Javier Hernández Antúnez
Área de Operaciones

Emergya Consultoría

Sindre Sorhus

unread,
Apr 8, 2015, 1:45:42 PM4/8/15
to nod...@googlegroups.com
Yes, I made a module for that: https://github.com/sindresorhus/wallpaper

Peter Rust

unread,
Apr 9, 2015, 11:28:21 AM4/9/15
to nod...@googlegroups.com
Sindre Sorhus,

Very cool!

One critique, though: I noticed that the underlying win-wallpaper module calls wallpaper.exe, which is included in the repo, but I couldn't find any indication of what the "exe" is built from... is it open-source? Shipping an exe without the source & instructions on building it reminds me of this SO answer: "I went ahead and made this available on GitHub, including the compiled exe if getting in to vans with strangers is your thing".

Sindre Sorhus

unread,
Apr 10, 2015, 9:25:48 AM4/10/15
to nod...@googlegroups.com
Follow the dependency chain. `wallpaper` depends on https://github.com/sindresorhus/node-win-wallpaper which is a Node.js wrapper (mentioned in the readme) for https://github.com/sindresorhus/win-wallpaper where you can find the source ;)

Peter Rust

unread,
Apr 10, 2015, 10:07:00 AM4/10/15
to nod...@googlegroups.com
Sindre,

> Follow the dependency chain

Ah, thanks! My bad, I must not have read the readme very carefully (the package names are awfully similar :-)) -- I had looked in package.json and index.js, but didn't see a mention of it.
Reply all
Reply to author
Forward
0 new messages