Sponsored Content
Special Forums UNIX Desktop Questions & Answers How to associate files with app.? In GNOME. Post 302887560 by Svenus on Saturday 8th of February 2014 06:45:45 PM
Old 02-08-2014
Hammer & Screwdriver How to associate files with app.? In GNOME.

Howdy! Using GNOME: gnome-terminal 2.18.2 here. QUESTION: How do I associate *txt files to a launcher object I created for Vim on my Desktop? Let's call it "MyVimLauncher". It starts Vim without any files loaded when I click on it. BUT, when I right-click "myfile.txt" to get the menu item "Open with other application", I can't find the object "MyVimLauncher", neither in list "Potential Applications", nor in list "All applications", so as to select it for opening "myfile.txt" and all *txt files. Tried draggin'n dropping the object into the lists, but the object does not get added to lists. Thanks in advance.

Last edited by Don Cragun; 02-08-2014 at 08:53 PM.. Reason: Multiple """ replaced by double quotes.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Associate files to a prgm in solaris

Does anyone know how to associate a file to a program in solaris 8(running CDE). I use my filemgr in solaris and have some .jpg files that are associated with the old openwindows imagetool, so when I dubbleclick the .jpg-file imagetool opens. How and where can I change this to another program... (0 Replies)
Discussion started by: tonlu
0 Replies

2. UNIX for Dummies Questions & Answers

Problems associate with upgrade

Dear all, We are planning on upgrading our current HP unix 64 bites from version 11.0 to 11.11. I would like to find out all the possible problems that we will encounter especially on the application side. Can anyone provide me with list(s) or link(s) where I can find out more information? ... (0 Replies)
Discussion started by: wujee
0 Replies

3. UNIX for Dummies Questions & Answers

Possible to use a Java app with dll files on Unix-systems

Hi... I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System. Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way? Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies

4. OS X (Apple)

Terminal.app keeps creating copies of my settings files

Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies

5. Programming

Populating Associate Arrays in PHP

I'm not very good at associative arrays; and working on this PHP code has got me a bit stumped. My goal is to populate a (multidimensional) associative array in a PHP while look after a MySQL query. The code fragment looks like this: while($campaign_row = mysql_fetch_array($campaigninfo)) { ... (9 Replies)
Discussion started by: Neo
9 Replies

6. Shell Programming and Scripting

Backup & restore Gnome Desktop and all settings in Gnome

Hi I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies

7. Shell Programming and Scripting

Script to run files with an app

hello, I need help in Unix scripting I have a whole list of file name in a Input file. I need to run the command iteratively and output the result into a text file e.g While read < Input file ; do QUERY filenane done > output.txt Appreciate your help Thank you Suhas;) (8 Replies)
Discussion started by: Suhas Kurse
8 Replies

8. Red Hat

Unable to get a Xterm or X app to appear under a Linux Gnome Desktop

I want to have a xterm or xapplication from a Solaris client to appear on my RHEL Server running GNOME desktop. It may sound easy at first but, I have done the basics and I be stuck. Have Tried: Linux - logged in as root, open a Terminal and did a echo $DISPLAY and it reports back :0.0 I... (7 Replies)
Discussion started by: mrmurdock
7 Replies

9. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
gnome-desktop-item-edit(1)					   User Commands					gnome-desktop-item-edit(1)

NAME
gnome-desktop-item-edit - GNOME Desktop file editor SYNOPSIS
gnome-desktop-item-edit [--create-new] filename DESCRIPTION
gnome-desktop-item-edit is the GNOME Desktop file editor, which you can use to create or edit the .desktop (known as desktop) file. GNOME uses a standard desktop file specification as proposed by freedesktop.org. A desktop file consists of a number of name-value pairs that define how a desktop should organize a particular application. As this is defined as an open standard, integration of applications into GNOME Desktop is relatively straightforward. A basic entry in the desktop file must start with a tag called [Desktop Entry]. It can then have a number of name-value pairs as defined by the standard. The minimum entries are as follows: Name the name of the application Comment a textual description of the application which is displayed as a tooltip message by gnome-panel. When set appropri- ately, the comment can be localized within the same file. Exec the name of the actual executable Icon the file name of the icon image Type the desktop file type Categories a multi-string field which is used by gnome-panel to group applications into the appropriate categories. These desktop files provide the information to gnome-panel, which places the application in the appropriate locations on the panel. In a similar manner, the GNOME file manager (Nautilus) uses information from the desktop files to display the 'applications:///' view. OPTIONS
The following options are supported: --create-new Creates a new .desktop file. OPERANDS
The following operands are supported: filename The name of the desktop file to be edited or viewed. EXAMPLES
Example 1: Editing an existing .desktop file example% gnome-desktop-item-edit fullpath/filename This command invokes the launcher dialog and loads the contents of the specified desktop file into the relevant fields. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-desktop-item-edit Executable for GNOME Desktop file editor /usr/share/applications/ Location of system desktop files ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-panel | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gnome-panel(1), nautilus(1), attributes(5) Latest version of the GNOME Desktop User Guide for your platform. NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003. SunOS 5.11 2 Oct 2003 gnome-desktop-item-edit(1)
All times are GMT -4. The time now is 01:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy