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
thanks,
kristy
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT HPUX
dtwsmaddworkspacefunctions
DtWsmAddWorkspaceFunctions(library call) DtWsmAddWorkspaceFunctions(library call)
NAME
DtWsmAddWorkspaceFunctions -- add workspace functions for a window
SYNOPSIS
#include <Dt/Wsm.h>
void DtWsmAddWorkspaceFunctions(
Display *display,
Window window);
DESCRIPTION
The DtWsmAddWorkspaceFunctions function enables workspace functions for a window. When workspace functions are enabled, the default window
menu for the window displayed by the CDE workspace manager, dtwm(1), shows entries that allow the window to occupy a different set of
workspaces, occupy all workspaces, or be removed from the current workspace.
The display argument is the X display.
The window argument is the window to have its workspace functions enabled.
RETURN VALUE
The DtWsmAddWorkspaceFunctions function returns no value.
APPLICATION USAGE
The application must call the DtWsmAddWorkspaceFunctions function before mapping the window. The CDE workspace manager, dtwm(1), only
looks at the workspace function information at the time the workspace manager manages the window. If the CDE workspace manager, dtwm(1),
is currently managing the window, the application must withdraw the window (see XWithdrawWindow(3)), add the workspace functions, and map
the window once again.
By default, the workspace manager enables workspace functions.
The application should call DtWsmAddWorkspaceFunctions to restore the workspace functions removed by the DtWsmRemoveWorkspaceFunctions(3)
function.
SEE ALSO
Dt/Wsm.h - DtWsm(5), XWithdrawWindow(3), dtwm(1), DtWsmRemoveWorkspaceFunctions(3).
DtWsmAddWorkspaceFunctions(library call)