Programming :: Get Window Titles, Icons And Screenshots From A C++ Or Python Program?

Jan 30, 2011

Is it possible to easily get the number of desktops, add/remove desktops, and get window titles, icons, and screenshots from a C++ or Python program?

View 12 Replies


ADVERTISEMENT

Ubuntu :: No Window Titles In Bottom Panel?

May 5, 2011

I'm running Ubuntu 10.04, with the default appearance of a top and a bottom panel. You know how window titles appear in the bottom panel, and you can re-maximize minimized windows by clicking on that window title?ell, those window titles are no longer appearing. So when I minimize a window, I don't know how to bring it back.The bottom panel is still there, with the "show desktop" and the trash can icon on it.But no window titles.nd I don't have any idea what I did to make this happen.

View 2 Replies View Related

Ubuntu :: Window Titles Don't Update In 11.04 Classic?

May 7, 2011

When I switch tabs in Firefox or Gedit the window title doesn't update, though the task bar title does, and if I minimize and then restore it updates to the correct value until I switch tabs again. Are there any workarounds? What sort of debug info do I need to post?

View 4 Replies View Related

Programming :: Python Program For Time ?

Jun 24, 2011

I need to write a program for time. like i have 2 tasks both minutes and hours.

like this
1st task=5 hours and 30 minutes
2nd task=2hours and 45 minutes

Together they will take 8 hours and 15 minutes.

I need to write a program thats called ADDTIMES to do something like this.

This is what i have so far.

H1=int(input("enter the number of hours:")) etc..

View 6 Replies View Related

Ubuntu :: Why Window Titles Hiding Under Unity Panel

Jun 12, 2011

While I think Unity has its many ups and downs, I found it usable enough to choose it as my default desktop, after some customization. Somewhere in tweaking the desktop with ccsm - or elsewhere - I did something boneheaded. Now when a new window opens at the top of the screen, its title bar is hidden under the Unity panel. I could just wipe everything out and start over, but I kinda like the way things work on my desktop - with this exception. Where I might look to figure out what is letting windows be placed all the way up under the panel.

I did try creating a new account and looking at ccsm config export and comparing it to mine, but did not see anything useful. The only thing I changed with respect to window placement/handling, AFAIK, is disabling maximization at the top of the screen (in 'Grid' module); restoring that did not help. The problem turns out to be caused by using a window type 'panel' in my conky config. Changing the window type to 'desktop' cured the problem. Did not dive any deeper to analyse exactly what conky 'panel' windows do to interfere with Compiz/Unity.

View 4 Replies View Related

Programming :: Creating Image Viewer Window Using Python And GTK Widgets

Jul 7, 2010

I'm a total newbie in Linux and only have limited experience of programming - in Hypercard, Javascript and some Python on the Mac platform. Now I want to get started with high-level programming and scripting on Ubuntu 10.04. The project I have in mind is fairly simple: I want to create an image viewer window that I can bring up on a RAW image file in Nautilus - with the help of dcraw, to inspect the image at 100% without going into a separate application.

The viewer should have a button that if clicked, would then convert the file to a TIFF, again using dcraw. That's it, that's all there is to it. My initial impression is that I should be able to achieve this using Python and GTK widgets. Am I right? How can I find the commands and structures I will need to work with?

View 8 Replies View Related

Programming :: Run External Program From Python Script?

Dec 21, 2009

I want to be able to run a program in a python script, and capture it's output in a variable. I figured out that I can execute it with os.system(), but how do I capture it's output and store it in a variable?

View 1 Replies View Related

Ubuntu :: Titles In Preview For Compiz Scale - Window Picker

Feb 3, 2011

I am looking for a way to place titles either on or under the previews in the Window Picker. I usually have many windows open, quite often with many of those windows being from the same program (i.e., OpenOffice Documents). I am wondering if the Scale plugin has some way of either overlaying titles when the mouse hovers over the preview, or if titles can be placed directly underneath the previews as they would be in OSX's Expose.

View 5 Replies View Related

Ubuntu :: Dynamic Percentage In Window Titles Makes Sidebar Flick?

Nov 3, 2010

Is there a known bug in Ubuntu 10.04 LTS about this? When for example Brasero Disc burner is in action, it displays the progress as percentages in the title bar. This makes my sidebar that shows all open programs flick every time the percentage is progressing, and even worse; it switches between one and two column display on each flick... I am using the sidebar on the right side, and have seen some extra problem reports about that, but would appreciate any pointers to where this is being discussed and / or fixed.

View 1 Replies View Related

Programming :: Continue Execution Of A Python Program While A Background Task Is Going On?

Aug 28, 2010

I'm trying to figure out how to continue execution of a Python program while a background task is going on.

In bash, it is adding "&" to the end as in:

Code:
#! /bin/bash
find / -iname "*.py" > /tmp/all_pys &
echo "looking for all python scripts and putting them in /tmp/all_pys"
(yes, I know I could just put the echo BEFORE the find but I just use it for example)

Say I do that in python (not necessarily running the shell, but perhaps using scriptutil.ffind or something similar), but want to allow the user to be doing something else while running that search in the background, how would I thread, fork, subprocess (not to be confused with the module and Popen) [or whatever I should call it] that?

