Is there a way to access DELL XPS media buttons programmatically - hardware

If you have seen a Dell XPS in actions you probably have noticed its nice media buttons above the normal keyboard:
alt text http://blog.evolvedsoftwarestudios.com/wp-content/uploads/2008/03/img-1397.jpg
They are flashing when the notebook is starting and when you touch them.
Does anybody know how to make these buttons flash programmatically?

I had an old IBM laptop that had a keyboard light LED mounted in the top of the LCD frame (where the iSight is on a MacBook or MacBook Pro). I found that I could access this light via /proc/acpi under Linux.
I wrote a simple script that flashed the light on and off by interacting with /proc. There's a posting on my blog with the code.
You might want to try running an Ubuntu live CD and seeing if it detects the buttons, and if you can access them via /proc. A quick search showed that the newer XPS systems work out of the box with Ubuntu, so it'd be a good starting point.

Related

Adafruit hid switch keyboard layout

That's probably a stranger question, but I built a little rubber ducky with a Raspberry pi pico. Now the problem is the keyboard layout is in us but I would like to change it to de (German) but don't know how to do it. The layout is saved as an Mpy file and I used adafruit for it. So the adafruit hid it or is there a better variant for it? I hope this was the right one.
Assuming you have raspi-config available, run this at a terminal prompt:
sudo raspi-config
It should launch a configuration tool that includes localisation options, which would include keyboard layout.
The question is not very clear, I will clarify that rubber ducky is a software that simulates keyboard input to computer. The basic layout for the input is US keyboard.
You can find more layouts including installation guide here: https://github.com/Neradoc/Circuitpython_Keyboard_Layouts

Clicks going to background window in Adobe AIR app on OS X High Sierra

We have a fairly large AIR desktop application (captive AIR, using Runtime version 21).
Recently our QA have confirmed and reproduced an odd report by a Mac user:
When the app is in full screen, running on OS X High Sierra, then some clicks on the main user interface go through to whatever application is running behind the window. Whatever background window has been clicked, it will jump to the front and the click is processed, e.g. if the click was sent to a Finder window and happened to be in the location of a favorites folder, that folder will be opened as if you clicked it when the Finder window was open.
If no window is behind our app at the click location, the desktop will receive focus.
This is not consistent and even clicks in the same spot (as much as one can hit the same pixel twice) sometimes go to the background window and sometimes end up, as expected, in our window.
I know that this sound weird but it's been verified both by our QA and by me and another developer working on different machines.
Ideas would be most welcome.
Answering my own question after some trial and error:
Upgrading to AIR SDK 28 solved the problem.
Bonus tip: Avoid Adobe AIR. Great technology, zero support, dead forums.

How do you force shutdown a unresponsive VM with VMWare with a IOS host?

enter image description hereenter image description hereI have windows 10 running on VMWare Fusion on my MacBook pro. I've used it without problem for the past year then today in my class the screen just went black. I cant even see the mouse I scrolled my mouse to the top and was able to get the mac top task bar and was able to close out of the VM and it was suspended but it wont let me shut it down. Anyone know the process I need to take to do this? I know I could always shut the mac down and entirely and restart but don't want to risk damaging the windows image. any help would be appreciated.
Maybe this could work, I used it a few times as well.

Custom Windows Taskbar Buttons [duplicate]

How do I go about creating my own taskbar toolbar, a la Windows Media Player:
Windows Media Player's Start bar toolbar http://me.monoxide.ws/images/wmp-toolbar.gif
Examples or documentation or even open source software that implements this for just about any language would be appreciated, but Google isn't being very helpful. Ultimately, I would like to do this in C# (I expect to need P/Invoke) for XP onwards, but any language and Vista onwards would be acceptable/helpful too.
Check this out:
http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/e180c4d5-8cd7-47e3-b45a-d643c02bab36
(source: microsoft.com)
It's called as "Desk Band"
See MSDN desription about this
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/bands.asp
and sample over there
http://www.codeproject.com/csharp/dotnetbandobjects.asp
By the way, thanks for asking this question. Back in the days I also wanted to do this. However, yesterday I said bye bye to Windows and Hi to Mac. If you asked this yesterday I would upvote it trice if I could ;-)
You'll notice that Media Player on Win7 doesn't have a desk band. Instead it has tiny play/pause buttons in the thumbnail preview that appears when you mouse over the taskbar icon. You can do the same thing for your application. If you use Code Pack (http://code.msdn.microsoft.com/WindowsAPICodePack) there is a sample under Samples\Shell\ThumbnailToolbarDemo. Windows 7 only, but way less annoying than taking up an inch or two of taskbar, and just as handy when you want to insta-pause.

Microsoft pixelsense input simulator finger stays pressed

I have a problem with the Input Simulator in the microsoft surface SDK 2.0.
Whenever I try to simulate a finger or a blob click, the first click stays pressed (like when you put it as placeholder with right click+left click).
I don't know the reason of this behaviour since on other computers it work without problem.
Can it be because of I'm using windows in a virtual machine? If yes, is there any workaround?
I fixed this by disabling touch pen utilities which was automatically installed with surface SDK.