Questions tagged [desktop]
2483 questions
439
votes
8 answers
Chrome desktop notification example
How does one use Chrome desktop notifications? I'd like that use that in my own code.
Update: Here's a blog post explaining webkit notifications with an example.

Sridhar Ratnakumar
- 81,433
- 63
- 146
- 187
280
votes
8 answers
How to run a shell script in OS X by double-clicking?
I have a shell script that has user execution permission on OS X, but when I double click on it, it opens in a text editor. How can I get it to run by double-clicking it?

c2h2
- 11,911
- 13
- 48
- 60
251
votes
9 answers
Which icon sizes should my Windows application's icon include?
I have a Windows application which will run in Windows XP and newer (i.e. Vista/7). According to the Vista UI Guidelines, the standard sizes are 16x16, 32x32, 48x48, 256x256 (XP standard sizes do not include the 256x256 icon). In addition to those…

Daniel Rose
- 17,233
- 9
- 65
- 88
210
votes
13 answers
How to center a component in Material UI and make it responsive?
I don't quite understand the Material UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on all devices (mobile and desktop)?

zorro
- 2,305
- 2
- 11
- 14
173
votes
11 answers
Using vagrant to run virtual machines with desktop environment
My company's development environment is based on virtual machines, running on VirtualBox. We would like to move one step further, and use the capabilities of Vagrant to have the description of the machine in a text file and then be able to "raise"…

PRiera
- 1,731
- 3
- 11
- 3
108
votes
7 answers
Open a link in browser with java button?
How can I open a link in default browser with a button click, along the lines of
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
open("www.google.com"); // just what is the 'open' method?
…

Malasuerte94
- 1,454
- 3
- 14
- 18
105
votes
28 answers
Good Free Alternative To MS Access
Consider the need to develop a lightweight desktop DB application on the Microsoft platforms.
It could be done fairly easily with MS Access but I'd like to be able to distribute it to others and I don't want to pay for a runtime license. …

Onorio Catenacci
- 14,928
- 14
- 81
- 132
97
votes
4 answers
How to open a file with the default associated program
How do I open a file with the default associated program in Java? (for example a movie file)

Frederic Morin
- 8,733
- 4
- 28
- 27
81
votes
11 answers
C#: Get complete desktop size?
How do I find out the size of the entire desktop? Not the "working area" and not the "screen resolution", both of which refer to only one screen. I want to find out the total width and height of the virtual desktop of which each monitor is showing…

Timwi
- 65,159
- 33
- 165
- 230
79
votes
5 answers
Change desktop wallpaper using code in .NET
How can I change the desktop wallpaper using C# Code?

Sauron
- 16,668
- 41
- 122
- 174
77
votes
5 answers
Limitations of Visual Studio 2012 Express Desktop
I'm in the process of deciding whether or not to use Visual Studio 2012 Express for Desktop or purchase a retail copy of Visual Studio 2012 Professional for my desktop program. The program is built using C# though portions of it may include…

Salec
- 942
- 1
- 6
- 9
73
votes
6 answers
Create popup "toaster" notifications in Windows with .NET
I am using .NET and am creating a desktop app/service that will display notifications in the corner of my Desktop when certain events are triggered. I don't want to use a regular Message Box b/c that would be too intrusive. I want notifications to…

Antony
- 1,451
- 1
- 12
- 25
73
votes
18 answers
Can you do Desktop Development using JavaScript?
I know there's JScript.NET, but it isn't the same as the JavaScript we know from the web.
Does anyone know if there are any JavaScript based platforms/compilers for desktop development? Most specifically Windows desktop development.

Chris Pietschmann
- 29,502
- 35
- 121
- 166
72
votes
19 answers
What's the environment variable for the path to the desktop?
I'm writing a Windows batch file and want to copy something to the desktop. I think I can use this:
%UserProfile%\Desktop\
However, I'm thinking, that's probably only going to work on an English OS. Is there a way I can do this in a batch file…

Scott Langham
- 58,735
- 39
- 131
- 204
65
votes
9 answers
How to get the Desktop path in java
I think this will work only on an English language Windows installation:
System.getProperty("user.home") + "/Desktop";
How can I make this work for non English Windows?

jumar
- 5,360
- 8
- 46
- 42