Sponsored Content
Full Discussion: Change an Icon
Top Forums UNIX for Dummies Questions & Answers Change an Icon Post 10172 by sskb on Thursday 8th of November 2001 07:22:43 PM
Old 11-08-2001
i'm not sure with solaris but in hp i have done this by editing the $HOME/.dt/types/datatypes.dt file which contains information about the file types, attributes and the icon of course.

and I hope the best way to store an icon is in the .pm type.

best regards.Smilie
sskb
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Add more icon for logout

Suggestion: Can all pages add a icon for logout? I just found that only the main page has it.:) (0 Replies)
Discussion started by: tikual
0 Replies

2. UNIX for Dummies Questions & Answers

Create Icon

Dear Gurus, I have a question. I have juz created an icon for my user. When I try to run the application (ie double-click) there are nothing being activated. This is the content of the TEST_APP.dt ACTION TEST_APP { LABEL TEST_APP TYPE COMMAND ... (0 Replies)
Discussion started by: lweegp
0 Replies

3. AIX

Aixterm icon placement?

Hi, I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised. The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies

4. UNIX Desktop Questions & Answers

Controlling icon placement?

Hi, I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised. The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies

5. Post Here to Contact Site Administrators and Moderators

New Icon

Hi, I just observed we have a new icon (the "ULF" thing) for the forum. Its really nice to see continuous changes to make things better; whether it's small or big. Appreciations to all moderators and admins. Regards, Anchal Khare (2 Replies)
Discussion started by: clx
2 Replies

6. OS X (Apple)

Change app Icon when script is completed.

In a recent topic, I asked how I could run a shell code without having to deal with terminal opening. What I'm trying to accomplish now is to make my app change it's icon when the code is complete. (With complete I mean when the process is done.) Thanks in advance. :) (10 Replies)
Discussion started by: ShadowofLight
10 Replies

7. UNIX for Dummies Questions & Answers

icon

up graded lost log out power off icon how reinstall:wall: (2 Replies)
Discussion started by: flight
2 Replies

8. OS X (Apple)

Shell Script to change desktop short cut Icon

I have installed my flash application using shell script. I have created short cut to desktop. Now i want to change the default short cut Icon. Please tell me script to change the short cut icon. ---------- Post updated at 12:54 AM ---------- Previous update was at 12:33 AM ---------- Working... (0 Replies)
Discussion started by: rohaneee
0 Replies

9. Shell Programming and Scripting

Is it possible to change shell icon?

I have an application that runs through bash shell and i want to change the shell icon , so when i copy my application to another computer the shell can still run , can i do that ? because i try with .desktop its failed (0 Replies)
Discussion started by: caladblog
0 Replies
XGetIconName()															    XGetIconName()

Name
  XGetIconName - get the name to be displayed in an icon.

Synopsis
  Status XGetIconName(display, w, icon_name_return)
	Display *display;
	Window w;
	char **icon_name_return;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  w	    Specifies the ID of the window whose icon name you want to learn.

  icon_name_return
	    Returns  a pointer to the name to be displayed in the window's icon.  The name is a NULL-terminated string.  If the data returned
	    by the server is in the Latin Portable Character Encoding, then the returned string is in the Host Portable  Character  Encoding.
	    Otherwise,	the result is implementation-dependent.  If a name hasn't been assigned to the window, XGetIconName() sets this argu-
	    ment to NULL.  When finished with it, a client must free the icon name string using XFree().

Returns
  Zero on failure, non-zero on success.

Description
  XGetIconName() is superseded by XGetWMIconName() in Release 4.  XGetIconName() reads the icon name property of a window.  This function  is
  primarily  used  by  window  managers to get the name to be written in a window's icon when they need to display that icon.  XGetIconName()
  returns a non-zero Status if it succeeds, and zero if no icon name has been set for the argument window.

  For more information, see Volume One, Chapter 12, Interclient Communication.

Errors
  BadWindow

See Also
  XFetchName(), XGetClassHint(), XGetIconSizes(), XGetNormalHints(), XGetSizeHints(), XGetTransientForHint(), XGetWMHints(), XGetZoomHints(),
  XSetClassHint(), XSetCommand(), XSetIconName(), XSetIconSizes(), XSetNormalHints(), XSetSizeHints(), XSetTransientForHint(), XSetWMHints(),
  XSetZoomHints(), XStoreName().

Xlib - Window Manager Hints													    XGetIconName()
All times are GMT -4. The time now is 08:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy