Ubuntu :: Can't Source Script In Launcher Script?

Jul 27, 2010

I've got a script, "setup", that sets some environment variables. I have another script, "launch", that launches a program for me. A launcher on my menu panel is set to run command "launch".Here's what the text of "launch" looks like:

source setup
export FOO=$VAR_FROM_SETUP
gui-program

If I run this from the launcher, the program sees an empty string for FOO.If I run it from a terminal, the program sees a correct value for FOO.Why the discrepancy?there a workaround that will allow a launcher to set variables via "setup"before running my program?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Builtin Source . (dot) Command / Cannot Be Run From A Launcher?

Nov 23, 2010

Whenever I compile Dreamcast games, I must source a certain .sh file before running make. I like to use the Netbeans IDE, so I must run these commands in a terminal

Code:
$ source environ.sh
$ "/usr/local/netbeans-6.9.1/bin/netbeans"

However, this forces me to run netbeans from the terminal when I'd like to run netbeans from a launcher or alt + f2. This method forces me to keep the terminal open when I run netbeans. The problem is, source is a shell builtin command and cannot be run from a launcher (as far as I know).

View 5 Replies View Related

Ubuntu :: How To Restore The General App Launcher Button On The Unity Launcher

Apr 29, 2011

For some reason the general launcher button (+ in circle) in the unity menu has disappeared. I do not know how to restore it. Which means I have great problems to start al apps that are not standard in the menu.

View 1 Replies View Related

Ubuntu :: Unity Launcher Configuration - Changing Size Of The Launcher Bar Or Icon Size

Apr 28, 2011

How do you access preferences for changing size of the launcher bar or icon size, etc? I looked through system settings and could not find it.

View 4 Replies View Related

Ubuntu :: Open Source Virtual Machine - Study The Source In Order To Create My Own?

Jun 28, 2011

Is there any open source virtual machine so i can study the source in order to create my own? i'm gonna write my own, so it doesNT matter if license does not allow further development of the code.

View 1 Replies View Related

Ubuntu :: Source Code Of The Krnel From The Kernel.org - Source Trees Organization

Apr 11, 2011

i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting

View 1 Replies View Related

Ubuntu :: How To See Source Code Of Open Source Software

Sep 12, 2010

I want to see the source code of smplayer software.from where i can see source code of open source softwares?

View 9 Replies View Related

Software :: Where Is The Source Codes For The Open Source Drivers For Each Distros

Jan 2, 2009

We all know we can install a linux system such as Fedora 10 and use it. Being linux, one should in principle get the source codes for everything that has been precompiled (except the proprietary drivers such as nvidia) in the installation DVDs/CDs. Where are the source codes ? Is there a place I can download them ?
To avoid confusion, I am not referring to the kernel source that can be compiled to give a linux kernel, but that does not include the drivers, such as intel_drv.so.

To be more specific, the intel graphic i810 driver has been built into any linux system, but where is the exact source? One answer may be that primary source intellinuxgraphics.com. However, if anyone tries to download the every changing (i.e., keep updated almost every single day) driver source codes from freedesktop.org, it is almost certain that the source codes will not be the same as the one that is finalized in Fedora 10.

View 9 Replies View Related

Fedora Installation :: Use The Source Dvd To Install The Source Package?

Feb 19, 2010

installed the fedora 12, but dont know how to use the source dvd to install the source package.

View 3 Replies View Related

Ubuntu :: Launcher For More Than One Program

May 4, 2010

I'd like to make a launcher that starts a couple of programs at once. When I switch my brain into 'work mode' I'd like one click to start evolution, firefox and sunbird.

View 2 Replies View Related

Ubuntu :: Creating An App Launcher?

Jul 21, 2010

I am trying to make an app launcher for Ubuntu which replaces the top bar (default) in gnome. It will be a menu system in the middle of the screen which you would click on parts to bring up lists of apps and locations. What would be the easiest way to do this, and in which code?

View 2 Replies View Related

Ubuntu :: Add Apps To The Launcher?

Dec 12, 2010

how to add apps to the launcher?

View 5 Replies View Related

Ubuntu :: Add Launcher To Panel?

Mar 4, 2011

On Xubuntu, I right click something like I did on Ubuntu, to add to panel.. It just clicks the program. There is NO options when I right click a program in Applications. It's frustrating.. re's an incredibly unnecessary way that is different than Ubuntu to put an application to my panel.

View 1 Replies View Related

Ubuntu :: Add New Launcher To Sidebar?

Mar 20, 2011

I really like the ubuntu netbook launcher sidebar. I would like to add and remove some of the launchers. Anyone know how I would go about doing this?

View 1 Replies View Related

Ubuntu :: Launcher To Run An App In Terminal?

Apr 7, 2011

i was wondering, and maybe hoping, if there was any way i can create a launcher to open a program that must be ran in terminal for it to run. i don't really like opening terminal and going to the program's location to launch it, so is there any way for this to work?

View 5 Replies View Related

Ubuntu :: The Launcher Is Not Visible?

Apr 29, 2011

