Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Location ID in system_profile Post 302857661 by Smiling Dragon on Thursday 26th of September 2013 09:31:32 PM
Old 09-26-2013
I avoided answering for a time as I didn't want the thread to vanish from the "Unanswered threads" list for just my rather weak answer... but it's been a few days now... I'm no expert in this, but I don't think iPhone's present themselves as conventional USB mass storage devices like an android phone would. It'll present the camera but nothing else.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Untar to different location

I have a tar file where the files have been tar'd along with the location of the file i.e /opt/abc/file.txt /opt/abc/file2.txt I am trying to untar this file on a different server where /opt/abc does not exist. How do I untar these files without the tar trying to create the structure... (3 Replies)
Discussion started by: handak9
3 Replies

2. UNIX for Advanced & Expert Users

copy files from one location to similar location

I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure, say location 1, /home/rick/tmp_files/1-12/00-25/ here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies

3. Shell Programming and Scripting

Transfer files from one location to another location

Hi, i have to transfer of files of User1 located in Location1 to user2 located in Location2 using shell script. Please suggest me. (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

4. Shell Programming and Scripting

Put one string from one location to another location in a file

Hi Everyone, I have 1.txt here a b c' funny"yes"; d e The finally output is: here a b c d e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies

5. Shell Programming and Scripting

Shell Script for Copy files from one location to another location

Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies

6. Shell Programming and Scripting

Help on Moving files from one location to another location

Hi, I am new to unix and shell scripting. Please help me in resolving the below issue. In my shell script I have a variable which stores the different files with the path. Now I need to move all the files one by one to another location. ---- 1.... (4 Replies)
Discussion started by: kpagadala
4 Replies

7. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

8. Shell Programming and Scripting

How to copy a file from one location to another location?

I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt. Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies

9. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

10. Shell Programming and Scripting

Help with copying the list of files from one location to other location

A) I would like to achive following actions using shell script. can someone help me with writing the shell script 1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
XInstallColormap()														XInstallColormap()

Name
  XInstallColormap - install a colormap.

Synopsis
  XInstallColormap(display, colormap_return)
	Display *display;
	Colormap colormap_return;

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

  colormap_return
	    Specifies the colormap to install.

Description
  XInstallColormap()  installs a virtual colormap into a hardware colormap.  If there is only one hardware colormap, XInstallColormap() loads
  a virtual colormap into the hardware colormap.  All windows associated with this colormap immediately display  with  their  chosen  colors.
  Other windows associated with the old colormap will display with false colors.  If additional hardware colormaps are possible, XInstallCol-
  ormap() loads the new hardware map and keeps the existing ones.  Other windows will then remain in their true colors unless the  limit  for
  colormaps has been reached.  If the maximum number of allowed hardware colormaps is already installed, an old colormap is swapped out.  The
  MinCmapsOfScreen(screen) and MaxCmapsOfScreen(screen) macros can be used to determine how many hardware colormaps are supported.

  If colormap_return is not already an installed map, a ColormapNotify event is generated  on  every  window  having  colormap_return  as  an
  attribute.   If  a colormap is uninstalled as a result of the install, a ColormapNotify event is generated on every window having that col-
  ormap as an attribute.

  Colormaps are usually installed and uninstalled by the window manager, not by clients.  At any time, there is a  subset  of  the  installed
  colormaps,  viewed  as  an ordered list, called the "required list."	The length of the required list is at most the min_maps specified for
  each screen in the Display structure.  When a colormap is installed with XInstallColormap() it is added to the head of  the  required  list
  and  the last colormap in the list is removed if necessary to keep the length of the list at min_maps.  When a colormap is uninstalled with
  XUninstallColormap() and it is in the required list, it is removed from the list.  No other actions by the server or the client change  the
  required list.  It is important to realize that on all but high-performance workstations, min_maps is likely to be 1.  If the hardware col-
  ormap is immutable, and therefore installing any colormap is impossible, XInstallColormap() will work but not do anything.

  For more information, see Volume One, Chapter 7, Color.

Errors
  BadColor  Invalid colormap.

See Also
  XDefaultColormap(), XDisplayCells(), XCopyColormapAndFree(), XCreateColormap(), XFreeColormap(), XGetStandardColormap(), XListInstalledCol-
  ormaps(), XSetStandardColormap(), XSetWindowColormap(), XUninstallColormap().

Xlib - Colormaps														XInstallColormap()
All times are GMT -4. The time now is 11:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy