General :: Assigning Custom Command For An Application?

Jun 25, 2011

I am using Ubuntu 11.04 (in the classic mode)Whenever I double-click my sqldeveloper.sh file, it gives weird errors. When I did :Code:sh /home/uer/Softwares/sqldeveloper/sqldeveloper.sh on the terminal, the program started up. So, I went to the "open with" on the shell file, "Select custom command" and typed the above, but nothing happened. What should I type as the custom command ?

View 2 Replies


ADVERTISEMENT

General :: Not Launching Spark Messenger When Created Through Custom Application Launcher?

Aug 16, 2010

I'm using fedora8.I installed spark on my machine,when i launch that through terminal,it is opening perfectly.But when i open application launcher or creating custom application on panel it was not working.All other shortcuts like,thunderbird,firefox are opening except spark.

View 1 Replies View Related

Programming :: Assigning Custom String To Std::string In C++?

Oct 12, 2009

I've been given a custom-made string class which handles string, wstring and bstr. It has a number of methods and assignment operators to convert to and from different types. The app I work on compiles happily in VS6 and VS2008, but when trying to compile in Redhat (version 4.1.1 in Redhat 5.0)

[code]....

View 4 Replies View Related

Programming :: Assigning Bash Variable With The System Command In Awk?

Mar 1, 2011

I am having all sorts of trouble trying to assign a variable within an awk script with the system command. I know there is a lot of ways around this problem, but for efficiency reasons, I would like to, within my awk script, do something like

system(x=3)

or

system(x=NR)

and, latter on the shell script which calls the awk script, use the variable $x. But nothing is passed to x. I have already tried things like

command = "x=3"
system(command)

and also used a pipeline within the system to pipe it to /bin/sh In fact tried a lot of stuff like that, using $(( )) etc etc etc I can create directories e write to files (yes, i could write to a file and read from there, but I dont think it is efficient, plus I am puzzled).

View 7 Replies View Related

Programming :: Assigning Output Of A Command To An Array In Perl?

Nov 25, 2010

I am trying to execute a Unix Command in perl and assigning its output to an array:

Code:
@File_List=exec("ls -1 /tmp");
but it is not working. I have tried the perl function system() also but its return code is

[code]...

View 10 Replies View Related

General :: Custom Xen Shutdown Command Fails?

Dec 26, 2010

I have a custom command I've made to quickly shut down all of my xen instances.

Code:

