Cursor positiong at POV
Hi,
my customer's requirement is to move a cursor at the end of PROCESS ON VALUE REQUEST on one subscreen field to another field.
Details: during sales order item creation (VA01) the cursor is positioned automatically at the field for Material (program SAPMV45A, subscreen 4900). After a matchcode is triggered the program goes through POV on the screen (module RV45A_MABNR_VALUES) and displays it afterwards - without going through PBO or PAI. The request is to move the cursor automatically to the "Quantity" field after material is selected (that means at the end of POV on material field). The reason: a call center agent has to be able to enter many sales order items as quickly as possible u2013 from their point of view the reduction of manual cursor positioning would be very helpful.
I've already tried to add following modifications at the end of module RV45A_MABNR_VALUES:
- SET CURSOR u2013 it doesn't work, since it's not PBO
- SET SCREEN u2026/ LEAVE TO SCREEN u2026 - it's not allowed since 4900 is a subscreen
- SUPPRESS DIALOG - it doesn't work neither
Even if they worked, I wouldn't be happy with these solutions, since they trigger PBO / PAI again, which could be time consuming.
My idea has been to find something similar to the function module DYNP_VALUES_UPDATE (screen fields update w/o PBO) which would enable cursor positioning too, but I couldnt' find it.
Any ideas?
Edited by: Tomislav Sesnic on Apr 27, 2009 11:42 AM
Hi,
i used the same to get F4 help for table control fields according to cursotr position.
*F4 Help
PROCESS ON VALUE-REQUEST.
FIELD wa_zcxref_classes-atwrt MODULE f4_choose_batch_values.
MODULE f4_choose_batch_values INPUT.
* getting the cursor line in Table Control
GET CURSOR FIELD selfield LINE selline.
selindex = tc_batch-top_line + selline - 1.
* Fetching the Characteristic Name in the cursor Position
READ TABLE t_zcxref_classes INTO wa_zcxref_classes
INDEX selindex.
* Movinig the characteristic name to FM to fetch the possible enteries
w_char_old-atnam = wa_zcxref_classes-characteristic.
CALL FUNCTION 'CHAR_VALUE_POSSIBLE_ENTRIES'
EXPORTING
char_imp = w_char_old
flg_display_imp = ' '
IMPORTING
char_val_exp = wa_zcxref_classes-atwrt
flg_val_changed_exp = w_flg_val_changed_exp
EXCEPTIONS
not_found = 1
close_error = 2
set_error = 3
no_authority = 4
failed = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " F4_CHOOSE_BATCH_VALUES INPUT
Regards,
Prabhudas
Similar Messages
-
Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font
The issue described in this thread is still outstanding for a number of users.
It seems to boil down to this: when using rxvt-unicode with xcompmgr and an Xft font (Liberation Mono, DejaVu Sans Mono, and Terminus were among those tested), the terminal cursor will disappear. Typing some text and pressing backspace will cause it to reappear.
Furthermore, the entire window sometimes disappears when switching workspaces in Openbox. Repeated workspace switches or minimizing / restoring the window (via a panel, such as tint2) can make it reappear.
A workaround is to set URxvt*cursorUnderline in ~/.Xdefaults, but some users prefer a block cursor.The suggestion of installing libxft-lcd was made. I did so, commented-out the URxvt*cursorUnderline line in ~/.Xdefaults, logged out of X, and restarted slim from tty1.
% ldd /usr/bin/urxvt | grep Xft
libXft.so.2 => /usr/lib/libXft.so.2 (0x00007fd35f179000)
% pacman -Qo /usr/lib/libXft.so.2
/usr/lib/libXft.so.2 is owned by libxft-lcd 2.2.0-1
After restarting slim, the problem persists. After rebooting, the problem still persists.
xterm does not exhibit this problem, nor does emacs. I use both programs with libxft and blinking block cursors, and they both work as expected. This seems to be an issue with running rxvt-unicode in combination with xcompmgr. From my POV, it doesn't seem that intel drivers are to blame, but I suppose I wouldn't rule them out.
Last edited by hexadecagram (2011-10-09 21:23:43) -
Windows 7 displays error message when exiting +cursor issue
Two issues here. CS5 Phoshop on Wind 7 64 bit.
Physical processor count: 8
Processor speed: 3073 MHz
Built-in memory: 12279 MB
Free memory: 9577 MB
Memory available to Photoshop: 10934 MB
Memory used by Photoshop: 80 %
Image tile size: 128K
First issue is since the latest automatic Adobe update (why fix what isn't broken?) Every time I now exit Photoshop I get the message "Adobe QT Server has stoped working" and occasionally it happens when I exit bridge. Indesign is also behaving badly. I can no longer start a previous document from file manager without ID crashing out.
The other is the cursors in Clone and erase lose their edge (become invisable) for no reason - well not quite. Noise Ninja crashed Photoshop when I tried to use it. I reinstalled it and all is well. The cursor issue seems to be intermittant but came back (for no reason) after I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem is now seriously affecting how I work. Almost enough to go back to Win XP which ran CS5 Photoshop flawlessly.
Any help will be gratefully accepted.
Dougfunction(){return A.apply(null,[this].concat($A(arguments)))}
doug87510 wrote:
The recent problem is the entire outline of the cursor (including the crosshair in the middle) was missing at any size of cursor. All I had was exactly what I'd get if I used a real spraygun.
Well, that issue is simply a matter of hitting the Caps Lock key. When Caps Lock is on, you'll see the cursor outline, and when it is off you'll see a crosshair. That's a feature, not a bug.
Glad to hear the 11.1 drivers are out. I will download them and try them now myself.
Regarding "Adobe QT" crashing... QT brings to mind QuickTime, though that is Apple, not Adobe. Do you have Apple QuickTime installed?
Regarding memory usage, with 12 GB of installed RAM, you should be able to set Photoshop to use 90% or more in Edit - Preferences - Performance.
-Noel -
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
Hi
I am trying to have a if statement inside a cursor clause. But it gives me error saying that "PLS-00103: Encountered the symbol "IF" when expecting one of the following: ( select <a SQL statement>". I know this is not the right syntax so is there any way that I can specify the table that the cursor should get its information from based on a if clause.
The typeID field tells me which table to go to to get the information from. So if typeId=1 then go to table1 if it is type=2 then go to table2 etc.....
CREATE OR REPLACE PROCEDURE FILLDATA(
typeID IN NUMBER
) IS
data varchar2(16);
dataresult varchar2(16);
cursor c1 is
IF typeID=1 then
select value from TableName#1
ELSE
select value from TableName#2
END IF;
where id='1';
begin
open c1;
dataresult:='';
loop
fetch c1 into dataresult;
EXIT WHEN c1%NOTFOUND;
data:=concat(to_char(data), to_char(dataresult));
end loop;
close c1;
end
Your help will be really appreciated. Thanks a lot.
Message was edited by:
user561977
Message was edited by:
user561977
Message was edited by:
user561977Or I guess:
DECLARE
cur SYS_REFCURSOR;
BEGIN
CASE ROUND(DBMS_RANDOM.VALUE(1,2))
WHEN 1 THEN OPEN cur FOR SELECT id FROM t1;
WHEN 2 THEN OPEN cur FOR SELECT id FROM t2;
END CASE;
CLOSE cur;
END;Also I can't think of a practical use for this here, but you can assign one ref cursor to another:
DECLARE
c1 SYS_REFCURSOR;
c2 SYS_REFCURSOR;
c_generic SYS_REFCURSOR;
BEGIN
CASE ROUND(DBMS_RANDOM.VALUE(1,2))
WHEN 1 THEN
DBMS_OUTPUT.PUT_LINE('Picked value: 1');
OPEN c1 FOR SELECT id FROM t1;
c_generic := c1;
WHEN 2 THEN
DBMS_OUTPUT.PUT_LINE('Picked value: 2');
OPEN c2 FOR SELECT id FROM t2;
c_generic := c2;
END CASE;
CLOSE c_generic;
IF c1%ISOPEN THEN
DBMS_OUTPUT.PUT_LINE('c1 is open.');
CLOSE c1;
ELSIF c2%ISOPEN THEN
DBMS_OUTPUT.PUT_LINE('c2 is open.');
CLOSE c2;
ELSE
DBMS_OUTPUT.PUT_LINE('It appears that neither c1 nor c2 is open.');
END IF;
END;
Picked value: 2
It appears that neither c1 nor c2 is open.
PL/SQL procedure successfully completed.Message was edited by:
William Robertson -
New Install - startx results in blank screen with mouse cursor
I installed Arch on my desktop last week with no issues, so I wanted to install it on an old THinkpad R31. Everything with the installation went smooth, but when I try to 'startx' all I get is a blank screen with a mouse cursor that I can move around. I've installed xorg-xinit, xorg-twm, xorg-xclock, and xterm.
I'm not getting any significant errors in the logs, or even the terminal I issue 'startx' in.
I'm not sure what the problem could be...
Here is my output from 'startx'
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.0-1-ARCH i686
Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
Build Date: 05 October 2012 02:01:30PM
Current version of pixman: 0.26.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xinit: connection to X server lost
waiting for X server to shut down XIO: fatal IO error 0 (Success) on X server ":0"
after 554 requests (554 known processed) with 0 events remaining.
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
Server terminated successfully (0). Closing log file.
xinit: unexpected signal 2
And my Xorg.0.log
[ 4955.478]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 4955.479] X Protocol Version 11, Revision 0
[ 4955.479] Build Operating System: Linux 3.6.0-1-ARCH i686
[ 4955.479] Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
[ 4955.479] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
[ 4955.479] Build Date: 05 October 2012 02:01:30PM
[ 4955.479]
[ 4955.479] Current version of pixman: 0.26.2
[ 4955.479] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4955.479] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4955.480] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
[ 4955.480] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 4955.480] (==) No Layout section. Using the first Screen section.
[ 4955.480] (==) No screen section available. Using defaults.
[ 4955.480] (**) |-->Screen "Default Screen Section" (0)
[ 4955.480] (**) | |-->Monitor "<default monitor>"
[ 4955.481] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4955.481] (==) Automatically adding devices
[ 4955.481] (==) Automatically enabling devices
[ 4955.481] (==) Automatically adding GPU devices
[ 4955.481] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 4955.481] Entry deleted from font path.
[ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 4955.481] Entry deleted from font path.
[ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 4955.481] (==) FontPath set to:
/usr/share/fonts/misc/
[ 4955.481] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4955.481] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 4955.481] (II) Loader magic: 0x825a620
[ 4955.482] (II) Module ABI versions:
[ 4955.482] X.Org ANSI C Emulation: 0.4
[ 4955.482] X.Org Video Driver: 13.0
[ 4955.482] X.Org XInput driver : 18.0
[ 4955.482] X.Org Server Extension : 7.0
[ 4955.484] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4955.486] (--) PCI:*(0:0:2:0) 8086:3577:1014:0505 rev 4, Mem @ 0x98000000/134217728, 0x90100000/524288
[ 4955.486] (--) PCI: (0:0:2:1) 8086:3577:1014:0505 rev 0, Mem @ 0x88000000/134217728, 0x80200000/524288
[ 4955.486] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 4955.486] Initializing built-in extension Generic Event Extension
[ 4955.486] Initializing built-in extension SHAPE
[ 4955.486] Initializing built-in extension MIT-SHM
[ 4955.486] Initializing built-in extension XInputExtension
[ 4955.486] Initializing built-in extension XTEST
[ 4955.486] Initializing built-in extension BIG-REQUESTS
[ 4955.486] Initializing built-in extension SYNC
[ 4955.487] Initializing built-in extension XKEYBOARD
[ 4955.487] Initializing built-in extension XC-MISC
[ 4955.487] Initializing built-in extension SECURITY
[ 4955.487] Initializing built-in extension XINERAMA
[ 4955.487] Initializing built-in extension XFIXES
[ 4955.487] Initializing built-in extension RENDER
[ 4955.487] Initializing built-in extension RANDR
[ 4955.487] Initializing built-in extension COMPOSITE
[ 4955.487] Initializing built-in extension DAMAGE
[ 4955.487] Initializing built-in extension MIT-SCREEN-SAVER
[ 4955.487] Initializing built-in extension DOUBLE-BUFFER
[ 4955.487] Initializing built-in extension RECORD
[ 4955.487] Initializing built-in extension DPMS
[ 4955.487] Initializing built-in extension X-Resource
[ 4955.487] Initializing built-in extension XVideo
[ 4955.487] Initializing built-in extension XVideo-MotionCompensation
[ 4955.487] Initializing built-in extension XFree86-VidModeExtension
[ 4955.487] Initializing built-in extension XFree86-DGA
[ 4955.487] Initializing built-in extension XFree86-DRI
[ 4955.487] Initializing built-in extension DRI2
[ 4955.487] (II) LoadModule: "glx"
[ 4955.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4955.489] (II) Module glx: vendor="X.Org Foundation"
[ 4955.489] compiled for 1.13.0, module version = 1.0.0
[ 4955.489] ABI class: X.Org Server Extension, version 7.0
[ 4955.489] (==) AIGLX enabled
[ 4955.489] Loading extension GLX
[ 4955.489] (==) Matched intel as autoconfigured driver 0
[ 4955.489] (==) Matched intel as autoconfigured driver 1
[ 4955.489] (==) Matched vesa as autoconfigured driver 2
[ 4955.489] (==) Matched modesetting as autoconfigured driver 3
[ 4955.489] (==) Matched fbdev as autoconfigured driver 4
[ 4955.489] (==) Assigned the driver to the xf86ConfigLayout
[ 4955.489] (II) LoadModule: "intel"
[ 4955.490] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 4955.491] (II) Module intel: vendor="X.Org Foundation"
[ 4955.491] compiled for 1.13.0, module version = 2.20.9
[ 4955.491] Module class: X.Org Video Driver
[ 4955.491] ABI class: X.Org Video Driver, version 13.0
[ 4955.491] (II) LoadModule: "vesa"
[ 4955.491] (WW) Warning, couldn't open module vesa
[ 4955.491] (II) UnloadModule: "vesa"
[ 4955.492] (II) Unloading vesa
[ 4955.492] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4955.492] (II) LoadModule: "modesetting"
[ 4955.492] (WW) Warning, couldn't open module modesetting
[ 4955.492] (II) UnloadModule: "modesetting"
[ 4955.492] (II) Unloading modesetting
[ 4955.492] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 4955.493] (II) LoadModule: "fbdev"
[ 4955.493] (WW) Warning, couldn't open module fbdev
[ 4955.493] (II) UnloadModule: "fbdev"
[ 4955.493] (II) Unloading fbdev
[ 4955.493] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 4955.493] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
Haswell Server (GT2+), Haswell SDV Desktop (GT1),
Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
Haswell ULT Server (GT1), Haswell ULT Server (GT2),
Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
ValleyView PO board
[ 4955.496] (--) using VT number 7
[ 4955.508] (II) intel(0): using device path '/dev/dri/card0'
[ 4955.509] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 4955.509] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 4955.509] (==) intel(0): RGB weight 888
[ 4955.509] (==) intel(0): Default visual is TrueColor
[ 4955.509] (--) intel(0): Integrated Graphics Chipset: Intel(R) i830M
[ 4955.509] (**) intel(0): Relaxed fencing disabled
[ 4955.509] (**) intel(0): Wait on SwapBuffers? enabled
[ 4955.509] (**) intel(0): Triple buffering? enabled
[ 4955.509] (**) intel(0): Framebuffer tiled
[ 4955.510] (**) intel(0): Pixmaps tiled
[ 4955.510] (**) intel(0): 3D buffers tiled
[ 4955.510] (**) intel(0): SwapBuffers wait enabled
[ 4955.510] (==) intel(0): video overlay key set to 0x101fe
[ 4955.593] (II) intel(0): Output VGA1 has no monitor section
[ 4955.593] (II) intel(0): Output LVDS1 has no monitor section
[ 4955.594] (--) intel(0): found backlight control interface /sys/class/backlight/thinkpad_screen
[ 4955.676] (II) intel(0): EDID for output VGA1
[ 4955.677] (II) intel(0): Printing probed modes for output VGA1
[ 4955.677] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 4955.677] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 4955.677] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 4955.677] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
[ 4955.677] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 4955.677] (II) intel(0): EDID for output LVDS1
[ 4955.677] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Printing probed modes for output LVDS1
[ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 +hsync +vsync (48.4 kHz P)
[ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 4955.678] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 4955.678] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 4955.678] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 4955.678] (II) intel(0): Output VGA1 connected
[ 4955.678] (II) intel(0): Output LVDS1 connected
[ 4955.678] (II) intel(0): Using exact sizes for initial modes
[ 4955.678] (II) intel(0): Output VGA1 using initial mode 1024x768
[ 4955.678] (II) intel(0): Output LVDS1 using initial mode 1024x768
[ 4955.678] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 4955.678] (II) intel(0): Kernel page flipping support detected, enabling
[ 4955.678] (==) intel(0): DPI set to (96, 96)
[ 4955.678] (II) Loading sub module "fb"
[ 4955.678] (II) LoadModule: "fb"
[ 4955.679] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 4955.679] (II) Module fb: vendor="X.Org Foundation"
[ 4955.679] compiled for 1.13.0, module version = 1.0.0
[ 4955.679] ABI class: X.Org ANSI C Emulation, version 0.4
[ 4955.679] (II) Loading sub module "dri2"
[ 4955.679] (II) LoadModule: "dri2"
[ 4955.680] (II) Module "dri2" already built-in
[ 4955.680] (==) Depth 24 pixmap format is 32 bpp
[ 4955.680] (II) intel(0): [DRI2] Setup complete
[ 4955.680] (II) intel(0): [DRI2] DRI driver: i915
[ 4955.680] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
[ 4955.680] (II) UXA(0): Driver registered support for the following operations:
[ 4955.680] (II) solid
[ 4955.680] (II) copy
[ 4955.680] (II) composite (RENDER acceleration)
[ 4955.680] (II) put_image
[ 4955.680] (II) get_image
[ 4955.680] (==) intel(0): Backing store disabled
[ 4955.680] (==) intel(0): Silken mouse enabled
[ 4955.681] (II) intel(0): Initializing HW Cursor
[ 4955.681] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 4955.684] (==) intel(0): DPMS enabled
[ 4955.684] (==) intel(0): Intel XvMC decoder disabled
[ 4955.684] (II) intel(0): Set up overlay video
[ 4955.684] (II) intel(0): direct rendering: DRI2 Enabled
[ 4955.684] (==) intel(0): hotplug detection: "enabled"
[ 4955.983] (--) RandR disabled
[ 4956.021] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 4956.021] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context
[ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 4956.021] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 4956.021] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 4956.021] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 4956.021] (II) AIGLX: Loaded and initialized i915
[ 4956.022] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 4956.023] (II) intel(0): Setting screen physical size to 270 x 203
[ 4956.124] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 4956.124] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 4956.124] (II) LoadModule: "evdev"
[ 4956.124] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 4956.125] (II) Module evdev: vendor="X.Org Foundation"
[ 4956.125] compiled for 1.13.0, module version = 2.7.3
[ 4956.125] Module class: X.Org XInput Driver
[ 4956.125] ABI class: X.Org XInput driver, version 18.0
[ 4956.125] (II) Using input driver 'evdev' for 'Power Button'
[ 4956.125] (**) Power Button: always reports core events
[ 4956.125] (**) evdev: Power Button: Device: "/dev/input/event4"
[ 4956.126] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 4956.126] (--) evdev: Power Button: Found keys
[ 4956.126] (II) evdev: Power Button: Configuring as keyboard
[ 4956.126] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[ 4956.126] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 4956.126] (**) Option "xkb_rules" "evdev"
[ 4956.126] (**) Option "xkb_model" "evdev"
[ 4956.126] (**) Option "xkb_layout" "us"
[ 4956.197] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[ 4956.198] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 4956.198] (II) Using input driver 'evdev' for 'Video Bus'
[ 4956.198] (**) Video Bus: always reports core events
[ 4956.198] (**) evdev: Video Bus: Device: "/dev/input/event2"
[ 4956.198] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 4956.198] (--) evdev: Video Bus: Found keys
[ 4956.198] (II) evdev: Video Bus: Configuring as keyboard
[ 4956.198] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[ 4956.198] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 4956.198] (**) Option "xkb_rules" "evdev"
[ 4956.198] (**) Option "xkb_model" "evdev"
[ 4956.198] (**) Option "xkb_layout" "us"
[ 4956.200] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[ 4956.200] (II) No input driver specified, ignoring this device.
[ 4956.200] (II) This device may have been added with another device file.
[ 4956.201] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 4956.201] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 4956.201] (II) Using input driver 'evdev' for 'Sleep Button'
[ 4956.202] (**) Sleep Button: always reports core events
[ 4956.202] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 4956.202] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 4956.202] (--) evdev: Sleep Button: Found keys
[ 4956.202] (II) evdev: Sleep Button: Configuring as keyboard
[ 4956.202] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[ 4956.202] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 4956.202] (**) Option "xkb_rules" "evdev"
[ 4956.202] (**) Option "xkb_model" "evdev"
[ 4956.202] (**) Option "xkb_layout" "us"
[ 4956.204] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4956.205] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 4956.205] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 4956.205] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 4956.205] (**) AT Translated Set 2 keyboard: always reports core events
[ 4956.205] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 4956.205] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 4956.205] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 4956.205] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[ 4956.205] (**) Option "xkb_rules" "evdev"
[ 4956.206] (**) Option "xkb_model" "evdev"
[ 4956.206] (**) Option "xkb_layout" "us"
[ 4956.208] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
[ 4956.208] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[ 4956.208] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[ 4956.208] (**) TPPS/2 IBM TrackPoint: always reports core events
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event6"
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[ 4956.208] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 4956.208] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[ 4956.208] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 10)
[ 4956.209] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[ 4956.210] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[ 4956.210] (II) No input driver specified, ignoring this device.
[ 4956.210] (II) This device may have been added with another device file.
[ 4956.211] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[ 4956.211] (II) No input driver specified, ignoring this device.
[ 4956.211] (II) This device may have been added with another device file.
[ 4956.213] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[ 4956.213] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[ 4956.213] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[ 4956.213] (**) ThinkPad Extra Buttons: always reports core events
[ 4956.213] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event7"
[ 4956.214] (--) evdev: ThinkPad Extra Buttons: Vendor 0x1014 Product 0x5054
[ 4956.214] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 4956.214] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 4956.214] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event7"
[ 4956.214] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 11)
[ 4956.214] (**) Option "xkb_rules" "evdev"
[ 4956.214] (**) Option "xkb_model" "evdev"
[ 4956.214] (**) Option "xkb_layout" "us"
[ 4960.630] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 4964.186] (II) evdev: ThinkPad Extra Buttons: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: TPPS/2 IBM TrackPoint: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: AT Translated Set 2 keyboard: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: Sleep Button: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: Video Bus: Close
[ 4964.190] (II) UnloadModule: "evdev"
[ 4964.190] (II) evdev: Power Button: Close
[ 4964.190] (II) UnloadModule: "evdev"
[ 4964.192] Server terminated successfully (0). Closing log file.karol wrote:
Leonid.I wrote:@0x001A4:
To run twm, you need to install xorg-twm from [extra] (I am not sure if it installs by default). Do you have xterm installed?
According to his first post he has both xorg-twm and xterm installed.
I do indeed.
I went ahead and installed LXDE anyways, just to see what would happen. Exact same thing, it looks like everything is about to load but only the mouse cursor shows up. My Xorg.0.log is the same, so I won't post it again.
I do get an error in the console about the openbox menu.xml file missing but I doubt that's related.
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.0-1-ARCH i686
Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
Build Date: 05 October 2012 02:01:30PM
Current version of pixman: 0.26.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 15 18:12:28 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
xinit: connection to X server lost
waiting for X server to shut down pcmanfm: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2326 requests (2323 known processed) with 0 events remaining.
Server terminated successfully (0). Closing log file.
xinit: unexpected signal 2
.xinitrc for my user
exec ck-launch-session startlxde
Very wierd. -
Problem with JFrame and busy/wait Cursor
Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
for the duration of some operation (usually just a few seconds).
I can get it to work in some situations, but not others.
Timing does seem to be an issue.
There are thousands of posts on the BugParade, but
in general Sun indicates this is not a bug. I just need
a work-around.
I've written a test program below to demonstrate the problem.
I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
I have not tested on Windows yet.
When you run the following code, three JFrames will be opened,
each with the same 5 buttons. The first "F1" listens to its own
buttons, and works fine. The other two (F2 and F3) listen
to each other's buttons.
The "BUSY" button simply sets the cursor on its listener
to the busy cursor. The "DONE" button sets it to the
default cursor. These work fine.
The "SLEEP" button sets the cursor, sleeps for 3 seconds,
and sets it back. This does not work.
The "INVOKE LATER" button does the same thing,
except is uses invokeLater to sleep and set the
cursor back. This also does not work.
The "DELAY" button sleeps for 3 seconds (giving you
time to move the mouse into the other (listerner's)
window, and then it behaves just like the "SLEEP"
button. This works.
Any ideas would be appreciated, thanks.
-J
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
public class BusyFrameTest implements ActionListener
private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
private static Cursor done = Cursor.getDefaultCursor();
JFrame frame;
JButton[] buttons;
public BusyFrameTest (String title)
frame = new JFrame (title);
buttons = new JButton[5];
buttons[0] = new JButton ("BUSY");
buttons[1] = new JButton ("DONE");
buttons[2] = new JButton ("SLEEP");
buttons[3] = new JButton ("INVOKE LATER");
buttons[4] = new JButton ("DELAY");
JPanel buttonPanel = new JPanel();
for (int i = 0; i < buttons.length; i++)
buttonPanel.add (buttons);
frame.getContentPane().add (buttonPanel);
frame.pack();
frame.setVisible (true);
public void addListeners (ActionListener listener)
for (int i = 0; i < buttons.length; i++)
buttons[i].addActionListener (listener);
public void actionPerformed (ActionEvent e)
System.out.print (frame.getTitle() + ": " + e.getActionCommand());
if (e.getActionCommand().equals ("BUSY"))
frame.setCursor (busy);
else if (e.getActionCommand().equals ("DONE"))
frame.setCursor (done);
else if (e.getActionCommand().equals ("SLEEP"))
frame.setCursor (busy);
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.print (" finished");
else if (e.getActionCommand().equals ("INVOKE LATER"))
frame.setCursor (busy);
SwingUtilities.invokeLater (thread);
else if (e.getActionCommand().equals ("DELAY"))
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (busy);
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.print (" finished");
System.out.println();
Runnable thread = new Runnable()
public void run()
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.println (" finished");
public static void main (String[] args)
BusyFrameTest f1 = new BusyFrameTest ("F1");
f1.addListeners (f1);
BusyFrameTest f2 = new BusyFrameTest ("F2");
BusyFrameTest f3 = new BusyFrameTest ("F3");
f2.addListeners (f3); // 2 listens to 3
f3.addListeners (f2); // 3 listens to 2I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread. -
I have a drag image application and I wanted to use the open and closed hand cursors to move the image about. It seems there is no easy way of accessing these in Java. After searching for cursor names etc.. I decided to hard code the cursors from the .gif image. Also I didn't want the .GIFs as files as this adds to loading problems so I ended up using arrays of pixels that took a little while to enter.
I'm giving you the code if you ever need to use it as I typed it in and wouldn't want anyone else to have to do the same.
int curWidth=32;
int curHeight=32;
int curCol;
Image img;
int x,y;
int closed_black[] = { 6,5,7,5,9,5,10,5,12,5,13,5,5,6,8,6,11,6,14,6,
15,6,5,7,14,7,16,7,6,8,16,8,5,9,6,9,16,9,4,10,
16,10,4,11,16,11,4,12,15,12,5,13,15,13,6,14,14,14,
7,15,14,15,7,16,14,16,0};
int closed_white[] = { 6,4,7,4,9,4,10,4,12,4,13,4,5,5,8,5,11,5,14,5,15,5,
4,6,6,6,7,6,9,6,10,6,12,6,13,6,16,6,4,7,15,7,17,7,
5,8,17,8,4,9,17,9,3,10,5,10,15,10,17,10,3,11,17,11,
3,12,16,12,4,13,16,13,5,14,15,14,6,15,15,15,6,16,
15,16,7,17,14,17,0};
int closed_whiteruns[] = {6,13,7,15,7,15,5,15,5,15,5,14,6,14,7,13,8,13,8,13,0};
int open_black[] = { 10,3,11,3,6,4,7,4,9,4,12,4,13,4,14,4,5,5,8,5,9,5,12,5,
15,5,5,6,8,6,9,6,12,6,15,6,17,6,6,7,9,7,12,7,15,7,16,7,18,7,
6,8,9,8,12,8,15,8,18,8,4,9,5,9,7,9,15,9,18,9,3,10,6,10,7,10,
18,10,3,11,7,11,17,11,4,12,17,12,5,13,17,13,5,14,16,14,6,15,
16,15,7,16,15,16,8,17,15,17,8,18,15,18,0};
int open_white[] = {10,2,11,2,6,3,7,3,9,3,12,3,13,3,5,4,8,4,10,4,11,4,15,4,
4,5,6,5,7,5,10,5,11,5,13,5,14,5,16,5,17,5,4,6,6,6,7,6,10,6,
11,6,13,6,14,6,16,6,18,6,5,7,7,7,8,7,10,7,11,7,13,7,14,7,17,7,
19,7,4,8,5,8,7,8,8,8,10,8,11,8,13,8,14,8,16,8,17,7,19,8,3,9,6,9,
16,9,17,9,19,9,2,10,4,10,5,10,19,10,2,11,18,11,3,12,18,12,4,13,
18,13,4,14,17,14,5,15,17,15,6,16,16,16,7,17,18,17,7,18,16,18,
8,19,15,19,0};
int open_whiteruns[] = {9,14,8,17,4,16,5,16,6,16,6,15,7,15,8,14,9,14,9,14,0};
int pix[] = new int[curWidth*curHeight];
for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
// black pixels
curCol=Color.black.getRGB();
int n=0;
while(closed_black[n]!=0)
pix[closed_black[n++]+closed_black[n++]*curWidth]=curCol;
// white pixels
curCol=Color.white.getRGB();
n=0;
while(closed_white[n]!=0)
pix[closed_white[n++]+closed_white[n++]*curWidth]=curCol;
// white pixel runs
n=0;
y=7;
while(closed_whiteruns[n]!=0) {
for(x=closed_whiteruns[n++];x<closed_whiteruns[n];x++)
pix[x+y*curWidth]=curCol;
n++; y++;
img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
closedhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"closedhand");
for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
// black pixels
curCol=Color.black.getRGB();
n=0;
while(open_black[n]!=0)
pix[open_black[n++]+open_black[n++]*curWidth]=curCol;
// white pixels
curCol=Color.white.getRGB();
n=0;
while(open_white[n]!=0)
pix[open_white[n++]+open_white[n++]*curWidth]=curCol;
// white pixel runs
n=0;
y=9;
while(open_whiteruns[n]!=0) {
for(x=open_whiteruns[n++];x<open_whiteruns[n];x++)
pix[x+y*curWidth]=curCol;
n++; y++;
img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
openhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"openhand");
setCursor(openhandCursor);you need to define openhandCursor and closedhandCursor with your other cursor definitions (I made them default to start with) and then just use setcursor as normal. There must be an easier way to do this!
p.s. thanks to Martin Zvarik for the original code here: http://www.jguru.com/faq/view.jsp?EID=9958Hi,
you can use the same query...Also check the new code after the select..
SELECT BUKRS BELNR GJAHR <b>BSTAT</b>
FROM BKPF
INTO TABLE T_BKPF
WHERE BUKRS = P_BUKRS
AND BSTAT IN ( ' ' , 'A' ) " ' ' - Normal document, A - Parked doc
AND BLART = P_BLART
AND CPUDT IN SO_CPUDT " Selection screen input.
IF NOT T_BKPF[] IS INITIAL.
SELECT BUKRS BELNR GJAHR BUZEI EBELN AUGBL AUGBT
INTO TABLE T_BSEG
FOR ALL ENTRIES IN T_BKPF
WHERE BUKRS = T_BKPF-BUKRS
AND BELNR = T_BKPF-BELNR
AND GJAHR = T_BKPF-GJAHR
AND EBELN IN SO_EBELN " selection-screen input
ENDIF.
LOOP AT T_BKPF.
Parked
IF T_BKPF-BSTAT = 'A'.
WRITE: / T_BKPF-BELNR , ' - Parked'.
process the next record.
CONTINUE.
ENDIF.
Check for Open / Closed.
LOOP AT T_BSEG WHERE BELNR = T_BKPF-BELNR
AND BUKRS = T_BKPF-BUKRS
AND GJAHR = T_BKPF-GJAHR
AND AUGBL <> ' '.
EXIT.
ENDLOOP.
If the return code is 0 then the document is cleared..
IF sy-subrc = 0.
WRITE: / T_BKPF-BELNR , ' - Closed'.
Else the document is not cleared.
ELSE.
WRITE: / T_BKPF-BELNR , ' - Open'.
ENDIF.
ENDLOOP.
Thanks,
Naren -
I have some doubts/questions .
What is the difference between open and closed cursor?
Are library cache locks same as parse locks?
What is the difference between latch and mutex?
I would be grateful if experts could answer these questions.
RegardsAlmost correct. The terminology is however nor correct.
Simplistically:
The SQL engine receives a SQL. It attempts a soft parse first. This means looking for an existing cursor in the Shared Pool with the same SQL. This existing cursor can be in use by other sessions. It does not matter - if that cursor is in used (opend by other sessions), or not. It may not be in use at all and simply sitting there in the cache. If such a cursor is found, it is used for that session's SQL - and that session gets a cursor handle (reference/pointer) to that existing cursor.
If the SQL engine does not find an existing cursor to use, it needs to create a brand new cursor in the Shared Pool. This is a hard parse. Again, the session receives a cursor handle for that new cursor created.
And that is it.
You now need to decide how to use that cursor handle. The cursor itself is a program. You have a handle to execute that cursor program. Via its bind interface you can input data to this cursor program. Then execute it and receive (fetch) output of that cursor program.
So the ideal is to re-use the cursor handle again and again.
Basic example: the following is not optimal as the same cursor is opened and closed, opened and closed, for each read from the file. A lot of soft parsing results.
while not-eof( filehandle ) // read data from a file
read file data into var1, var2
open cursor for 'insert into testtab values( :1, :2)' // create a cursor
bind cursor :1 = var, :2 = var2 // bind values to cursor (for insert)
exec cursor // do SQL insert
close cursor
end whileThis is a lot better. A single cursor is used and executed again and again:
open cursor for 'insert into testtab values( :1, :2)' // create a cursor
while not-eof( filehandle ) // read data from a file
read file data into var1, var2
bind cursor :1 = var, :2 = var2 // bind values to cursor (for insert)
exec cursor // do SQL insert
end while
close cursor In this case a single soft/hard parse - and the client uses that cursor handle to execute that cursor (insert data) program again and again. -
Payables Open Interface Purge completes with error "Invalid Cursor"
Hello,
I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
MSG-00001: (Import_purge 1) Check control table for the purge process
MSG-00001: (Check_control_table 1) Lock the control table
MSG-00003: (Check_control_table 2) Fetch import_requests
MSG-00004: (Check_control_table 3) Check concurrent program status
MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: (Import_purge 1) Check control table for the purge process
MSG-00999: Delete record in control table..
MSG-00999: ORA-01001: invalid cursor
REP-1419: 'beforereport': PL/SQL program aborted.
Thank you.I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
MSG-00001: (Import_purge 1) Check control table for the purge process
MSG-00001: (Check_control_table 1) Lock the control table
MSG-00003: (Check_control_table 2) Fetch import_requests
MSG-00004: (Check_control_table 3) Check concurrent program status
MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: (Import_purge 1) Check control table for the purge process
MSG-00999: Delete record in control table..
MSG-00999: ORA-01001: invalid cursor
REP-1419: 'beforereport': PL/SQL program aborted.11i: Payables Open Interface Invoice Import Troubleshooting Guide (APXIIMPT) [ID 107628.1] -- 3. Open Interface Import Purge Fails with ORA-01001: Invalid Cursor
Thanks,
Hussein -
Generate report using CURSORS? - Simple question
Folks,
I'm a real newbie still with PL/SQL so please excuse my ignorance I have a simple report I need to generate. The following SQL statement gets me all my "header" records:
SELECT OHA.ORDER_NUMBER, HEADER_ID, ATT11, ATT12, ATT16
FROM XXXWD.WD_DUPS DUPS, OE_ORDER_HEADERS_ALL OHA
WHERE OHA.ATTRIBUTE11 = DUPS.ATT11
AND OHA.ATTRIBUTE12 = DUPS.ATT12
AND OHA.ATTRIBUTE16 = DUPS.ATT16
AND (OHA.FLOW_STATUS_CODE NOT IN ('CLOSED', 'CANCELLED'))
AND (ATT11 <> 'WESTERN SERVICE')
ORDER BY ATT11, ATT12, ATT16
What I want to do now is have a second script that will display all my detail records. Something like:
SELECT OLA.LINE_NUMBER, OLA.ORDERED_ITEM, OLA.FLOW_STATUS_CODE
FROM OE.ORDER_LINES_ALL OLA
WHERE OLA.HEADER_ID = OHA.HEADER_ID
I expect I'd do this with two cursors, passing the value of my HEADER_ID to my second cursor. But when I've used cursors before, they primarily have been to import data, and manipulate data. But what if I just want to create a report using these?
I essentially want to display my header information, and then any lines below that data (if there is any, there may be a header with no lines).
Can I create a simple report like this with cursors? Any help with this would be IMMENSELY appreciated. I'm really under the gun... :)
Thanks so much!
SteveHere's one query that will give you everything:
SELECT OHA.ORDER_NUMBER
,OHA.HEADER_ID
,DUPS.ATT11
,DUPS.ATT12
,DUPS.ATT16
,OLA.LINE_NUMBER
,OLA.ORDERED_ITEM
,OLA.FLOW_STATUS_CODE
FROM XXXWD.WD_DUPS DUPS
,OE_ORDER_HEADERS_ALL OHA
,OE.ORDER_LINES_ALL OLA
WHERE OLA.HEADER_ID = OHA.HEADER_ID
AND OHA.ATTRIBUTE11 = DUPS.ATT11
AND OHA.ATTRIBUTE12 = DUPS.ATT12
AND OHA.ATTRIBUTE16 = DUPS.ATT16
AND OHA.FLOW_STATUS_CODE NOT IN ('CLOSED', 'CANCELLED')
AND DUPS.ATT11 <> 'WESTERN SERVICE'
ORDER BY OHA.ORDER_NUMBER
,OLA.LINE_NUMBER
,DUPS.ATT11
,DUPS.ATT12
,DUPS.ATT16
;(correction in order by clause)
Message was edited by:
Eric H -
Can multiple threads share the same cursor in berkeley db java edition?
We use berkeley db to store our path computation results. We now have two threads which need to retrieve records from database. Specifically, the first thread accesses the database from the very beginning and read a certain number of records. Then, the second thread needs to access the database and read the rest records starting from the position where the cursor stops in the first thread. But, now, I cannot let these two threads share the same cursor. So, I have to open the database separately in two threads and use individual cursor for each thread. This means I have to in the second thread let the cursor skip the first certain number of records and then read the rest records. However, in this way, it is a waste of time letting the second thread skip a certain of records. It will be ideal for us that the second thread can start reading the record just from the place where the first thread stops. Actually, I have tried using transactional cursor and wanted to let the two threads share the same transactional cursor. But it seems that this didn't work.
Can anyone give any suggestion? Thank you so much!
sgaoIf your question is really about using the BDB Java Edition product please post to the JE forum:
Berkeley DB Java Edition
If your question is about using the Java API of the BDB (C-based) product, then this is the correct forum.
--mark -
My cursor is freezing in safari 5.1.2 with lion
Help!!! My cursor freezes up on some web pages in safari. They start fine then freeze. A reload gives the same problem. I can navigate backwards using the cursor on the back arrow and I can reload the page. I can also close the page clicking the red dot.
Please read this whole message before doing anything.
This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of this exercise is to determine whether the problem is localized to your user account, or is system-wide. Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select “Help” from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
While logged in as Guest, you won’t have access to any of your personal files or settings. Any application you run will behave as if you were running it for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
As Guest, launch the application(s) and test. Same problem(s)?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it. -
Can anyone tell me how to make cursor smaller after inserting picture so that l can add somethimg right next to it instead of bottom of picture. Meaning the next line is too low
AFAIK, you can't. The nature of TextEdit is that it allows the picture to be treated as a character and adjusts the cursor size for that line.
You need a app that supports transparent overlays. -
When I try to open safari the icon stats bouncing and then nothing happens other than the cursor turning to a spinning rainbow wheel when it hoovers on the top main menu bar. I have shut down and restart several times. My safari worked yesterday and then today this, but with. I indication of a problem. I can't even get the browser window to open so that I can clear caches or reset anything. When I opened my computer this time I don't even get a bouncing icon. No recognition of selecting the program at all. If I go to spotlight and try to open safari from here I still get no response. Can you help?
Hi ...
If you have moved the Safari application from the Applications folder, move it back.
As far as the cache goes, there's a work around for that when you can't empty the Safari cache from the menu bar.
Go to ~/Library/Caches/com.aple.Safari.Cache.db. Move the Cache.db file to the Trash.
Try Safari.
Mac OS X (10.7.2) < from your profile
If that is corrrect, you need to update your system software. Click your Apple menu icon top left in your screen. From the drop down menu click Software
Update ...
~ (Tilde) character represents the Home folder.
For Lion v10.7x: To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
Maybe you are looking for
-
PDF - Text on multiple lines become seperate objects - is there a way to prevent this?
I'm exporting to PDF from inDesign with the idea that the text would be editable with Acrobat Pro. However, when opening the PDF in Acrobat Pro, each line is a seperate instance / object. Is there a way around this? I imagine I can recreate the text
-
JTable problem when deleting all rows and reinserting data,
Hi, I have a JTable with an AbstractModelTable. Some cells in the JTable have a custom cell editor. I am using the cell editor that accepts only numeric values as explained in the JTable tutorial (WholeNumberField). - The JTable gets filled by choosi
-
Hello, I have learnt how to use my IPAD but something is strange I don't know how to get the photos downloaded on my ipad over the internet to my computer! There is nothing on the menu to get them?! any help welcome thanks
-
IWeb - problems using email message hyperlink inspector
The email message hyperlink was working fine when creating websites. For no obvious reason it gave up and now when I choose it it fails to show and only "external page" will show. I have tried it on a new site and a new page, but it's the same proble
-
I RECENTLY UPGRADED ITUNES, THEN WHEN I TRIED VIEWING ONE OF MY MUSIC VIDEOS THE PICTURE WAS ALL SCRAMBLED BUT THE AUDIO WAS OK. ANY NEW VIDEOS I BUY ARE OK JUST THE OLD ONES I HAD BEFORE I UPGRADED ARE MESSED UP! CAN ANYONE HELP??? [email protected]