Sponsored Content
Full Discussion: Running a script from CDE...
Top Forums UNIX for Dummies Questions & Answers Running a script from CDE... Post 6461 by kristy on Wednesday 5th of September 2001 09:22:03 AM
Old 09-05-2001
Running a script from CDE...

Hi,
I'm using Solaris 2.6 with a proprietary GUI. Is there a way to provide a user with access to a shell script from the CDE (workspace menu?). The user does not have command line (terminal) access.

hope the question makes sense
Smilie
thanks,
kristy
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Display program running on CDE via GNOME

Hi All, I have one AIX box (5.1 with CDE running) and one Linux box ( FC3 with GNOME on it). What I want to be able to do is : SSH from the Linux box into the AIX box and then open an X term to launch a X window application. I am not able to do that. My guess is that the window mangers and... (4 Replies)
Discussion started by: navinxavier
4 Replies

2. AIX

CDE running but not display on screen

Runing p550Q via HMC I'd like to start using graphic interface CDE: lslpp -l | grep X11.Dt* X11.Dt.ToolTalk -- AIX CDE ToolTalk Support X11.Dt.bitmaps -- AIX CDE Bitmaps X11.Dt.helpmin -- AIX CDE Minimum Help Files X11.Dt.helprun -- AIX CDE Runtime Help X11.Dt.lib -- AIX CDE... (0 Replies)
Discussion started by: silves
0 Replies

3. Solaris

Running from Shell Vs running from RC script

Hi, i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell. How do i distinguish whether my script is run by init process or by shell?? Will the command /proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Discussion started by: vickylife
2 Replies

4. Shell Programming and Scripting

Running a unix script(which is calling another script inside that) in background

Hi all, I am having a script ScriptA which is calling a script ScriptB in the same server and copying files to second server and have to execute one script ScriptC in the second server. THis First script ScriptA is the main script and i have to execute this process continously. for Keeping... (2 Replies)
Discussion started by: rohithji
2 Replies

5. Shell Programming and Scripting

script for reading logs of a script running on other UNIX server

Hi, I have a script, running on some outside firwall server and it's log of success or failure is maintained in a file. I want to write a script which ftp that server and reads that file and checks the logs and if failure , I will send mail notification. Please let meknow if I am not... (1 Reply)
Discussion started by: vandana.parwani
1 Replies

6. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

7. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies

8. Shell Programming and Scripting

Shell Script for continuously checking status of a another script running in background, and immedia

Hi, I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help.. i am using below command to run script nohup system_traps.sh & but in some... (9 Replies)
Discussion started by: ketanraut
9 Replies

9. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

10. Shell Programming and Scripting

Why script is running sometimes and not running sometimes?

Hi, I have a script which does couple of database connection and run some SELECT queries to get some output in the file. I am surprised to see :eek: that when i run my script some times it gives the desired out put and sometimes it shows some error :confused: . Suppose if i execute it say... (3 Replies)
Discussion started by: Sharma331
3 Replies
printconfig(8)						      System Manager's Manual						    printconfig(8)

NAME
printconfig - Used to add, delete, or modify printer configurations SYNOPSIS
/usr/sbin/printconfig [-ui gui [x resources] | menu] OPTIONS
Specifies the user interface to be invoked. The choices are: Specifies graphical user interface. Specifies menu interface. The x resources are standard X11 resource options. For more information, see the X(1X) reference page. DESCRIPTION
Use the Printer Configuration application, printconfig, to add, delete, or modify printer configurations for this workstation's local and remote printers. For each printer that you configure, you can choose the standard printer configuration or customize the configuration. You must have root privileges to run this application. The printconfig command has two user interface options: Graphical user interface (GUI) Menu interface (Menu) Running the Graphical User Interface Option: To start printconfig from the graphical user interface, do the following: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Configuration application group icon. Double click on the Print icon. To start printconfig from the xterm, enter the following command from the xterm: /usr/sbin/printconfig Note that the validation checking in the GUI interface is more strict than that used by the menu interface. If the GUI interface rejects an attribute value you believe to be acceptable, try the menu interface. Running the Menu Interface Option: To start the printconfig menu interface, enter the following command from the xterm: printconfig -ui menu This option invokes lprsetup. For more information, see the lprsetup(8) reference page. Running Online Help: You can view the Printer Configuration online help volume without running the application. To open the Printer Configuration help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -helpVolume /usr/dt/appconfig/help/C/PrintConfig.sdl You can also view online help for this application by choosing Help from the menu bar in the GUI version. The Help pulldown menu is dis- played, providing the following options: Overview: Displays the Overview section of the help volume, which describes the purpose of the application, how to run the application, and how to exit the application. Tasks: Displays the Tasks section of the help volume, which describes how to use the application to perform various tasks. Reference: Displays the Reference section of the help volume, which describes all dialog boxes and dialog box components in the applica- tion. On Item: Activates the On Item help functionality by displaying a question mark as the cursor. When the cursor is positioned on any compo- nent in the application and you click on the component, a Help Viewer window is opened and the help for the selected component is displayed in the window. Using Help: Displays the standard CDE instructions on how to use the Help Viewer. About: Displays version, copyright, and trademark information for the application. RESTRICTIONS
The following restrictions apply when using older versions of printcap files, at Version 3.2 or earlier: In Verion 4.0 /etc/printcap files, the system assigns printers names lp[0-9]*, [0-9]*, and for the default printer, lp . For example, the default printer may have a name field such as lp0|0|lp|default|declaser3500:... and another printer may be lp7|7|some_alias|another alias:... As a result, the system will have difficulty with printers that have less than two names or that use these reserved names as aliases. Some of the attribute value checking is different. For example, some fields that were not required now are, and some attributes values that were legal no longer are. The printconfig utility requires that all comments be associated with a printer. As a result, comments appearing after the last printer will be deleted. To avoid these problems, invoke printconfig with the menu interface as follows: # printconfig -ui menu This command invokes the lprsetup command line utility, which is fully compatible with earlier printcap files. EXAMPLES
The following example shows how to start the printconfig menu interface from the command line: printconfig -ui menu FILES
Contains the current printer configurations printconfig modifies the contents of this file Contains the known printer types and their default attribute values for creating new printer configurations Specifies the environment variables that define the PRINTCONFIG configura- tion on your system SEE ALSO
Commands: lpr(1), latcp(8), lpd(8), rc.config(8) Files: printcap(4) printconfig(8)
All times are GMT -4. The time now is 12:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy