File association


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers File association
# 1  
Old 01-09-2014
File association

Hi,
I'm using unix solaris 2.8 with CDE and I would modify the file association in my desktop.
I found the file /usr/dt/appconfig/types/C/datatypes.dt from this topic :

File Extension association in CDE | Unix Linux Forums | UNIX for Dummies Questions & Answers

but this file can only be modified by admin and is for every user, no?
I want to modify my user settings only.

Is there a similary file for user settings?

Thanks.

Last edited by Franklin52; 01-09-2014 at 05:33 AM.. Reason: fixed url tags
# 2  
Old 01-09-2014
not sure what you want... but if you connect to your box using a full CDE session, then you have in your home directory a hidden directory where your session is saved: ~HOME/.dt
e.g.
Code:
ran1:/home/vbe/.dt $ ll
total 14
drwx------   2 vbe        bin             96 Jun 11  2012 Desktop
drwxrwxrwx   2 vbe        bin             96 Dec  9 18:06 Trash
drwxr-xr-x   2 vbe        bin             96 Oct 19  2012 appmanager
-rw-r--r--   1 vbe        bin            108 Dec 20 18:14 errorlog
-rw-r--r--   1 vbe        bin            281 Dec  9 18:03 errorlog.old
-rw-r--r--   1 vbe        bin            281 Dec  9 18:02 errorlog.older
drwxr-xr-x   2 vbe        bin             96 Jun 11  2012 help
drwxr-xr-x   2 vbe        bin             96 Oct 19  2012 icons
drwxrwxrwx   2 vbe        bin             96 Jun 11  2012 palettes
drwxr-xr-x   2 vbe        bin             96 Dec  9 18:06 sessionlogs
drwxr-xr-x   6 vbe        bin           1024 Nov 14  2012 sessions
-rw-rw-r--   1 vbe        bin            943 Dec 20 18:14 startlog
-rw-rw-r--   1 vbe        bin            946 Oct  1 18:53 startlog.old
-rw-rw-r--   1 vbe        bin            946 Jun 19  2013 startlog.older
drwxr-xr-x   2 vbe        bin             96 Sep 17  2008 tmp
drwxr-xr-x   3 vbe        bin             96 Jun 11  2012 types

# 3  
Old 01-09-2014
When I open I file under CDE, I want Xemacs to open the file in order of the default CDE text editor.
I will look at the ~HOME/.dt you gave me.
Thanks.
# 4  
Old 01-09-2014
By default, the desktop does not read your standard $HOME/.profile or $HOME/.login files. This can be changed by using DTSOURCEPROFILE variable in .dtprofile that should be in your home directory
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies

2. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

3. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

4. Shell Programming and Scripting

how to use the filehandle stored in a variable without knowing its file association

how to use the filehandle stored in a variable without knowing its file association i.e. the filename code my $logFH = $connObj->get('logFH'); infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO')); infoPrint("$logFH\n"); output == INFO :: Variable is of type... (0 Replies)
Discussion started by: rrd1986
0 Replies

5. UNIX for Dummies Questions & Answers

Association b/w sockets & processes

Hi, Is there any way i can know the association between sockets and the processes which created them. :confused: (5 Replies)
Discussion started by: soorajmu
5 Replies

6. UNIX for Dummies Questions & Answers

File Extension association in CDE

Hi, Any idea how to define the file extension association within CDE. I need to tell dtfile (the file manager) to open *.log files as text documents and not emails... Thanks! (2 Replies)
Discussion started by: me2unix
2 Replies
Login or Register to Ask a Question