desktop

How can I specify an icon with a RELATIVE path for a Linux desktop entry file?

For one of my Linux applications, I have the application binary, a launcher.sh script (for the LD_LIBRARY_PATH) and a .desktop file, all in the same folder. I'd like to use a relative path rather than an absolute path for the icon. I've tried: Icon=app.svg Icon=./app.svg Icon=$PWD/app.svg Icon=$(dirname %k)/app.svg but none of these...

Create a desktop widget (gadget) with QT 4

How do I create with QT 4 a window that remains anchored to the desktop as a widget ? (Eg like Yahoo Widgets or Google Gadgets). I intend to give the same characteristics of a widget to a normal window: Remove the edges (easy to do) The window must not move (how ?) Must be displayed only when other windows are minimized (how ?) ...

How to reference a file on users desktop with Applescript

Hello, I'm pretty new to Applescript and am trying to reference a file on the currently logged-on user's desktop, but I don't know how. In POSIX you'd use the tilde character to specify the user's home folder, but that doesn't seem to work in applescript. I've read other posts about how "desktop" is already defined as a keyword applescr...

Old Delphi hide/show desktop icons method not working under Windows 7 64 Bit

I have a Delphi 2010 app which shows/hides the desktop icons under XP fine. However under my Window 7 test environment (happens to be 64 bit) the icons don't disappear. Here is the critical code I am using (for the hide): ShowWindow(FindWindow(nil, 'Program Manager'), SW_HIDE ); I have found I can set the registry: [HKEY_CURRENT_US...

AppleScript: Finder: How can I tell if the Desktop has focus?

window of the desktop is rather crippled. Can't get its index. Finder windows does not include the desktop window, so I can't check that the it's the first there. index of the first Finder window is 1 regardless of the desktop having focus. (as long as other Finder windows exist, otherwise it'll fail.) ...

Detect desktop environment in Linux programmatically in C

I am trying to detect whether I am running on a Gnome or KDE desktop environment. I know I can check via a ps -aux and grepping either gnome or KDE but that's not good: 1) what if I am on a gnome desktop but I have the KDE libs loaded? 2) I need to do it from code without using system() or popen() or other fork/exec combination. I can ...

Configuration storage for a desktop application

What are the benefits of choosing either: a file in the user's home directory, e.g. ~/.myapp/config using the user's gconf database I already know a couple of things; storing data in the user's gconf database makes it a little harder for the user to copy those settings out and onto another account or computer. On the other hand, is i...

Drag anything onto the desktop

Hi All Is there a way that we can drag text or images onto the desktop itself from within another application? Say for example there is some text in my app, and the user wants to drag it right onto the desktop, and be able to move it around and edit it right on the desktop... Would this be possible at all? Thank you :) I mainly use C...

How to force MSTSC.exe to use the supplied password?

Hi I would like to automate the login to a terminal server using Remote Desktop. In the past you could create an RDP file and open it to launch a connection. However, with the changes in security the password in the RDP file is now ignored and the user is prompted to enter it. I want to avoid this prompt and have the session launched...

Remote Desktop messing up clipboard

Hi, I have a third party application that sometimes hangs (no crash just taking 100% CPU). I think this hanging is related to remote desktop (specifically the rdpclip.exe task) sometimes messing up / locking the clipboard. As this is very difficult for me to reproduce for me, I as wondering if anyone is aware of the remote desktop clipb...

How do you re-order a window to be on top of all others in cocoa?

I want my application to become the top-level window on the OSX desktop when it needs to display important information. How would you go about doing this in cocoa? ...

Cant send a single key function to remote desktop :\

After a really deep drill down the web, this is my code which unfortunately doesnt send the keys as upper case :/ MapVirtualKey Implementation: const uint MAPVK_VK_TO_VSC = 0x00; const uint MAPVK_VSC_TO_VK = 0x01; const uint MAPVK_VK_TO_CHAR = 0x02; const uint MAPVK_VSC_TO_VK_EX = 0x03; const uint MAPVK_VK_TO_VSC_EX...

cannot copy paste with keyboard shortcuts in a application

hi! i have the following problem. I am working on an application which is a desktop app that includes a web browser and loads aspx pages inside it. Well a very messy structure, i dont know why they have done it like that. Anyway, the problem is keyboard shortcuts like ctrl-c, ctrl-v; ctrl-f are not working there. And even the mouse curso...

Rails for Java Desktop MVC

I'm looking for a desktop application framework similar to Rails/Django but for Java desktop GUI's: Good ORM (xml, db, whatever) MVC Default directory structure View Helpers / CRUD support Open Source & Mature Basically, I want to define a large number of models for a desktop application either in Java or schemas and have a simplist...

How can I make a window appear behind the desktop icons?

I am making an app that needs a window appear behind the desktop icons. It must be visible. I am using C#. But If it's needed I can make C/C++ dll's. I know this question was already asked, but none of the aswers are realy usefull. the link to the other question: http://stackoverflow.com/questions/1978077/c-set-window-behind-desktop-ic...

Opening a network shared folder with Java Desktop API

Hi, I'm working on an app that exports a file to a network folder specified on a drop down list using the Desktop API. File directory = new File("\\\\server\\XML\\Input"); Desktop desktop = null; if (Desktop.isDesktopSupported()) { desktop = Desktop.getDesktop(); } try { desktop.open(directory); ...

Selenium RC: Running browser on another X11 desktop

Hello, I'd like not to be disturbed by the browser that is launched by Selenium RC. Is there any way how to force it to run the browser on another X11 desktop? Running Selenuim server on another desktop does not solve the problem. Vít Šesták 'v6ak' ...

Desktop Application auto-complete

Hi I am working on a .net project, (first ever for me) and I would like to do something like the AJAX.AutoCompleteExtender that I used with my WEB projects. What should I use? is there something ready to use, Or I should go and make my own using the textbox, or combo box or something like that. The app I am working on, is a .net appli...

How do you update the Window's Desktop WorkingArea?

Hello, I am developing a security and kiosk library in my framework. The problem here is I have the proper methods and routines to disable various features of the Windows Shell. The main feature I am discussing here is the Windows Taskbar. I have properly disabled, and hid the Windows Taskbar. The problem is that the WorkingArea of the ...

How to find the origins of a Threading.ThreadHelper.ThreadStart() method

I have a .NET 3.5 client/server application that is accessed via RDP on a local network running on a windows 2003 server. When using one portion of the product, the screen freezes periodically when none of the code I've written is actually executing. I've run a profiler on the server using the latest source code, etc. and when the dela...