[root@LCENT02 ~]# virtdown
-bash: syntax error near unexpected token `2'

As you can see it fails when I try to run it on the command line. It is stored in an ~/.env file in my home directory. What is odd to me is if I open the .env file and copy the command from there and paste it into the command line, it does actually work!

Code:

[root@LCENT02 ~]# for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done
Domain 1 is being shutdown
Domain 2 is being shutdown
Domain 3 is being shutdown

And this is how I have the command entered into my .env file:

Code:

alias virtdown="for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done

Why would this command work if you paste it onto the command line but not use the custom command virtdown?

View 1 Replies View Related

Fedora :: Gnome3 Custom Application Launchers

May 25, 2011

I am running Fedora 15 and Gnome 3, most of which I like and is working. However I can't seem to add a custom launcher or if I install a application and the .desktop file is created and placed in ~/.local/share/applications the application is not appearing in the search for that application. How do I add a custom application to the list of applications installed?

View 4 Replies View Related

Ubuntu :: Custom Launcher Application - Will Only Execute Once?

Aug 1, 2011

I'm running 11.04, and I installed the following script for a custom google docs launcher to put in the unity launcher. However, if I execute the application it opens, but once I close the browser, the google docs launcher is no longer clickableAs a side note, I'd also like the launcher to open the new template of google docs because it opens to the older interface when selecting to make a new document.

Code:
[Desktop Entry]
Version=1.0

[code]...

View 1 Replies View Related

Debian Multimedia :: No Gnome 3.14 Custom Application Launcher?

Jun 30, 2015

Seems like such an unbelievably basic question, but a day of google searches as well as directly on this site with key word combinations like "jessie gnome application launch" or "jessie gnome launcher" has only yielded one remark somewhere that the only way to get any kind of custom application launcher working on a gnome 3.14 desktop is to copy an already existing one from an older gnome setup, such as Wheezy.

I know gnome is a bit limited compared to many other desktops, but besides this I consider gnome in Jessie very good and just can't believe the ability to customize application launchers could have really been made completely impossible to do. This single omission alone would make gnome extremely lame in my view, so I sure hope that is not in fact the way it is.

View 8 Replies View Related

Fedora :: Create Custom Application Launcher In Gnome 3

May 29, 2011

How do I create a custom application launcher in Gnome 3? I used to be able to right click on the panel and choose 'Create custom launcher' in Gnome 2, but that doesn't seem to work here.

View 14 Replies View Related

Ubuntu :: Unable To Set Custom Icon On Application Launcher?

Jan 19, 2011

I am using Ubuntu 10.10 and having trouble setting a custom icon for an application launcher that I created. I have created and SVG file and placed it in /usr/shared/icons/hicolor/scalable/apps/ and when I try to select it as the icon for the application launcher, it just goes back to the gnome-panel-launcher.svg default.If I put the SVG file on my desktop and then select it, all is well. I'm assuming this is some type of permission problem, but I cannot seem to figure it out. I have set the permissions to be identical to the other icons in /usr/shared/icons/hicolor/scalable/apps/, but have no luck doing that either.

View 1 Replies View Related

Ubuntu :: Unable To Set Custom Icon On Application Launcher

Jan 19, 2011

I am using Ubuntu 10.10 and having trouble setting a custom icon for an application launcher that I created. I have created and SVG file and placed it in /usr/shared/icons/hicolor/scalable/apps/ and when I try to select it as the icon for the application launcher, it just goes back to the gnome-panel-launcher.svg default.

If I put the SVG file on my desktop and then select it, all is well. I'm assuming this is some type of permission problem, but I cannot seem to figure it out. I have set the permissions to be identical to the other icons in /usr/shared/icons/hicolor/scalable/apps/, but have no luck doing that either.

View 3 Replies View Related

General :: Compile And Install Application From Command Line?

Sep 21, 2010

I am going to compile and install my first linux application from the command line. The program is the port scanner program NMAP, and I am looking at the documentation to learn how to do it. I saw this thread [URL], and I just want to make sure I understand what it is I'm doing.

bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -
cd nmap-5.35DC1
./configure
make
su root
make install

"bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -"
Here I am calling the bzip2 program to work with a specified file. look for the file nmap-5.35DC1.tar.bz2 in the current diretory (-cd) and to pipe (redirect) something, this is where I get lost, I think. And I know what x & v mean but not f, or what that has to do with the previous commands.

cd nmap-5.35DC1
Chage to the named directory.
./configure
I assume this is a command?
make
Builds an executable
su root
make install
not sure what the difference is between this and the above.

View 7 Replies View Related

General :: Building Application In Shell Using Make Command

May 26, 2011

Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ?

View 5 Replies View Related

General :: Ping Command Continues After Closing Application

Jun 4, 2010

I run the ping command using system() in C. It start pinging the desired destination but when I close my application it continues to ping. Is there any solution that as soon as I close my application it also stops pinging. Any change required in my C code?

View 2 Replies View Related

Hardware :: Load Custom Kernel/install Additional Application On Iomega IConnect?

Feb 28, 2011

I know how to get root access in iConnect and ssh into it. I wanted to know whether we can install any applications on it using the package manager and what package manager it supports, like apt(debian based) or is it based on some other distribution.

View 2 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

General :: RHEL5 Not Assigning Partition For Usb Key

Dec 16, 2010

I'm trying to mount a USB key in a RHEL5 box to upload some file. I found doc online and followed it and mounted it fine the first time. Then I unplugged it and found that I have another file to upload so I plugged it back in. However this time it's not assigned a partition (last time was sdb1) and I can't mount it anymore. I think the USB key is recognized and the driver is installed properly:

[code]....

View 6 Replies View Related

General :: Sed: Assigning Its Output To A Variable?

Feb 3, 2011

Kernel 2.6.21.5, GNU/Linux (Slackware 12.0).In this script,

Code:
semoi@darkstar:~$ cat rename4.sh
#!/bin/bash
INPUT="k3b_audio_0_04"

[code]...

View 3 Replies View Related

General :: Good Desktop/application Or Command Line Tool To Show Two Different Timezone Concurrently?

Jul 18, 2011

I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.

Anyone knows there are such application?

Say i want to know the time at london and USA at the same time. (different time zone)

View 4 Replies View Related

General :: Assigning Admin Rights To Apps?

Sep 30, 2010

I am using linux mint and have installed Netbeans on it but whenever I run netbeans from accounts other than root it throws an error for not having permission to start glassfish server of netbeans. I also tried running this application using run as administrator option but then the application does not start.

So is there a way to assign netbeans admin rights permanently so that whenever I start this application from other accounts I should not face this error?

View 2 Replies View Related

General :: Assigning A User A Non-interactive Login?

Apr 16, 2010

I am trying to assign a user account on RHEL5 Server a non-interactive login but I am not sure if this is the correct command: useradd useraccount -s /sbin/nologinAfter I issue this command, I try to log in with this account and it says the "Administrator has disabled this account" when I enter the password. Does any one know if the command above is correct?

View 2 Replies View Related

General :: Assigning Value To A Variable In Shell Script?

Nov 22, 2010

Why doesn't "var1=`echo $var2 | grep pattern`" work ?

View 8 Replies View Related

General :: Assigning New Creation File Time On Tar Extraction?

Nov 19, 2010

How I can tell tar to assign a new creation date to extracted files? Let's say I have an archive filled with old files of varying ages. Upon extraction I want all files to have the same time stamp (that of the time of the extraction).

View 1 Replies View Related

General :: Assigning Query Result Into A Variable/file?

May 25, 2011

I am connecting to MySQL DataBase using shellscript and writing a select statement like select attachmentid from attachments where pageid=10175 I want to store the output of the select statement into a shellvariable or a file. How can i do it using shellscript.

View 4 Replies View Related

Fedora :: Open With Menu Custom Command?

Aug 10, 2011

ing Fedora 15 x86 with gnome 3.Here is the problem with "open with" menu.I cant indicate custom command. here is screenshot:

View 3 Replies View Related

Ubuntu :: Custom Command On System Idle?

Mar 22, 2010

I was messing around with Compiz today and it got me to wondering if I can create a custom command when my system goes to idle, instead of launching the screen saver. I want to start the Compiz Rain effect on system idle. is this possible?

View 2 Replies View Related

Ubuntu :: Custom Command To Open File?

Jul 17, 2010

im trying to set mp4 files to open with avidemux but its not listed in the "add applications" list, but at the bottom it says "add custom command" and theres a browse button but i have no idea what im looking for.

is there an easier way to add a program thats not in the list, via terminal codes?

or what exact file should i be looking for if i use the browse feature?

im using Ubuntu 8.04

View 1 Replies View Related

Ubuntu :: Audacious 2.4.0 (Open With) Any Custom Command?

Oct 9, 2010

I recently managed to compile and install audacious 2.4.0 successfully. I prefer to browse my music folders and double click on the song I wish to play rather than use "open files" within audacious. It works fine to open the first mp3 but when I click to play another song instead of stopping the first one, it opens another instance of audacious and now both songs are playing. When I go into the properties of an mp3 and select open with > "other application" > audacious then click "Use a custom command" the following is in the box /usr/local/bin/audacious %f. is there any custom command I could use so that when I click another song audacious stops the currently playing song and plays the new one, without opening another instance?

View 2 Replies View Related

General :: Detecting Then Assigning Laptop's Start Button To Power Key In GNOME

Sep 4, 2010

How would I do this? First part of the thread title is because I'm not sure if the install of Debian Squeeze would even detect the Start key. (Btw, is there a small enough sticker of the GNOME logo I could buy and put over the Windows logo? )

I read this thread: [URL] but I'm confused about what linmix is saying. Is there a way to get the power key to do the equivalent of what it would in Windows?

I don't find this an essential task, but it would make life a lot easier.

Edit: I mean Super Key not Power.

View 1 Replies View Related







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