Export to parent process

Hi
I've run into a problem while trying to run SCIM ( http://wiki.archlinux.org/index.php/Scim ) *after* i have started X and my wm.
This just won't work.
I used to have those lines in my .xinitrc
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d
Now if i run those lines in a terminal in X it won't work, as those variables are not exported to the X environment.
Is there anyway to do that? Or does anyone know howto start SCIM after wm?
Thanks in advance

You just need to start the applications from a shell where you have set the environment variables. You could also use gdb to set the variables in the currently running WM (or whatever program you use to launch them, like xbindkeys)
gdb_set_IM_vars.txt
call putenv("XMODIFIERS=@im=SCIM")
call putenv("GTK_IM_MODULE=scim")
call putenv("QT_IM_MODULE=scim")
detach
quit
gdb xbindkeys $(pgrep xbindkeys) --command=gdb_set_IM_vars.txt

Similar Messages

  • I am exporting a Pages document to Epub and Pages is compressing my jpg images.  How do I keep the original jpg size during the export to epub process?

    I am exporting a Pages document to Epub and Pages is compressing my jpg images (I think to 72 dpi from original 600 dpi). 
    How do I keep the original jpg size during the export to epub process?

    We are still trying learn how to use Pages to build ePub documents with high resolution graphics that will expand clearly when they are tapped. Very large screen shots are my example here.

  • How to export a whole process for a single image.

    Good morning.
    I would like to know how I can export a whole process for a single image. Is it possible? With that I can print of the way that goes better.
    Thanks.

    Hi Raghavendra,
    Thanks for answering my query. I have created a transport request and exported the folder I need to take backup of. But when I tried testing import of the same request I am getting following error. Do you have any idea what is the cause of this error?
    com.sap.security.core.server.destinations.itsam.DestinationRuntimeException: com.sap.security.core.server.destinations.api.DestinationException: [_DestinationServiceAuthorization1005] Code-based destination service access denied to component sap.com/cafeugpuiadmin. Access to security-relevant internal destination properties (e.g. passwords, tickets, etc.) is restricted to few selected engine components and not generally available to any service or application.
    Kind Regards,
    Urvashi

  • How to determine the Parent process information in Oracle BPMS 10g

    Hi ,
    I am trying to retrieve the parent process information given the instanceId and Process Id of an instance of a process from a different process.
    I am getting the instanceId of the instance in workspace using the Fuego.Papi.ProcessService and by creating the Filter.
    I tried using the ProcessInstance.parent but it needs to be instantiated using the instance details of my referred instance, which i am not able to do.
    Can some one shed some light on how to get the parent process details from the referred instance.
    Thanks,
    shravan.

    Hi,
    If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
    The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
    After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
    Hope this helps.
    Smita

  • How to find the Parent process in workflow

    Hi all,
    I have a .wft file with me.
    It contains atleast 8 processess.
    I need to understand the flow of this workflow.
    How do i getto know the flow?
    How do I getto know the parent process?
    I am sure if i know the parent process then i can figure out the flow as well.
    Hope someone can help me in thisproblem.
    Thanks in anticipation.
    regards.

    Hello,
    You can open the .wft file using the Workflow builder and see visually how the processes are designed. You can also see which processes are used as sub processes. These will be your children flows.
    Cheers,
    Raja

  • How to get parent process instance id in a java control?

    Hi!
    I have a process which invoke a java control.
    In this java control I need the instance ID from the parent process.
    Does anybody know where i can get the instance id?
    Within a jpd I have the context variable (context.getInstanceId()), but I need something like this in the control
    Thanks
    Ben

    the only way you can do is aquire the instanceid in the JDP itself and pass it to the java control as a paramter.

  • Killing a sub process from it's parent process

    does any one know if ther's a way of killing a sub process from it's parent process?

    There are a few ways to do this depending on how the subprocess was invoked and if you are inside the parent work item instance or if you are using PAPI.
    If you are not using PAPI, here's how you could abort the child work item instances spawned by a parent process's work item instance.
    Asynchronously Spawned Children
    If a child process was invoked using an asynchronous Process Creation activity, the work item instance in the parent has a predefined hash table variable called "children". Downstream of the parent's Process Creation activity (called "SpawnChildren" in the PBL logic below), you can get the child's instance id using the children hash table and use this to send a notification to a Message Wait activty in the spawned child process instance using logic like this:
    send Notification
            using instanceId = children["SpawnChildren"],
                  activityName = "TerminateChild",
                  parameters = nullThe Message Wait activity needs to have its "Allows Interrupt" property checked in the child process. As you add this Message Wait activity (called "terminateChild" in the example above) make it an orphan with no transitions in or out initially. Once notified by the parent process, it still needs to be aborted so add a new Automatic activity in the child with this logic:
    action = ABORTFinally, add a transition from the Message Wait activity in the child subprocess to the Automatic activity.
    Synchronously Spawned Children
    If all you know is the parent work item instance's id and the child subprocess was invoked using a synchronous SubFlow activity, you could send a notification to a Message Wait activity that has it's "Allows Interrupt" property checked in the parent. If the Message Wait activity flows to an Automatic activity, you could use logic like this to kill the child subprocess work item instances synchrously spawned by the parent:
    for each ch in ProcessInstance.children do
        send Notification
            using instanceId = ch,
                  activityName = "TerminateChild",
                  parameters = null
    end
    action = SKIPSince the parent's instance was stuck in the Subflow activity, you'd need to send a notification to the parent's Message Wait activity in the parent process.

  • How to launch a function/procedure without suspending the parent process?

    Hi everybody,
    I would like to know if I can define something as follows in PLSQL:
    procedure master
    begin
    call a procedure_child;
    End master;
    I would like that the procedure master does not suspend the execution and wait that the procedure_child finishes in order to resume the executions with the further code.
    Thanks a lot in advanced
    Tomeu

    In the future, please stick to posting in a single forum.
    Re: How to launch a function/procedure without suspending the parent process?

  • Getting PID of Parents Parent Process ID.

    I have Process P1 ------> ( forks() and exec() ) Process 2 -------> ( forks() and exec() ) Process 3.
    Now my requirement is to get the Process ID of Process P1 in Process P3.??
    Its getting the Parents Parent Process ID.
    I am writing C Application and the Platform is Solaris10.
    Regards,
    Rahul.

    robert.cohen wrote:Do you mean different solutions, or more information on that solution?
    If you want a different solution, I think your out of luck. I don't believe there are any.
    If you want more info on how to implement that solution, I can probably help.
    But I'll be more inclined to help if you've demonstrated that you've at least tried to figure it out for yourself.
    man -s 4 proc will get you started.Thanks alot Robert. I have tried and its working fine:)

  • Separate Distribution Monitor Export and Import Processes on Multiple Machines

    Hi,
    Would you kindly let me know whether it is possible (means officially supported way) to run Distribution Monitor Export and Import processes on different machines?
    As per SAP note 0001595840 "Using DISTMON and MIGMON on source and target systems", it says as below.
    > 1. DISTMON expects the export and import to be carried out on the same server
    I think it means that export and import processes for the same tables must be run on the same machine, is it correct? If yes, Export on the machine A, and then Import those exported data on the other machine B is not the officially supported way... (However, I know it is technically possible.)
    Kind regards,
    Yutaka

    Hi Yutaka,
    Point no. 2 & 3 clarify the confusion. However let me explain it briefly:
    Distribution Monitor is used basically in case of migration of large SAP systems (database). It provides the feature to increase parallelism of export and import, distributing the process across available systems.
    You have to prepare the system for using DistMon. A common directory needs to be created as"commDir" and in case you use multiple systems for executing more number of processes of export and import then that "commDir" should be shared across all those systems.  And this is what the Point no.1 in KBA 1595840 mentions about. Distribution Monitor will run both the export and import process from the machine which is prepared for using DistMon and DistMon itself will control the other processes i.e. MigMon. No need to start separate MigMon.
    For example: You are performing a migration of SAP system based on OS:AIX and DB:DB2 to  OS: HP-UX and DB: Oracle. You need to perform the export using DistMon and you are having 4 Windows servers which can be used for parallel export/import. Once you have prepared the system for DistMon which hosts the "commDir" you'll have to provide the information of involved host machines in the "distribution_monitor_cmd.properties" file. Now when DistMon is executed it will distribute the export and import process across the systems which were defined in "distribution_monitor_cmd.properties" file automatically.
    Best regards,
    SUJIT

  • How to get status of a sub process from the parent process.

    Hi,
    I want to get the status of a subprocess from the parent process (i.e. success or failure).
    How can I get this.
    Thanks in advance.
    Bye

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

  • PAPI: Get processId of subflow process from Activity list of parent process

    Using PAPI or PAPI-WS how can I get the processId of the related process of a subflow activity?
    Specifically, I want to get the processId of all the subflow processes of a parent process provided I only have the parent process ID.
    For example, lets say my project has three processes with the following ID's:
    MainID1
    SubflowID1
    SubflowID2
    Assume my main process is MainID1 and that is only made up of two activities:
    1) a subflow activity that has SubflowID1 as the related process.
    2) a subflow activity that has SubflowID2 as the related process
    So in my case I need to get back "SubflowID1" and "SubflowID2" provided that initially I only know the ID of the main process MainID1.
    With PAPI/PAPI-WS I can get the list of activities of a process. So I can get back a list of two activities of type "SUBFLOW" for MainID1. However the activity object only gives me the ID of the activity itself and of the activity's parent process. It doesn't contain the ID of the subflow related process. Is there a way to do this?
    Please let me know if this needs further explanation. I know it's somewhat convoluted. Thanks!

    So you need a way to traverse through a process hierarchy even though instances may not be in the process? Sounds like you've created some type of recursive process topology and want to find related activities in the sub-process structure even though instances are not in the structure. If so, I've never seen a use case for this and so I wouldn't know how to do it. FindInstanceByFilter is your closest thing you have. But not having instances in the sub-processes to get information about the process hierarchy prohibits this. Perhaps you can plant tracer instances that you can normally filter out from normal work-flow. When you need to obtain a process hierarchy then you just look for these tracers.
    Interesting problem. Sorry I don't have a good answer.
    Edited by: Mark Peterson on Feb 18, 2010 6:08 AM

  • Process:         syslogd [2594] Path:            /usr/sbin/syslogd Identifier:      syslogd Version:         ??? (???) Code Type:       X86 (Native) Parent Process:  launchd [1]  Date/Time:       2013-08-25 19:04:12.368 -0600 OS Version:      Mac OS X 10.

    Crash report- What is the problem? How do I fix it?
    Process:         syslogd [2594]
    Path:            /usr/sbin/syslogd
    Identifier:      syslogd
    Version:         ??? (???)
    Code Type:       X86 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-08-25 19:04:12.368 -0600
    OS Version:      Mac OS X 10.5.8 (9L31a)
    Report Version:  6
    Anonymous UUID:  99DFB69F-E79D-4951-BCAC-54B1CBF348A0
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000216f2e
    Crashed Thread:  3
    Thread 0:
    0   libSystem.B.dylib                       0x94a0b60a select$DARWIN_EXTSN + 10
    1   syslogd                                 0x000017f2 0x1000 + 2034
    Thread 1:
    0   libSystem.B.dylib                       0x949bc166 mach_msg_trap + 10
    1   libSystem.B.dylib                       0x949c395c mach_msg + 72
    2   syslogd                                 0x0000ab42 0x1000 + 39746
    3   libSystem.B.dylib                       0x949ed055 _pthread_start + 321
    4   libSystem.B.dylib                       0x949ecf12 thread_start + 34
    Thread 2:
    0   libSystem.B.dylib                       0xffff027a __spin_lock + 26 (cpu_capabilities.h:234)
    1   libSystem.B.dylib                       0x949bcfb8 malloc_zone_malloc + 81
    2   libSystem.B.dylib                       0x949bcf4c malloc + 55
    3   libSystem.B.dylib                       0x94a1ff87 regexec + 3063
    4   libSystem.B.dylib                       0x94a1f0a4 asl_parse_time + 875
    5   libSystem.B.dylib                       0x94aab88c asl_file_save + 344
    6   libSystem.B.dylib                       0x94aa9505 asl_store_save + 672
    7   syslogd                                 0x0000a57b 0x1000 + 38267
    8   libSystem.B.dylib                       0x949ed055 _pthread_start + 321
    9   libSystem.B.dylib                       0x949ecf12 thread_start + 34
    Thread 3 Crashed:
    0   libSystem.B.dylib                       0x949c5a9a tiny_free_list_add_ptr + 139
    1   libSystem.B.dylib                       0x949c455c tiny_malloc_from_free_list + 898
    2   libSystem.B.dylib                       0x949bd0ad szone_malloc + 180
    3   libSystem.B.dylib                       0x949bcfb8 malloc_zone_malloc + 81
    4   libSystem.B.dylib                       0x949bcf4c malloc + 55
    5   libSystem.B.dylib                       0x949e7012 strdup + 34
    6   libSystem.B.dylib                       0x949e902b asl_set_query + 499
    7   libSystem.B.dylib                       0x949fbc06 asl_set + 39
    8   syslogd                                 0x0000a04c 0x1000 + 36940
    9   libSystem.B.dylib                       0x94ae4a56 _vprocmgr_log_drain + 203
    10  syslogd                                 0x00009580 0x1000 + 34176
    11  libSystem.B.dylib                       0x949ed055 _pthread_start + 321
    12  libSystem.B.dylib                       0x949ecf12 thread_start + 34
    Thread 3 crashed with X86 Thread State (32-bit):
      eax: 0x000fffe0  ebx: 0x949c5a28  ecx: 0x0000fffe  edx: 0x00116f50
      edi: 0x00105e10  esi: 0x00100000  ebp: 0xb0184be8  esp: 0xb0184ba0
       ss: 0x0000001f  efl: 0x00010202  eip: 0x949c5a9a   cs: 0x00000017
       ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
      cr2: 0x00216f2e
    Binary Images:
        0x1000 -    0x10ffe +syslogd ??? (???) <00418acf3a66596602af05f8a9f4e1a2> /usr/sbin/syslogd
    0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
    0x90003000 - 0x9000afe9  libgcc_s.1.dylib ??? (???) <e280ddf3f5fb3049e674edcb109f389a> /usr/lib/libgcc_s.1.dylib
    0x91147000 - 0x9114bfff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x949bb000 - 0x94b22ff3  libSystem.B.dylib ??? (???) <be7a9fa5c8a925578bddcbaa72e5bf6e> /usr/lib/libSystem.B.dylib
    0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

    I have a problem with safari just quitting on me. the safari window will close. a new window comes up saying safari quit unexpectedly and ask if it want to report it. I repaired permissions, a few things came up. Ran the repair. It seems to have cleared up the problem.
    Thankyou very much.

  • How to close the parent process.

    Hello World
    I am trying to open the external process like word using Runtime.exec(). The code below works perfectly fine. But I want to close the parent process. And only word file should remain on. How to do this? Experts please comment.
    Regards,
    Sachin Dare.
    import java.io.*;
    class Test {
    public static void main(String[] args) {
    try {
    String cmd[] = new String[3];
    cmd[0]= "cmd.exe";
    cmd[1]= "/C";
    cmd[2]= "C:\\Sachin\\EvicDocs\\sst58.doc";
    Process process = Runtime.getRuntime().exec(cmd);
    if(process != null) {
    StreamHandler errorGobbler = new StreamHandler(process.getErrorStream(), "ERROR");
    StreamHandler outputGobbler = new StreamHandler(process.getInputStream(), "OUTPUT");
    errorGobbler.start();
    outputGobbler.start();
    int exitVal = process.waitFor();
    System.out.println(" Exit Value is : " + exitVal);
    if(exitVal != 0) {
    throw new Exception();
    } else {
    System.out.println("Process is destroying......");
    process.destroy();
    catch(Exception e) {
    e.printStackTrace();
    class StreamHandler extends Thread {
    InputStream is;
    String type;
    StreamHandler(InputStream is, String type) {
    this.is = is;
    this.type = type;
    public void run() {
    try {
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null) {
    System.out.println(type + ">" + line);
    br.close();
    isr.close();
    } catch (Exception e) {
    e.printStackTrace();
    }

    If you mean by "parent process " the java one starting e.g. Word, then say System.exit() after having launched the child process. Hopefully Word will not take care of stdin, stdout or err so this arrangement will be okay.

  • How to check the parent process chain of a meta chain

    Hello Friends,
    Recently I joined a new project, which is of environment BW 3.0. I am trying to find the dependent process chain's parent, but could'nt able to find them. I went through all the process chains manually to check whther the dependent process chain is mentioned in them, but could'nt find any......
    Can any of you help me to know how to find the parent process chain of a meta chain ?
    I really appreciate your time, will be awarding points to any answers.......
    Thanks,

    Hello Radhan,
    thanks for your quick reply. I searched the table based on your advice, but i could'nt get the parent process chain's name. Can you throw some more ideas please..........
    Thanks,

Maybe you are looking for