Ubuntu :: File Association To A Program That Will Only Run In It's Own Directory?

Apr 9, 2011

is a file association to a program that will only run in it's own directory. (Arobas' Guitar Pro, if you're curious). The link created by the installer leads to a shell script, which cd's to /opt/GuitarPro6, then executes the program there. Attempting to call the program from outside that directory fails, as the program cannot find it's libraries. It starts normally otherwise.

Passing a file name to the program via the command line works fine, IF you start with the working directory as above. The question is, what can I do to pass the filename to the command line in the shell script, so that double-clicking in Nautilus brings up the program with the file? (Currently, just associating with the shell script gives me the program, with no loaded file).

Second issue is files with an .hjt extension. They're essentially text files, following a specific format used by Treepad. Nautilus recognizes them as text files. When I change their association to Treepad, regular .txt files follow this change, and when I change the .txt's back to Leafpad, the .hjt's follow. How can I separate the .hjt's from the .txt's?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Is There Any Program / Script That Can Create Torrent File For Each File In Directory?

Apr 14, 2010

Is there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.

View 1 Replies View Related

Ubuntu Multimedia :: Where Is Association Config File For File Extensions?

Aug 7, 2010

I'm using Ubuntu 10.04.1 LTS (Netbook).I need to associate ram file extension to realplayer. First time I opened a ram file I choosed the default player, Reproductor de peliculas (I think Movie player in english).Now when I choose Open with Realplayer and remember the application for this extension it opens the archive but it does not remember for the next times. It seems to be a little bug. How can I do it manually? Where is the association config file for file extensions?

View 2 Replies View Related

Ubuntu :: Extract File To Program Directory?

Jul 19, 2010

How do i extract a file to a program directory ?

YEA stupid question but im used to windows and im trying to learn ubuntu so far i love it just hitting bumps..

I want to extract

xbmc to

.xbmc/plugins/program directory

i downloaded the file, but when it comes to extracting im lost, because i cannot access the root ? is that were it is ?

View 9 Replies View Related

Ubuntu :: Txt File Association Fail On Fat32?

Sep 15, 2010

I have a Windows 7 partition, a fat32 partition that I use for moving data between Windows and Linux, and an Ubuntu partition. On the Ubuntu partition, I can right click on a text file and the top of the menu says "open with 'gedit'." On the fat32 partition, the same action says just "open," and the "open with" submenu doesn't include gedit.

If I right-click and choose properties on the same file, the "open with" tab shows gedit as the default file association. So that's weird... anyone else seen anything like this?

View 2 Replies View Related

Ubuntu :: VLC Playlists - Won't Remember File Association

Sep 21, 2010

I am trying to use VLC playlists.

Either xspf or m3u.

Creating them is fine but the only they will launch is if I "Open With" VLC.

Having "Remember this application for "XSPF playlist" files." checked seems to make the assignment b/c when I right-click to get properties VLC is chosen under the "Open With" tab.

The icon doesn't change from the music note image either (I thought I'd get some VLC icon)

I understand this is a bug and you must edit ".local/share/applications/mimeapps.list"

But don't know what to enter there for XSPF or M3U files.

Ubuntu 10.04.1
VLC 1.2.2

View 8 Replies View Related

Ubuntu :: Run A Program Automatically When A File Appears In A Directory?

Jan 16, 2010

Does anyone know how I can make a program run automatically when a file appears in a particular directory? I have two computers, one to program the firmware on a microcontroller (command line only), and the other is my desktop machine running Ubuntu. I have an NFS share between the two. What I want is to be able to drop a new firmware load into the shared directory from the desktop, and have the other computer notice it and program the microcontroller with it. Right now I have to open an SSH session to the other computer, run the program manually, and then delete the file. I would like to automate all of that.

View 5 Replies View Related

Ubuntu :: Panel Menubar Wrong File Association?

Apr 12, 2011

I somehow messed up the file association of the panels.... Alle Folders in the "places" are linked to vlc media player.... except the "Computer" icon If I drag a folder on the desktop it opens with nautilus as it should I remember that i wrote somewhere manually "vlc..." to associate a videodvd, that worked too well I deinstalled vlc, but i only get an errormessage then " cant execute child process" so its still linked to vlc.....

View 3 Replies View Related

Fedora :: Compiling C++ Program On 11 - No Such File Or Directory

May 25, 2010

I wrote a program in c++ on fedora 11. When i compiled it using g++. it displays the following error:

g++ fibnocci.cpp
fibnocci.cpp:2:22: error: iostream.h: No such file or directory
fibnocci.cpp: In function int main():
fibnocci.cpp:8: error: cout was not declared in this scope
fibnocci.cpp:8: error: endl was not declared in this scope

View 2 Replies View Related

General :: File Association For Desktop Environment

Mar 9, 2011

With a desktop environment, there are file associations that goes with it. I'm a minimalistic user, who doesn't use any of such, but still want some kind of file associations to ease my burden. So I'm searching for a program that does something like the following. open file.pdf this will look at the extension, and translate to okular file.pdf. Of course one can always write a bash script to do this. I wonder if there is something existing, so I don't reinvent the wheel.