i upgraded to 11.04 but the deastop interface is same as 10.10the new launcher panel in 11.04 as shown in webpage is not visible.

View 1 Replies View Related

Ubuntu :: Turn Off Launcher In V11.04?

May 12, 2011

How do I turn off 'Launcher' in v11.04 ? I need to get into 'Classic' mode but do not know how to.

View 9 Replies View Related

Ubuntu :: Launcher And Dock Is Gone?

May 24, 2011

I installed the new ubuntu with unity. I then used compizconfig to edit some stuff. I wanted the launcher to be in the bottom and always show.

However, after I did this i ended up with:

how to fix this? I don't know how to open a terminal, a webpage since I don't have a dock or launcher. I'm using ubuntu through classic now.

View 4 Replies View Related

Ubuntu :: Add New Applications To Launcher 11.04?

May 25, 2011

I need a to add a few daily used applications (filezilla, chrome etc) to the launch bar. is there any way that i can move the top bar to bottom.

View 3 Replies View Related

Ubuntu :: No Taskbar/launcher In 11.04?

Jun 2, 2011

It seems as if I've really done myself in this time. I recently upgraded to 11.04 from 10.10.trouble (not showing titlebars after I had trie to enable the "desktop cube" feature) so I decided the best plan of action was to get rid of Compiz. That turned out to be a mistake. Now I have no launcher or taskbar, and since I'm somewhat, well, inept at this so far I have no idea how to get my desktop back in working order.e managed to install compiz and emerald once again, but I can't get to the startup application editor to make it run automatically. Is there a way to get the default desktop environment handler to kick back in?

View 3 Replies View Related

Ubuntu :: Terminal Won't Go Into Launcher / Fix This?

Aug 7, 2011

I am trying to drag and drop the terminal into the launcher, but it doesn't show up when I let go of it.

And when terminal is open, it isn't showing up in the launcher either.

How can I fix this?

View 1 Replies View Related

Ubuntu :: Add .sh To Unity Launcher?

Sep 1, 2011

I made a shell script to launch dr. java that works fine, but when I try to make it a launcher, it does nothing. This is the script:

Code:
#!/bin/bash
java -jar drjava-stable-20100913-r5287.jar;

Why is the launcher being difficult?

View 1 Replies View Related

Ubuntu :: Reduce The Gap Between Icons In Launcher Bar?

Jan 13, 2010

I re-arranged and added some new icons into the launcher bar at the top of the screen.However the gap between the icons is much wider than initailly at the beginning.I fizzled around for a while but manually dragging does not help.How can I reduce the minimum gap?How can I tell Ubuntu: "Put all current icons in row with minimum distance (=1 pixel)"?

View 1 Replies View Related

Ubuntu :: Drag A Launcher Into Cairo?

Jan 27, 2010

Why can I NOT drag a Launcher to Cairo-dock.I know I did it once before.I tried to uninstall /reinstalled, reboot ect. No Luck.

View 5 Replies View Related

Ubuntu :: Launcher For Terminal Script?

Feb 24, 2010

shell scripting and launchers. i need to make a launcher for launching terminal, runing in it some commands and after completion i need to close terminal window.in terminal i need tu run such commands:

$fpc test.pas
$./test

and then it would be nice that the terminal automaticaly closes

View 9 Replies View Related

Ubuntu :: CMD Line Works But Launcher Does Not?

Mar 6, 2010

I want the gnome screenshot program to open after a 3 sec wait in select area mode.command line $ sleep 3s; gnome-screenshot --areaworksWhen I create a launcher for panel with the same commands it does nothing.I know there are many other ways to do this, GIMP, ImageMagick ....(excellent tutorial)[URL]But, I need to understand why this will not work, and why I must use a script (which I can easily create)instead

View 5 Replies View Related

Ubuntu :: MIRO No Launcher Anywhere On The System?

Mar 13, 2010

I installed MIRO with apt-get and it installed just great. But where is it? No launcher anywhere on the system. I can find files belonging to MIRO all over the file system but how/what/where? how to launch MIRO now it's installed?

View 1 Replies View Related

Ubuntu :: Creating A Launcher For Storybook .sh?

Apr 9, 2010

I recently downloaded Storybook, and using the default storybook.sh from the terminal, or from nautilus works fine launching the application. The command being ./storybook.sh. I have the file set to allow executing the file as a program.The various combinations I've tried in the launcher include:

Code:
/home/tim/storybook/storybook.sh
sh /home/tim/storybook/storybook.sh

[code]....

View 2 Replies View Related

Ubuntu :: Lost The Task Bar / App Launcher

May 5, 2010

Because the on/off switch vanished from my task bar, I managed to delete it. It did warn me. Anyway, I can't get it back and I don't know where anything is. I have a second user account but Ctl+Alt+Del doesn't even give me a logout option! Bad. ubuntu version 10.04

View 1 Replies View Related

Ubuntu :: Installing Netbook Launcher In 10.04?

May 13, 2010

I have Ubuntu 10.04, i like it, but im hoping to beable to use the netbook launcher in it. Is this possible and if it is how?

View 1 Replies View Related







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