Ubuntu :: Clickable Shortcut/executable Python Script?
Apr 20, 2011
I am fairly new to Linux, and in the last two days, I've learned a lot! I am a LONG time heavy windows user since 1986, and have used Mac OS X at work for the last year. I feel I am a more experienced user on the Windows platform; I have programmed a short game in BASIC and C++. I have tons of games and one of my hopes is to get them working on Linux.
My problem; I have sucessfully downloaded a couple games, compiled their scipts and can play them by finding their executable and double clicking on them. i have added them to my Games menu. I downloaded a front-end for a game that is written in Python (Doomsday and Snowberry if you want to know) and have it running great! However, I would like to create some kind of clickable link in my Games menu so that it'll start up Snowberry (snowberry.py) so I don't have to keep opening a terminal and 'cd' my way to it's folder and 'python file.py'. Possible? I keep searching on google and find nothing but references to creating executable files for Windows.
View 6 Replies
ADVERTISEMENT
Nov 22, 2010
I have just installed a program called IDA-STEP on my Ubuntu 10.0.4 LTS system.
It was a manual download from website and I unzipped the program folder to /usr/local/ida-step, and ran the executable to install (./ida-step) it.
Now, every time I want to run the program I have to type "sudo ./ida-step" from within the folder to begin the program as there is no shortcut under Applications (Gnome desktop).
Is there a way to get a shortcut to the program under Applications?
View 3 Replies
View Related
Jul 6, 2010
I am writing a python package deployment tool for linux based platforms. I have tried various existing tool sets but none of them is up to the mark and they have their own issues. Initially I'll start with simple approach.
1. Find all the modules/packages and copy to "lib" directory.
2. Find python's *.so dependencies (system libs) and copy them to "syslib"
3. Copy python (executable) and libpython2.6.so.1.0 into "dist" directory.
4. Set up temp environment
5. Run main script using "python <main script>.py"
The idea is to produce a cleaner directory structure. Neither I am creating a boot loader nor I am converting main script file into executable. It's plain vanilla stuff. Using above steps I have pulled down a package using wxPython's demo example "pySketch.py". You can download the archive from here: [URL]. After extracting the contents, run the executable file using "./run". This file sets temporary environment variables and execute "pySketch.py". This is eventually not working. I think I am not able to set up temporary environment properly or may be missing some other stuff.
View 1 Replies
View Related
Mar 21, 2011
try to keep file system organized on XP instead of C:program files*everything goes blindly here I use C:MEDIA*category*application_name.So where in Debian on the hard drive are programs actually installed to? There's a couple programs that the sites merely gave me zip files instead of installers that were also not like in the package manager so I'd like to know where to extract those files.Also how do I create a shortcut in the "start" menu to the executable?
View 8 Replies
View Related
Sep 3, 2010
I am trying to run Wattch simulator in linux.But it is giving the error below. what is this error and what do I do about it?
fatal: bad magic number in executable `prime' (not an executable?)
View 1 Replies
View Related
Jun 20, 2010
I am running into a snag on .exe files in Lucid. I have Wine installed, but I can not open the file as it is blocked from executing with a window popping up telling me that this file was blocked due to security reasons. I go into the files properties and try to change the permission but that does not help. Is there a way to get around this? Possibly in the terminal as root?
View 3 Replies
View Related
Aug 21, 2011
I hope this post stands in the right section.I have a commandline i need to enter in terminal when i want to run a program. i tought lets put that piece of command in an .sh file and just click the file to run the program (then i dont need to open terminal first an give in the command) however the .sh file does not open the program. so i propably need to make a executable (application/x-executable).
View 3 Replies
View Related
Mar 24, 2010
i've recently installed Ubuntu 9.10, and i am trying to get java6 jre working. using "sudo apt-get install openjdk-6-jre" the package downloads and works fine until i run into this screen: Now this must look like everything is working fine....and i should just click the ' OK ' button...that is where the trouble begins...i can't....and i was hoping someone would know the problem...
View 2 Replies
View Related
Nov 22, 2010
Basically what the title says. I used to be able to click links in messages through checkgmail, but then I had to reinstall it and now I can no longer click links.
View 2 Replies
View Related
Sep 19, 2010
I have an essential problem with Gnote. Although a word is linked it is not clickable nor underlined. Basically there is not any sign showing that the word is a link. It looks like an ordinary word. However, when I select it then "Link" button becomes enabled and if I click to that button it takes me to the linked point. I think it is a very basic problem but strangely I haven't found anything about it in my searches. Is this Gnote's normal behavior? I have Ubuntu 10.04 and had this problem in both Gnote 0.6.2. and 0.7.2 (latest release).
View 2 Replies
View Related
Jun 22, 2010
Before I go any further let me make it perfectly clear that this post is not in regards to Shuttleworth's recent decision to move the "titlebar buttons". I honestly don't care and in fact it saves me time since I've always moved the close button to the left side and then removed the minimize and maximize buttons anyway.This problem is made even more annoying because I thought we were all done with it. I've been back and forth between distros, KDE, and GNOME since 2000. . . I would run head first into this issue often out of nowhere. . . I feel like I'm back in 2003 again.
According to Fitt's Law, corners and edges have infinite width as far as the user is concerned, one of the reasons I have loved GNOME for so long now is because of the use of corners, so imagine my surprise when I can no longer simply throw my mouse cursor up into the corner and simply CLOSE the maximized window that I'm currently using, instead it drags the window. This is obnoxious and useless. I can already grab at any other part of the top edge of the screen outside of the far corner in order to drag a window, why is this happening again? It is SO frustrating particularly since GNOME is supposed to be so damned concerned with usability.
I think this change might have something to do with that monstrosity known as gnome-shell. I guess they were figuring that with the proposed 2.30/3.0 switch over to this new window manager, they could simply do whatever they like with metacity. . . or maybe gnome-shell USES the same configurations as metacity (seems plausible), all that I know is that this truly pisses me off.It may seem trivial but it's a daily use factor for me and I have no way of changing the behavior. I just want to be able to throw my mouse in a corner and click, it never seemed that big of an issue in the past, I don't see why the developer(s) saw the need to change this.
And to forestall all those that would ask me to switch from metacity to compiz or vice-versa, it's with both and I am NOT going to use compiz's own digusting window manager themes, I like my metacity themes.My other choices are KDE, enlightenment, openbox or Xfce, Well the first two are travesties since I'm used to my GNOME applications and they don't look good in those DE's, the third looks like crap (to me) and Xfce has corner close button functionality only per theme (some themes do and some don't)
View 5 Replies
View Related
Oct 7, 2010
In my desktop toolbar on the right side where my running applications are shown etc. I have some problems:
1) After a while and after some messages have been shown and applications started, there is a growing gap which gets larger. When I move the mouse over the gap, I see tooltips belonging to the application to the right which is always a different one so I assume that it is a toolbar problem and no application problem.
2) Some icons are not clickable with the left mouse button, e.g. Rhythmbox. When I left click on it, nothing happens.
3) When I open the volume control with a left click, I cannot close it by clicking somewhere else. I always have to click on the "Mixer" Button to see a whole window and then I can close it.
View 2 Replies
View Related
Sep 25, 2010
When I activate Compiz through the Desktop Effects settings, the top one or two pixels of the top Gnome panel don't respond to mouse clicks. Is this a bug, or do I have to adjust some CompizConfig setting?
View 6 Replies
View Related
Jan 25, 2010
I'm seeing weirdness with Scottrade's main screen with Firefox (not the real-time streaming quotes app). It seems after a few minutes, whether idling or otherwise, Firefox gets into a state where nothing on the Scottrade page is clickable. Firefox menus still work as do other tabs so Firefox itself is still alive. It's as if a timer fires inside Firefox that renders the Scottrade page inert. Manually reloading the page temporarily fixes the problem. This is the only website where I've encountered this. It's particularly annoying when you're in the middle of placing a trade order and the page suddenly goes dead when you're about to submit.
System: Fedora 11 x86-64 Firefox 3.5.6 (x86-64) from Fedora Update
I thought maybe this was a problem specific to Fedora's Firefox build so I installed the FF 3.5.6 and 3.6.0 i386 from a tarball direct from Mozilla. Same results. I'd be inclined to call this a Firefox bug were it not for the fact that I do not see this behavior on my ancient Fedora 4 machine running Firefox 3.5.6 installed from the same tarball.
View 1 Replies
View Related
Nov 6, 2010
I am new to Ubuntu and am attempting to do a clean install on my second pc. I'm semi computer illiterate, and I am stuck on the Who are you? page. It appears that I have all the fields filled in correctly, with checks next to them all and "Fair password" displayed. I have Log in automatically checked, and I have require my password to log in as well as encrypt my home folder unchecked. I was wondering if there had been problems with this or is there something that I am doing wrong with my installation? The forward button is not clickable for some reason
View 3 Replies
View Related
Jun 16, 2011
I just upgraded to Fedora 15 from Fedora 14.... I think I could tolerate the new gnome shell if I could turn some of my tcl/tk and python gui scripts into things that I can store in the 'favorites' panel. In F14 I could create 'applets' ( with an Icon) that I could put in the top panel ( menu bar). Clicking on the icon would start the (gui based) script. Is there some way I can create a 'clickable' script in F15 and then place the result in the Favourites panel?
View 2 Replies
View Related
Dec 8, 2010
I have a question about Pidgin IM client. Is there a plugin to make links posted on status by friends clickable?
View 5 Replies
View Related
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
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
Oct 27, 2010
in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work
View 3 Replies
View Related
Jul 17, 2010
Python 3 want situation for python 2?Python 2 become stop?
View 1 Replies
View Related
Jan 7, 2011
yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:
[Code]....
View 2 Replies
View Related
May 1, 2010
It seems that when I adjust the volume with the volume wheel on the side of my notebook, the OS messes up. Nothing is clickable, I cannot type anything, in order to get a working computer again I have to hard reset it.Why is this happening? I have never experienced this. I have a Toshiba Satellite that I recently installed Ubuntu on.
View 5 Replies
View Related
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
Mar 30, 2011
How can I upgrade python-2.4.3 to python-2.5?
View 1 Replies
View Related
Jan 12, 2011
This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.
View 1 Replies
View Related
Nov 30, 2009
Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.
[URL]
View 3 Replies
View Related
Feb 24, 2010
I do alot pf C++, I like that I can just type "g++ myprogram.cpp" and it will comile into an executable, but when I try to run it in the terminal by double clicking or right clicking and choosing open nothing happens. The program works perfectly if I do
Code:
./myprogram.out
but when I double click it, and choose "run in termminal", nothinh happens. How can I get it configured to open the terminal and run when run it from GUI?
View 9 Replies
View Related
Nov 22, 2010
So I can not get executable.Last week I wanted to use Intel Fortran compiler and had problems with other program,the removed libf2c.so.(put libf2c.a)What should I do know?How to see where the problem is?
View 2 Replies
View Related
Jan 11, 2010
No error messages, just nothing happens. I tried with the Fonrpage Express, FS98, A video converter, Visual Foxpro, etc.
Some other work, although with a rather poor performance.
View 1 Replies
View Related