View 2 Replies View Related

Ubuntu :: Change The Unity Launch Icons File Association?

Sep 1, 2011

I'd like to know how to change the Unity Launch icons file association. For example; when i click the 'Files and Folders' icon and the side menu pops up with recent, favorites, etc. I click any of them and they associate those files or folders with Vuze. It also associates the trash can at the bottom of the menu, and any external hdd that i attach; but this only occurs when i open them through the Unity Launch Bar. I can go to the Home icon and open a folder and they open, or open the hdd off the desktop and its fine. It seems to only happen when i try to open them through Unity.

View 1 Replies View Related

Debian Multimedia :: LXDE In Jessie And File Association

Jul 16, 2015

LXDE my desktop environment in Jessie.

Libreoffice is the program for default to open a file texts.

Evince: not open PDF

Image Viewer: not open photos.

How to change file association for leafpad, libreoffice and evince from console??

Where is the file configuration to association of program in LXDE??

View 4 Replies View Related

Debian Multimedia :: File Association For AVI Does Always Open Totem

Nov 13, 2010

Since I installed my new debian squeeze system with gnome 2.30.2 I got problems with totem and totem-xine application.

Problem 1: The file asociation for .avi does always open totem! I changed the .avi file asociation unter -> preferences -> "preferred applications" for example to vlc... but no chance it always open the totem player. I looked also in the gnome configuration tool (gconf) and there is the file asociaton set on vlc, but he still opens totem.

Problem 2: All .avi files with video content I cannot see the video and I hear only the audio stream. If I open the video I got a popup with the message that the codec is not installed, then I click on search codecs and totem search for it and does not found anything. I have the codec installed because I see it in avidemux...
- If I install only totem I install also all gstreamer packages ...
- If I install totem-xine I install all xine plugins packackages etc ...
- If I use vlc or mplayer all works fine ...
- If I start totem over a console shell and I open the video, I get no error message in the shell.

View 1 Replies View Related

Ubuntu :: Edit Mime Types To Remove A File Type Association?

Oct 30, 2010

I installed a trial copy of Anquet Map V06 under Wine then decided to remove it. Afterwards I could find many remnants associated with the Anquet program which I've deleted. Except what remains is an association between my .gpx files with Anquet and that includes and any new gpx file I download. My interpretation is that during the install process an association has been created with the gpx file type and the Anquet map program. This is what I want to stop. If I download a .gpx file and look at it's properties I see- Type: GPX File -Anquet Mapsv06 (application/x-wine-extension-gpx) I found this file and it's contents-

/.local/share/mime/application/x-wine-extension-gpx.xml
<mime-type type="application/x-wine-extension-gpx">

<!--

[code]....

Running "sudo update-mime-database /usr/share/mime" and rebooting didn't remove the association. How can I stop the Anquet name making as association with my gpx files?

View 9 Replies View Related

General :: Get Socket.h Header File / Copy Pasting This Header File In 'incl' Directory Allow To Use It In The Program?

Apr 22, 2011

where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?

View 1 Replies View Related

Software :: Setting Association Between PLS File Type And A Given Media Player In Firefox?

Jun 11, 2011

Kernel 2.6.21.5, Slackware 12.0 When I click on some audio stream links in my web browser (Mozilla Firefox), the stream comes in a URL ending in .pls, usually listen.pls. As I want mplayer to play it and not the default player, I intend to make the first the default one. In Firefox (2.0.0.4) I can do Edit>Preferences>Content>File Types>Manage and change the actions associated with each file type. However, if the type is, say, PDF, I can can only change the action if a PDF file has anytime been downloaded. So, the same goes for a PLS file.

You have an example of the kind of link I talk about here: [URL] In the case of a radio broadcast audio stream, I am not downloading it, I think. At least, the Download window does not open. The Download window not having open itsef, the PLS type does not appear in the window Edit>...>File Types>Manage leads to. And so, I cannot change the action. The action would be 'Open them with this application': mplayer.

View 2 Replies View Related

Ubuntu :: "No Such File Or Directory" Reported On Running Program From Terminal

Jan 14, 2011

When I try to run a program from the terminal, bash reports "No such file or directory", even though the file exists, is executable and I have permission to run it. The same program worked in the past.

View 7 Replies View Related

Software :: Get First File Of Directory Then Copy To Other Directory Andd Rename The File?

Jan 30, 2011

I want to do the following.

1. have a directory full of subdirectory

2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name

3. need to work in commandline best is a simple script.

View 4 Replies View Related

Ubuntu :: Hidden Directory 'RECYCLER' Creates .exe File In Directory Called 0x2D9FA278

May 30, 2011

I've done a low level format on them so they're completely empty. When I use them with my windows machines, they're absolutely fine. When I plug them into my Ubuntu machine, there is a hidden directory created called 'RECYCLER' which I'm assuming is for deleted files?However, it also creates a .exe file in this directory called 0x2D9FA278 which has an Icon with an H in it and a comment of 'Facebook Photo' This has the effect of making all the directories on the stick into shortcuts! I googled the file name and it seems to be some sort of Trojan, but I don't understand how it's go into my Ubuntu machine, I've scanned with ClamAV and it finds nothing.