View 14 Replies View Related

OpenSUSE :: Switch Program Titles In Kickoff Menu To Actual Name?

Mar 1, 2010

Is there any way to switch program titles in the Kickoff menu to the actual program name? i.e. "Web Browser" to "Mozilla Firefox" instead.

View 6 Replies View Related

Programming :: Python - Call Function From The Command Line After Compile The Program?

Dec 28, 2010

If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?

View 5 Replies View Related

Debian Programming :: Emacs And ECB Missing Python Methods In Methods Window

May 12, 2014

I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.

I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.

I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....

View 0 Replies View Related

Programming :: Link Titles - Get HTML Tags

Jul 8, 2010

I had a set of link titles and wanted to get HTML tags for them. Actually I wanted to get from

[code]...

It's PHP based (running on linux of course . I'm sure same thing is possible by some awk/sed magic, but i wanted somehting more visual.

View 1 Replies View Related

Programming :: Python "support" Included In C Program?

Jul 11, 2011

I am just asking how this works in general. I know Python can wrap a C code, but here it seems Python is already integrated with this C program.Would it be correct to say one would have to understand the C code in addition to py programming in order to accomplish anything useful here?I need to control the program, and especially import its output to some algorithm that accomplishes command and control in the way of bash scripts or whatever.

View 2 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Ubuntu :: Python Drag Window Around?

May 16, 2010

I'm trying to manipulate the existing windows from within a python script similar to the BASH wmctrl. I've got the basics down with PyWnck, but I need to be able to tell when a window is actively being dragged (or just when the title bar is being clicked). I doubt this is a wnck function. direction of the right python package?

View 1 Replies View Related

Ubuntu :: Put A Print Icon Into A Python Program?

Dec 3, 2010

I am wanting to put a print icon into a Python program and will use printing via the command line via calling lp or lpr.

So a simple question: Whats the difference between lp and lpr?

Also when you type man lp or man lpr the man page says Apple Inc?

View 2 Replies View Related

Ubuntu :: Install Python Program From Source?

Dec 16, 2010

I downloaded this programs source and I'm having a hard time figuring out how to install it. I assume it is python source? I tried downloading the debian file but could not figure out how to install it aswell. I downloaded the software from [URL]

View 9 Replies View Related

Ubuntu :: How To Run A Python Program From The Command Line

Jun 14, 2011

i have ubuntu 10.04 and python 2.6 installed how do i run, stop or restart a .py file from the command line.

btw im using Putty from a windows computer

View 1 Replies View Related

General :: Embedding Python Script In C Program?

Apr 7, 2011

How can i embed python script in C program?

View 1 Replies View Related

Ubuntu :: Make A Program Use An Older Python Version?

Jun 3, 2011

I need to know how to make a program use a version of python older than the newest one. I am trying to run the Traipse fork of OpenRPG. Through their forums, I have learned that one of my problems is that I am running too new a version of python. I have python 2.7.1 installed.

I also have python2.6.6 installed, so I should be able to use that. My first thought was to uninstall 2.7.1 and just use the older version. The problem is that if i uninstall 2.7.1, it wants to also uninstall all the packages dependent on that program. Let's face it, in Natty Narwhal, that is pretty much everything.

Do you know how to force Traipse make it use the 2.6 version?

View 2 Replies View Related

Programming :: Totem Python Plugin Programming: Any Signal For Video Mouse Click?

Feb 9, 2011

I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":

Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)

[code]....

View 3 Replies View Related

Ubuntu :: Window 3 Icons (close, Min & Max) Moved To The Left?

May 1, 2010

just upgraded to 10.04 - everything seems to be working OK apart from the 3 icons (close, min & max) have moved to the top left of the windows.

View 4 Replies View Related

Ubuntu :: How To Change Program Icons

Mar 7, 2010

I have been playing around with AWN. I can't figure out how to change the icons. Namely, the icon for Firefox. I was able to drag Thunderbird from the top panel and the icon showed up but Firefox is a different story. All I get is the blue diamond with the gears.

View 2 Replies View Related

Ubuntu :: No Panel, Desktop Icons Or Window Manager Post-upgrade?

May 15, 2010

The upgrade appeared to go smoothly, but now logging in to a normal session just gives me a desktop wallpaper and nothing else.If I log into Gnome-Failsafe then I get a panel and desktop icons back, but still no window managerI have to initiate metacity manually.Wondered if it was something to do with my messy personalisation settings, but a new test account I created has the same problem.

View 4 Replies View Related

Ubuntu :: Dockbarx 0.43 Not Working - No Window Previews - No Icons For Open Applications

Feb 24, 2011

I few weeks ago DockbarX upgraded tyo 0.43, and since then it hasn't worked at all; not just no window previews, but no icons for open applications - absolutely nothing. This also applies when there's an applet in a panel, not just AWN. I've been through the forums, tried going into Compiz Settings and unchecking, then rechecking KDE Compatibility etc, but it does nothing. Edot - installed awn-applet-dockbarx and gnome-dockbarx-applet from Synaptic but it doesn't help.

View 9 Replies View Related

Fedora Security :: Python Library For MLS - Write A Program To Change Range For Users?

Apr 16, 2010

I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved