Ubuntu :: "Open With" With Custom Command?

Jan 16, 2010

How can I make a program I wrote in C be used to open a specific file type? I am using Gnome and I tried right clicking on the file and then "Properties > Open With > Add > Use a custom command" and then adding my program's path but when I double click the file nothing happens.

View 5 Replies


ADVERTISEMENT

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

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

OpenSUSE :: Gnome - Create Custom Menu To Open Pdf Files?

Apr 28, 2011

I've moved from WinXP. How can I create custom menu like this to open pdf files?

View 1 Replies View Related

Ubuntu :: Set Custom Directory Icon From Command Line?

Jan 17, 2010

I am looking for a way to (via bash script) set a custom directory icon for a number of directories. All of these directories contain a "cover.jpg" image. I can accomplish this manually by right clicking the directory > select "Properties > click the directory icon button > select the "cover.jpg" image. I am just looking for the way to do this in the terminal to save time, as the music collection is quite large.

View 8 Replies View Related

Ubuntu :: Undo A Custom Command For Media Insersion

Sep 7, 2010

I made a custom command to run when a cd gets mounted but now I need to change it.....how do I do that? I tried going to file management but the option wasn't there. I'm using 10.10..

View 9 Replies View Related

Ubuntu :: Creating Custom Command/menu Launcher?

Sep 20, 2010

I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly. What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype. So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)". I tried editing .bashrc and added the following line:

alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'

Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.

View 6 Replies View Related

Ubuntu :: Create A Command That Will Open Terminal And Keep It Open?

Jul 30, 2010

I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.

View 5 Replies View Related

Ubuntu :: Command For Inserting Symbols? OR Custom Keyboard Layout

Feb 24, 2010

Is there a way to set up a custom keyboard layout? (ex: set q to the f key, etc.) I have looked around, but have been unable to find one.

If there isn't one, then a (basically) equivalent solution for me would be to map some of the symbols I need (ex: Δx,Σ,ect.) to ctrl-/,ctrl-., ect. through keyboard shortcuts. The problem I run into here is that I do not know of any commands that paste a specific symbol into the focused text input area. Does anyone know of one?

View 3 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

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 View Related

Software :: How To Specify Custom Channel Changing Command / Script?

May 18, 2010

I am following the tutorial found here: http://www.mythtv.org/wiki/AVerMedia_M150-D.I found that the sound does sound "demonic" so I'm trying to implement the custom channel changing command/script as he recommends, I made the script, but I cannot find the option or field in MythTV-Setup where I choose to use it or where to put a command for custom channel changing.

View 2 Replies View Related

Programming :: Custom ZSH Error Prompts / Zsh: Command Not Found?

Mar 25, 2011

Using zstyle, I can create a custom warning for messages and such, but looking into the man pages and all, I do not see anything for customizing actual error messages in ZSH, as such:

Code:
casper@ltp01[/home/casper][19:14] - asdfsdafasdfjsdf
zsh: command not found: asdfsdafasdfjsdf

View 3 Replies View Related

Debian Multimedia :: Removing Custom Command Added To Context Menu

Jul 11, 2015

I was trying to run a jar file, so after using the "Open With..." context option to bring up "Choose Application", and I opened the "Custom Command Line" tab; I typed "java %f" and set Application name..My problem is that, I was left with an option in the File Properties "Open with:" drop-down box, and more annoyingly, a context menu option above "Open With..." to run .jar files with this useless option I created.

View 2 Replies View Related

Fedora Installation :: Erratic Install Results W/initrd - Custom Spins With Custom Drivers - Modules?

Dec 28, 2009

Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.

The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]

My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.

The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.

Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?

And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?

How does moving to dracut as the initrd tool affect any/all of the above?

View 1 Replies View Related

Ubuntu :: All Folders Keep Executing Eclipse / "undo" This Custom Command?

Oct 26, 2010

Hey everybody, it seems I did something kinda stupid. So I tried right clicking on a folder and going to "Open With..." then under "Other Application..." I then selected custom command and typed in "eclipse." I thought I would just be able to open the folder as a project, but now it seems it's screwed up all of my folders. Now every time I try to open a folder in the GUI, Eclipse executes. I can still go through folders, delete files, etc. through the terminal, but I'd like to have GUI access as well. Does anyone know how to "undo" this custom command so Eclipse no longer executes?

View 1 Replies View Related

Ubuntu :: Open Terminal Command In 10.04?

Nov 27, 2010

In Xubuntu 9.04 I could right click in any directory folder and have the option of opening a terminal window "there". So the terminal command line would open preloaded to that directory. I know, I'm lazy, but it sure made life (and command line work) easier. But it's not available in my new install of Ubuntu 10.04. Now, I know that my gui environment has changed from xfce to gnome, but I would have expected MORE features, not less.

View 9 Replies View Related

Ubuntu :: Open A File With Command Line?

May 29, 2010

is it possible to open a file with a terminal without specifying the application it will use ? In fact I mean what is the equivalent of the double click on the file manager for a terminal.

View 9 Replies View Related

Ubuntu :: Open Terminal From Command Prompt?

Oct 29, 2010

I want to open another terminal from typing a command to one terminal.
can anyone tell me a command for this..

View 5 Replies View Related

Ubuntu :: Command To Open Partition From Terminal

Mar 2, 2011

I am trying to use a command to open a partition or disc from the top like open up external drive, and not have to be externaldrive/videos or whatever. The reason being is to use in cairo dock, I have tried to drag n drop like i am able to with regular folders, but no good. I seen the option to run a command, and figured I would try it that way.

I have the partitions and discs i want to access mounted. they are:
External Drive (/dev/sdc1)
Storage (/dev/sdb1)
Windows (/dev/sda2)

I tried to open them in terminal, /media/storage: no such file or directory;
/dev/sdc1: Permission denied;
open /media/storage or /dev/sdc1
Couldn't get a file descriptor referring to the console;
se7en@PC:~$ nautilus /media/storage or nautilus /dev/sdc1 .....

Along with a pop-up saying 'the location is not a folder'.

View 1 Replies View Related

Ubuntu :: Unable To Open Documents From Command Line?

Jun 3, 2010

Previously I was able to open any document I wanted in the CLI by typing:

Code:
open some_document.txt
Now when I try to do this I get the following:

[code]...

View 2 Replies View Related

Ubuntu :: How To Make Rsync Command Open In Terminal

Sep 14, 2010

I have the following rsync command for making some backups:
Code:
rsync -r --progress --delete -H --numeric-ids -a --exclude=.gvfs /source /media/Backup
If I paste that in my Terminal, it will perform a backup of all the files and show me what's going on in the Terminal window. But how can I make that into a launcher? I have made a launcher on my desktop with that code in its Properties, but double-clicking it starts the rsync process (I can see HDD activity) but a Terminal window won't open.

View 6 Replies View Related

Ubuntu :: Open Main Menu From The Command Line?

Oct 20, 2010

I was wondering, is it possible to open Ubuntu's main menu from the command line? I've been searching for the answer for about 30 min's now but no luck.

View 3 Replies View Related

Ubuntu :: Terminal Open Error - Command Not Found

Feb 16, 2011

I have an "error", its not really and error, every time I open the terminal, it shows this:
Reading: command not found
Building: command not found
Reading: command not found
*****@****-****:~$

View 3 Replies View Related

General :: How To Use Command Prompt To Open Them

Sep 6, 2010

After contracting malware on Vista i decided to switch over to Linux and chose to start of with Ubuntu because of the graphical interface. that being said, you have no doubt inferred that i have no coding experience. basically i was hoping to find some nice tutorials and sites for Ubuntu. Also, i did downloaded the suggested programs and patches but im still experiencing problems with Adobe,flash, and and opening .exe files. for the latter, when i click on .exe files it is equivalent of using explorer on windows so i was wondering how to use the command prompt to open them. supposedly linux is susceptible to malware so if you could please suggest a anti -malware program.

View 14 Replies View Related

General :: Open Command With Pipeline?

Apr 9, 2011

What is the effect of pipe symbol in the second statement shown below? How does it differ from first one?

set nt [open "file" "r"]
set nt [open "|file" "r"]

View 9 Replies View Related

Ubuntu :: How To Create A Shortcut To Open Command Line Program

Feb 21, 2010

I use a few command line programs quite often such as nano and mpc. I'd like to create a shortcut icon to open them rather than opening a terminal and then typing in the program name to open it. For example, how could i open konsole with nano opened in one step?

View 5 Replies View Related

Ubuntu :: Open The File Manager By Command Line Using Sudo?

Apr 6, 2010

I would like to open the file manager by command line using sudo, but I just can't remember the name of it!! I can "almost" remember it... but it escapes me. And I am afraid I don't know where to look for it.

View 9 Replies View Related







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