View 5 Replies View Related

Ubuntu :: When Drag The File To Install It Again It Says Something Along The Lines Of It Cannot Copy A Directory Over A Directory?

Feb 19, 2010

I downloaded a mouse theme form gnome look and installed it in the themes. But it has not appeared in the pointer themes section in custimation even though it said that it is installed correctly.When I drag the file to install it again it says something along the lines of it cannot copy a directory over a directory.Where can I find where the mouse/pointer theme is located and delete it. I have searched filesystem, google and these forums and not had any luck yet.

View 1 Replies View Related

Ubuntu :: Directory Exists But Bash Says It Doesn't - No Such File Or Directory

Aug 19, 2011

I've run into a problem with my bash program.

Code:a mkdir -p /home/chris/Downloads/ARCHIVE/`date -I` find /home/chris/Downloads* -mtime +14 -exec "cp {} /home/chris/Downloads/ARCHIVE/`date -I` ;

It's meant to move old files from my Downloads folder into an archive file (later tar them). The directory exists, I've used $PWD and nautilus and ls to make sure it's there, yet for every file it gives

Code: find: `cp /home/chris/Download/foo.bar /home/chris/Downloads/ARCHIVE/2011-08-19': No such file or directory I tried to test it on a different destination, specifically my home folder. IT still gave me the error.IS it a bad syntax within find or something else? I'm running a 32-bit system with 11.04

View 4 Replies View Related

Software :: Error - Mkdir: Cannot Create Directory `/dev/cgroup/cpu/user/5900': No Such File Or Directory

Jun 21, 2011

I get the following error whenever I launch bash:

Code:
mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory
bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory
It seems like it's probably from this part of .bashrc:

[Code]...

What does this code do, why, and what's causing it to go wrong?

View 7 Replies View Related

General :: Create A Program File For A New Program?

Mar 8, 2011

How do I create a program file for a new program?

View 1 Replies View Related

Programming :: Open Or Run A File/program Through A C++ Program

Jan 15, 2010

Ok so Basically i have 2 questions

1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux

Code:

2. i need to know how to run/execute/open a file in a c++ program im using and its not working

Code:

View 4 Replies View Related

Ubuntu :: How To Change Directory Into Which Program Opens?

Feb 11, 2010

I'm working in R and would like to change where the program opens. Currently my default working directory is home/dave and I would like it to open into home/dave/R by default.I'm running mint with xfce.

View 2 Replies View Related

Ubuntu :: Firefox And Adobe Reader Association

Aug 24, 2010

My firefox will not open a pdf (Adobe reader/acroread) directly. An error comes up that I need to change my preferences. I have gone into preferences, but there is no area for pdf reader in the preferences panel. I have tried reinstalling both acroread, and adobe reader bin file from adobe website, to no avail.

View 3 Replies View Related

Ubuntu :: Restoring Association For 'places' In Top Panel

Dec 14, 2010

I was having an issue with trying to create a zip file with ubuntu (10.10) after succeeding with that after missing the completely obvious for like an hour, I now have the following issue:If I select any folder from the "places" shortcut on the top panel, i.e. "home" or "downloads", instead of opening in what I believe to be nautilus, it opens in archive manager with the obvious error message "archive type not supported". How can I restore the function of "places" back to normal please?

View 2 Replies View Related

Ubuntu :: Import Music Through Said Program - Change Directory?

Dec 2, 2010

For some time I have been interested in life without a GUI, not necessarily living that life per-say but "interested" as a child would be about astronauts. So having taken said interest I've began to study it lightly at first, trying CMUS as my music player (A text based music player ran through terminal). I've also gotten a "Basic" (in the loosest of terms) understanding of how to import music through said program. Other than such, I know how to change directory, and see files via ls commands.

[code]...

I will sometimes elude me as to the full boundaries of it's uses; So I come asking this, amongst all of you does anyone live within a text based environment for extended periods? Days? Weeks? Years? What advantage does living a text based computer lifestyle give you against GUI folks?

View 9 Replies View Related

General :: Add A Permanent Association To Links?

Feb 23, 2010

I'm using Links on a Ubuntu server, and to view images I'm using Asciiview, which works well, but the association is not retained whenever I close links. How can I retain this association?

View 1 Replies View Related

Ubuntu Servers :: How To Refuse Accessing Parent Directory In FTP Client Program

Feb 18, 2010

I am runnung ubuntu 9.10 desktop edition as a server. I am using a FTP client program to upload some files(index.html, background.png, etc) and everything is fine with that. And currently all my files are in /home/myname/ folder. What I want is whenever I log in with my ubuntu account in the FTP client program, I can actually see the list or contents of the very root directory.

In other word, I can see every folder like /bin, /boot, /etc, /root, so on in the FTP software and I can download it. I don't want to allow to access the parent(or root) directory. Is there any possible way to set up the sutff?

View 2 Replies View Related







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