How can I execute on a terminal a program choosing the virtual Desktop
Hello, this is the situation:
I have gnome, with 4 virtual desktops, and I am located for now on Virtual Desktop 1 with an opened Terminal. And I want to execute GIMP on the 4th Virtual Desktop. Is there any command to make executing directly GIMP to the Virtual Desktop 4 without having to go explicitly to Desktop 4?
Greetings
Look for an application called devilspie. If you can't figure out how to write the configuration for starting gimp on 4th desktop, say so.
Similar Messages
-
How can i execute vb scripts in java program
hi
how can i execute any batch files or any other exe files (vb scripts) from java programs
thanksHi,
You use Runtime.exec to execute commands / exe-files. See the documentation (and remember that it will only work on windows):
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
/Kaj -
How can we execute an *.exe that is present on the client side from Server.
Hi
My application users would be having their own exe's installed on their machines. Using a wizard thay would be providing the path where the executable would reside on their machine and this information will be store in our data base. So how can we provide the user the capability of executing the exe from my application that is a server based.
Thank you in advance.basically... drop the requirement as it is simply impossible. Whatever the executable is doing, perhaps you can mimic it in an applet, javafx, flash, silverlight, flex or whatever similar platform you want to use. Doing anything to or with that which resides on the client side is off limits to you and with very good reasons. Just think about the horrible things you could do to a computer if you had access to it through a simple webpage!
-
When I listen to music on Apple TV 2 my pictures from iPhoto come in aafter about ten minutes, but always the same album (which I never asked for), always in random order and always in a different format. How can I choose a different album myself and control the order and format?
Thank you Winston for a helpful response and for reminding me of something which I found nearly a year ago and then lost (in my mind) because I did not use it. I am grateful for a correct answer but it still only achieves part of what I wanted.
I can now choose my photos, decide how long they stay on screen and choose one of a variety of presentations. Two things I still can't do.
One is to get it to play the photos in the chronological order in which I have carefully set them in an album; it still tends to be random and repetitive. The other is that I cannot get any of them them to saty on screen for more than about 20 seconds. I guess this is all due to the way Apple TV is constructed.
But still thanks, nevertheless.
Alec -
I need to uninstall Firefox, but when I click "Remove" in Add/Remove Programs, nothing happens. I tried it several times. Add/Remove Programs shows Mozilla Firefox 3.0.6, which is strange since I have 8. I also tried running the helper.exe file in the uninstall folder, and nothing happened. I tried doing all of this after a few reboots as well as in Safe Mode, and had the same result. I searched the online forums, but I did not find anyone with exactly this same problem. I made sure Firefox was not running when I tried to uninstall it (double-checking the processes in Task Manager). I just ran Windows Update and everything else is working fine. I have no Antivirus software running. I closed all programs (down to essential Windows processes) before attempting the steps above. This is the first time I have ever attempted to uninstall Firefox.
Thanks!You may only see leftover entries in Add and Remove programs, but the listed programs may have been replaced by the updated version. This can happen if the updater didn't remove those old entries.
See http://kb.mozillazine.org/Uninstalling_Firefox -
HT1338 how can I stop my icons from moving around on the Lions desktop?
My icons change position after a start-up or re-boot.
It all started after installing Lion.
Has anyone a suggestion how tostop this?
I am running a MBP quadcore i7 500gb ssl, 8gb mem, OSX 7.4Hi Lance ..
Open the Finder.
From the Finder menu bar top of your screen click View > Show View Options
Click the pop up menu next to: Sort by
Select: Snap to grid -
How can I install CS6 versions of Adobe Software Using the Adobe Desktop App?
I have a licence for CS6 Software NOT the new CC software. The only options i can see available in the CC app is for the new CC versions of the software. I tried clicking on the previous versions option as suggested by the troubleshooter, but none of the software I want to install is available in the list.
Bcom if you own CS6 you will want to use the traditional method of installing from the installation files and entering your serial number. If you are looking for a fresh copy of the installation files they can be downloaded at Download CS6 products.
-
Help! 911! S.O.S.
Update iWork to Mountain Lion compatible versions.
Software Update is now operated therough the Mac App Store. I'm guessing that you have a version not purchased through the Mac App Store, but on DVD?
If so, take a look at this thread. It's important to have the apps in the original folder. More details in the thread. -
How can i execute that sub menu through Acrobat javascript
Hi,
I want to open multiple .pdf files in Acrobat Professional 9 enable the menu item which is
in Advanced -> Extend Features in Adobe reader.
"Extend Features in Adobe reader." is a sub menu in "Advance" menu item.
How can i execute that sub menu through Acrobat javascriptHi,
The Scripting code is mentioned below:
var q = app.trustedFunction(
function ()
app.beginPriv();
app.execMenuItem("DIGSIG:UBDoc");
app.endPriv();
try{
q();
catch(e){
app.alert("Invalid Menu Item\nPlease Contact the SysAdmin");
But its not working. Please help me.
Thanks,
Christy -
How can I execute a Procedure with OUT variable is %ROWTYPE on SQL Prompt
Hi,
I have a procedure with OUT variable is %ROWTYPE
How can I execute the following procedure on SQL prompt.
(without creating anonymous block)
CREATE OR REPLACE PROCEDURE zz_sp_EMP(VEMPNO IN EMP.EMPNO%TYPE,
V_REC IN OUT EMP%ROWTYPE)
AS
BEGIN
SELECT * INTO V_REC FROM EMP WHERE EMPNO = VEMPNO;
END;
Thanks & Regards,
Nareshas previous posters said: it's not possible to do this without declaring a variable in the anonymous block.
With anonymous block it would look like this (had to change it a bit, since i'm using hr-schema on oracle XE):
declare
l_rec EMPLOYEES%ROWTYPE;
begin
zz_sp_EMP(VEMPNO => 100, V_REC => l_rec);
DBMS_OUTPUT.PUT_LINE ( 'first_name = ' || l_rec.first_name );
DBMS_OUTPUT.PUT_LINE ( 'last_name = ' || l_rec.last_name );
end;
first_name = Steven
last_name = King -
How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
Hi
I have a stored procedure. It can be executed like this
exec test @p = 1;
exec test @p = 2
exec test @p = n;
n can be hundred.
I want the sp being executed in parallel, not sequence. It means the 3 examples above can be run at the same time.
If I know the number in advance, say 3, I can create 3 different Execution SQL Tasks. They can be run in parallel.
However, the n is not static. It is coming from a table.
How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
I think about using script task. In the script, I get the value of n, and the list of p, from the table, then running a loop with. In the loop, I create a threat and in the threat, I execute the sp like : exec test @p = p. So the exec test may
be run parallel. But I am not sure if it works.
Any idea is really appreciated.Hi nam_man,
According to your description, you want to call stored procedures in parallel, right?
In SSIS, we can create separate jobs with different stored procedures, then set the same schedule to kick the jobs off at the same time. In this way, we should be careful to monitor blocking and deadlocking depending on what the jobs are doing.
We can also put all stored procedures in SSIS Sequence container, then they will be run in parallel.
For more information about SSIS job and Sequence container, please refer to the following documents:
http://www.mssqltips.com/sqlservertutorial/220/scheduling-ssis-packages-with-sql-server-agent/
https://msdn.microsoft.com/en-us/library/ms139855(v=sql.110).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
How can I execute program after using F4_Filename function?
Hi all,
I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
This is simple program for example:
REPORT Z_TEST8_AB.
DATA f_name TYPE STRING.
PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
f_name = p_file.
write:/ f_name.
This program works correctly. There is a field for parameter. I can change the default name for a file.
After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
Now I added a function F4_Filename
REPORT Z_TEST8_AB.
DATA f_name TYPE STRING.
PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
exporting
program_name = syst-repid
dynpro_number = syst-dynnr
field_name = 'p_file'
importing
file_name = p_file.
f_name = p_file.
write:/ f_name.
I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
What do I do wrong?
Could anyone suggest me a solution? How can I executed the code after using this function?
Thanks in advance.
Regards,
Arek.Hi arkadiusz,
1. simple
2.
<b>start-of-selection.</b>
f_name = p_file.
write:/ f_name.
regards,
amit m. -
How can I execute external application?
Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file.
I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?
Thanks
Mehmet
P.S. I have been writing this message with details may be somebody can give me a simple way for thisWell, I can suggest you following steps. May be it works for you .
-Create an external OS command in SM69
-Test OS command in SM49 ( <u><i>about OS command if you search in SDN youll get lot of material</i></u> )
-Create a Script at your OS level, Im assuming you might have some UNIX flavor or Sun solarias.
-Create a Shell script , which execute the printer job from OS .
-Shell script will have parameters . ( e.g. printer name, destination etc )
-set the path of shell script directory in SM69 ( the command you just created )
-Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" )
In the ABAP program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level .
FYI
For UNIX script, if you search in www.google.com ( UNIX forums) . youll get shell script .
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
How can I execute an .app remotely in a server via internet?
Hi,
Using PHP, or something like it, how can I execute a MAC OSX app but have it run remotely in the server?
I know this may sound like a simple question but I have almost no experience with Web apps.
Thanks,
Juan DentAll you need is a trigger that starts the execution. A simple HTML link to the file will do.
-
How can I execute a statement before a VO is running
JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
I use ADF BC
how can I execute a statement before a VO is runningthanks for the answer
i use a logon function before I run a VO
after a certain time will be disconnected
and I have to call the function again
sorry for my English
public String logon(String username, String password){
CallableStatement st = null;
this.username = username;
this.password = password;
try {
st = getDBTransaction().createCallableStatement("begin ep_security.LogOn(?,?); end;",0);
st.setObject(1, username);
st.setObject(2, password);
st.executeUpdate();
this.getDBTransaction().commit();
} catch (SQLException e) {
System.out.println("ERROR "+e.getMessage());
this.addWarning(new JboWarning("Quote retrieved successfully"));
System.out.println("...RETURN ERROR");
return "error";
} finally {
if (st != null) {
try {
// 7. Close the statement
st.close();
} catch (SQLException e) {
e.printStackTrace();
}
Maybe you are looking for
-
Getting an error when connecting ipod to laptop
I have downloaded the latest version of iTunes and then when I plug in the iPod shuffle I get an error message about the version if music software is not compatible with my iPod and to try reinstalling it. Have tried reinstalling the software a few t
-
Healing Brush = Clone Stamp when used on separate layer?
I can't find corroboration on the web so I want to konw if anyone here has seen this - when using the Healing Brush tool in Normal mode, the opacity of the cloned pixels when painted onto the same layer as the source pixels will usually be decreased
-
Screen saver, photo file
Sadly, my photo files are saved, but not well organized. For my screen saver I run random photos from my own iphoto files. Sometimes I see a photo that I'd forgotten and would love to print, I'd like to locate the number of the original file. Is ther
-
BED , AED , SEC value as zero
Hi , When I posting invoice I am getting warning message as BED , AED , SEC value as zero. How do I sort out the issue . What are the pre-requisites required to be maintained for the same.
-
I would like to programatically zip a folder then delete the folder. I can successfully zip the folder using the OpenG zip tools, but when i try to delete it in the same VI i get an error 6. This sparked me to use the NI zip tools, but this causes th