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
gnome-background-properties(1)					   User Commands				    gnome-background-properties(1)

NAME
gnome-background-properties - customize your desktop background SYNOPSIS
gnome-background-properties [gnome-std-options] DESCRIPTION
The Background preferences tool allows you to customize the desktop background. The desktop background is the part of the desktop where there are no interface graphical items, such as panels and windows. The desktop background is always beneath the other interface items. You can customize the desktop background in the following ways: o Select an image to display on the desktop background. The image is superimposed on the desktop background color. The desktop back- ground color is visible if you select a transparent image or if the image does not cover the entire desktop background. o Select a color for the desktop background. You can select a solid color, or create a gradient effect with two colors. A gradient effect is a visual effect where one color blends gradually into another color. OPTIONS
The following options are supported: gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5). EXAMPLES
Example 1: Launching the background preference tool example% gnome-background-properties 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-backgrounExecutableefor Background preferences tool ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+------------------------------+ |Availability |SUNWgnome-desktop-preferences | +-----------------------------+------------------------------+ |Interface stability |External | +-----------------------------+------------------------------+ SEE ALSO
Preference Tools Manual Latest version of the GNOME Desktop User Guide for your platform. gnome-control-center(1), gnome-std-options(5) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003. SunOS 5.10 2 Oct 2003 gnome-background-properties(1)
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy