Sponsored Content
Special Forums UNIX Desktop Questions & Answers How to associate files with app.? In GNOME. Post 302887598 by fpmurphy on Sunday 9th of February 2014 09:35:15 AM
Old 02-09-2014
I have not tested this but one possible way would be to do something like the following:
Code:
touch ~/.local/share/applications/defaults.list

and add the following lines to ~/.local/share/applications/defaults.list
Code:
[Default Applications]
text/plain=vim.desktop

The above is a fairly crude association. For finer grained association, you need to use desktop entries. See the Desktop Entry Specification.
This User Gave Thanks to fpmurphy For This Post:
 

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
libgnome-desktop-2(3)						C Library Functions					     libgnome-desktop-2(3)

NAME
libgnome-desktop-2 - experimental GNOME interfaces DESCRIPTION
libgnome-desktop is a collection of volatile interfaces that are in the process of migrating to more stable GNOME libraries. Use these interfaces at your own risk, according to the API documentation. FILES
The following files are used by this application: /usr/lib/libgnome-desktop-2.so FreeDesktop vector graphics library /usr/share/gtk-doc/html/gnome-desktop Location of developer documentation 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), libpanel-applet-2(3), libwnck-1(3), attributes(5), gnome-interfaces(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2006. SunOS 5.11 31 Aug 2004 libgnome-desktop-2(3)
All times are GMT -4. The time now is 01:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy