Questions tagged [desktop]
2483 questions
61
votes
3 answers
How to create a simple desktop environment?
I want to know how to create a simple desktop environment, such as KDE, Gnome and LXDE, for Linux, or specifically, Ubuntu/Kubuntu, but I do not know how to begin and how complex it is.
I want to create a simple, efficient and lightweight desktop…

Squall
- 4,344
- 7
- 37
- 46
57
votes
4 answers
Windows shortcut to run a Git Bash script
Assuming I have a test.sh script that runs a server and Git Bash installed, how do I create a Windows shortcut that I can double click to run tesh.sh in Git Bash in the foreground and allows me to see the output of the server?

konyak
- 10,818
- 4
- 59
- 65
51
votes
15 answers
How can I change my desktop background with python?
How can I change my desktop background with python?
I want to do it in both Windows and Linux.

aliva
- 5,450
- 1
- 33
- 44
49
votes
2 answers
What's the difference between SpecialFolder.Desktop and SpecialFolder.DesktopDirectory?
I'm confused about the differences between these two special folders.
Here's a code snippet that writes the output of each, but they output the same thing.
string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
string pathTwo =…

Only Bolivian Here
- 35,719
- 63
- 161
- 257
46
votes
9 answers
How to get Desktop location?
I'm using Python on Windows and I want a part of my script to copy a file from a certain directory (I know its path) to the Desktop.
I used this:
shutil.copy(txtName, '%HOMEPATH%/desktop')
While txtName is the txt File's name (with full path).
I…

Ben L
- 743
- 2
- 7
- 15
46
votes
8 answers
Cross-platform desktop notifier in Python
I am looking for Growl-like, Windows balloon-tip-like notifications library in Python. Imagine writing code like:
>>> import desktopnotifier as dn
>>> dn.notify('Title', 'Long description goes here')
.. and that would notify with corresponding…

Sridhar Ratnakumar
- 81,433
- 63
- 146
- 187
44
votes
3 answers
PowerShell Desktop Variable
I am trying to write a PowerShell script to remove the desktop icon for Chrome after installing through sccm. However, certain users in the network have their desktop directed to different folders on the network. Is there a variable in PowerShell…

bgregor
- 543
- 1
- 4
- 6
42
votes
4 answers
Using Modernizr to test for tablet and mobile - Opinions wanted
I want to use Modernizr to detect whether a user is view a site on a desktop, tablet or mobile device.
My initial first thoughts are obviously to check screen sizes that should be enough for mobile devices and also for larger desktops. For tablet…

mtwallet
- 5,040
- 14
- 50
- 74
41
votes
3 answers
Mac OS X - run shell script from the desktop GUI
You can create a shell script or a Python or Ruby script and run it on the Mac by using "Terminal" ... if you have Finder open, and you click on the icon for the file containing the source code of a saved shell script, is there a way to have that…

dreftymac
- 31,404
- 26
- 119
- 182
40
votes
29 answers
Which embedded database to use in a Delphi application?
I am creating a desktop app in Delphi and plan to use an embedded database. I've started the project using SQlite3 with the DISQLite3 library. It works but documentation seems a bit light. I recently found Firebird (yes I've been out of Windows…

Darrel
- 563
- 1
- 5
- 9
39
votes
2 answers
What ways are out there to display a desktop notification from a web app?
What I would like to do is show a toaster like notification preferably but any method of "pushing" updates to the desktop is interesting.
Thanks

reshefm
- 6,017
- 8
- 36
- 40
37
votes
5 answers
How to add CLion icon to desktop in Ubuntu
I am using Ubuntu and CLion 2016.1.
I installed it by downloading tar.gz archive.
Now I have such CLion-2016.1/bin folder. For launching Clion I run ./clion.sh.
How can I add CLion icon to desctop?

Kenenbek Arzymatov
- 8,439
- 19
- 58
- 109
35
votes
7 answers
HTML5 drag and drop between windows
is there anyway with the HTML5 Drag & Drop functionality or/and the File API to drag an jpg image from one window to another?
The idea is that I could drag and image from Facebook to a different browser's window with a custom HTML that would get…

jordi
- 367
- 1
- 3
- 6
32
votes
1 answer
Windows 7 Remote Desktop Connection Save Credentials not working
Trying to connect from Windows 7 to a Remote Windows 2008 Server via Remote Desktop Connection
I always used to be asked for credentials during logon – even though i saved my credentials
This error would creep up
Your system administrator does not…

Dinesh Babu
- 1,029
- 1
- 8
- 8
31
votes
7 answers
VS2008 Setup Project: Shared (By All Users) Application Data Files?
fellow anthropoids and lily pads and paddlewheels!
I'm developing a Windows desktop app in C#/.NET/WPF, using VS 2008. The app is required to install and run on Vista and XP machines. I'm working on a Setup/Windows Installer Project to install the…

Lyman Enders Knowles
- 691
- 1
- 5
- 11