Doubt in erorhandling package

/* Formatted by PL/Formatter v3.1.2.1 on 2000/12/02 15:32 */
DROP TABLE errlog;
CREATE TABLE errlog (
errcode INTEGER,
errmsg VARCHAR2(4000),
created_on DATE,
created_by VARCHAR2(100)
CREATE OR REPLACE PACKAGE err
IS
c_table CONSTANT PLS_INTEGER := 1; -- Default
c_file CONSTANT PLS_INTEGER := 2;
c_screen CONSTANT PLS_INTEGER := 3;
PROCEDURE handle (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL,
logerr IN BOOLEAN := TRUE,
reraise IN BOOLEAN := FALSE
PROCEDURE raise (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL
PROCEDURE log (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL
PROCEDURE logto (
target IN PLS_INTEGER,
dir IN VARCHAR2 := NULL,
file IN VARCHAR2 := NULL
FUNCTION logging_to
RETURN PLS_INTEGER;
END;
CREATE OR REPLACE PACKAGE BODY err
IS
g_target PLS_INTEGER := c_table;
g_file VARCHAR2 (2000) := 'err.log';
g_dir VARCHAR2 (2000) := NULL;
PROCEDURE handle (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL,
logerr IN BOOLEAN := TRUE,
reraise IN BOOLEAN := FALSE
IS
BEGIN
IF logerr
THEN
log (errcode, errmsg);
END IF;
IF reraise
THEN
err.raise (errcode, errmsg);
END IF;
END;
PROCEDURE raise (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL
IS
l_errcode PLS_INTEGER := NVL (errcode, SQLCODE);
l_errmsg VARCHAR2(1000) := NVL (errmsg, SQLERRM);
BEGIN
IF l_errcode BETWEEN -20999 AND -20000
THEN
raise_application_error (l_errcode, l_errmsg);
/* Use positive error numbers -- lots to choose from! */
ELSIF l_errcode > 0
AND l_errcode NOT IN (1, 100)
THEN
raise_application_error (-20000, l_errcode || '-' || l_errmsg);
/* Can't EXCEPTION_INIT -1403 */
ELSIF l_errcode IN (100, -1403)
THEN
RAISE NO_DATA_FOUND;
/* Re-raise any other exception. */
ELSIF l_errcode != 0
THEN
PLVdyn.plsql ('DECLARE myexc EXCEPTION; ' ||
' PRAGMA EXCEPTION_INIT (myexc, ' ||
TO_CHAR (l_errcode) ||
');' ||
'BEGIN RAISE myexc; END;'
END IF;
END;
PROCEDURE log (
errcode IN PLS_INTEGER := NULL,
errmsg IN VARCHAR2 := NULL
IS
PRAGMA AUTONOMOUS_TRANSACTION;
l_sqlcode pls_integer := NVL (errcode, SQLCODE);
l_sqlerrm VARCHAR2(1000) := NVL (errmsg, SQLERRM);
BEGIN
IF g_target = c_table
THEN
INSERT INTO errlog
(errcode, errmsg, created_on, created_by)
VALUES (
l_sqlcode,
l_sqlerrm,
SYSDATE,
USER
ELSIF g_target = c_file
THEN
DECLARE
fid UTL_FILE.file_type;
BEGIN
fid := UTL_FILE.fopen (g_dir, g_file, 'A');
UTL_FILE.put_line (fid,
'Error log by ' || USER || ' at ' ||
TO_CHAR (SYSDATE, 'mm/dd/yyyy')
UTL_FILE.put_line (fid, NVL (errmsg, SQLERRM));
UTL_FILE.fclose (fid);
EXCEPTION
WHEN OTHERS
THEN
UTL_FILE.fclose (fid);
END;
ELSIF g_target = c_screen
THEN
DBMS_OUTPUT.put_line ('Error log by ' || USER || ' at ' ||
TO_CHAR (SYSDATE, 'mm/dd/yyyy')
DBMS_OUTPUT.put_line (NVL (errmsg, SQLERRM));
END IF;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END;
PROCEDURE logto (
target IN PLS_INTEGER,
dir IN VARCHAR2 := NULL,
file IN VARCHAR2 := NULL
IS
BEGIN
g_target := target;
g_file := file;
g_dir := dir;
END;
FUNCTION logging_to
RETURN PLS_INTEGER
IS
BEGIN
RETURN g_target;
END;
END;
in this package
PLVdyn.plsql ('DECLARE myexc EXCEPTION; ' ||
' PRAGMA EXCEPTION_INIT (myexc, ' ||
TO_CHAR (l_errcode) ||
');' ||
'BEGIN RAISE myexc; END;'
is used.actuallyi got this code for oracle best practices.but i am not getting the code for PLVdyn code.is it built package or private package.i want the code for PLYdyn.plsql code

user10447332 wrote:
in this package
PLVdyn.plsql ('DECLARE myexc EXCEPTION; ' ||
' PRAGMA EXCEPTION_INIT (myexc, ' ||
TO_CHAR (l_errcode) ||
');' ||
'BEGIN RAISE myexc; END;'
is used.actuallyi got this code for oracle best practices.but i am not getting the code for PLVdyn code.is it built package or private package.i want the code for PLYdyn.plsql codeOk, so yesterday you took some 3rd party code for error handling but didn't know what to do with it.
Now it looks like you've taken some more code from somewhere else but you haven't got the full thing.
PLVdyn is not a built in Oracle package, so wherever you obtained the rest of the code would be a good place to start looking for the source for it.
Of course, producing dyanamic PL/SQL is not really a good thing to do and makes applications a nightmare to debug and maintain. If you don't understand the basics then you really shouldn't be trying something so complex. Is this for homework like we thought yesterday or is it (scary thought) coding for a business contract you have obtained without the necessary skills?

Similar Messages

  • Doubt regarding TEXT_IO package ???

    Hi,
    I recently came to know that TEXT_IO package can only be used in two tier architecture and cannot be provided in three tier architecture, is it true? and if yes why is it so? and is there any other alternative to get things done by three tier architecture???
    cheere...

    TEXT_IO package can only be used in two tier architecture and cannot be provided in three tier architecture, is it true?FALSE, if this means that TEXT_IO does not work in three tier architecture. TRUE, if this means that TEXT_IO can't read files from Client machine.
    See an extract from an Oracle article :
    Take the Forms TEXT_IO package. This package provides the programmer with facilities to read and write text files on the Application Server. WebUtil provides an alternative implementation CLIENT_TEXT_IO, which is identical to TEXT_IO except that calls are implemented on the client browser machine rather than on the middle tier.

  • Hi friends a doubt on Business package

    we have imported a BP (say version 1).after imported u can find some
    iViews in u r PCD. amoung this ,some iviews has been modified,
    now consider that u have again imported the same BP but this time
    the version is different (say version 2), when u have imported the
    latest version. it should not overrite the previous properties
    how u can do this?

    Hi Sunder,
       During BP installation ,as per the SAP guidelines it says that a backup of the Business Package has to kept in the local system because as we all know that evry fortnight a new version is out and replaces the older one.
    So as per my knowledge any new version will replace the whole content assuming it to be a new package altogether.Hence theres no method available in Portal to effect only some part of BP not affected...
    Generally the new version includes most of the iviews unchanged but only some extra features added ..Nytime u need the old one ,transport the old version from the dump .
    Thanks,
    Swathi
    please offer points if the message was helpful.

  • Urgent-doubt in servlets

    hi to all,
    i am using tomcat server.i have a doubt in executing packaged servlet and it shows error 404 cannot resolve symbol when i tried to access thru browser
    i have attached below the mapping content of web.xml.Actually the servlet file got executed for packageless servlet and there is a
    problem in executing the packaged servlet.
    Any help would be highly appreciable because i have tried few methods
    and it didn't work out.help me
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <* mapping content for packageless servlet */
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/servlet/HelloServlet</url-pattern>
    </servlet-mapping>
    <* mapping content for packaged servlet */
    <servlet>
    <servlet-name>HelloServlet2</servlet-name>
    <servlet-class>moreservlets.HelloServlet2</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet2</servlet-name>
    <url-pattern>/HelloServlet2</url-pattern>
    </servlet-mapping>
    </web-app>
    reg,
    arv

    Hi aarvindk,
    I remember <servlet-mapping> tags must appear after any <servlet> tags in web-app document.

  • Declaring private cursors in package header

    Hi.
    Im tunning a PLSQL package , and im having the following doubt.
    This package has alot of cursors declared in the package header, but the cursors are private. (called within the package only)
    Could the public functions from the package have a loss of performance by using those cursors? (should the private cursors be declared within the functions or at least inside package body?)
    Im kind of new with plsql, so please bare with me :) .
    Cheers.

    there's no performance loss.
    however, unless the cursors are to be accessible outside the package (which is what happens when they are declared in the spec (not header)), then there's no benefit either. if they are truely meant to be private, then you can remove them from the spec. and if you're wrong, and they are called from elsewhere, you'll find out soon enough.

  • Oracle Package is a pl/sql block

    Hello ,
    I am having a simple doubt on oracle package .
    A pl/sql block (executable section) must have a begin and end .
    But oracle package is having only the end part ,
    so is it a pl/sql block or what ........................
    Thanks

    >
    A pl/sql block (executable section) must have a begin and end .
    But oracle package is having only the end part ,
    so is it a pl/sql block or what ........................
    >
    No - a package is not a block.
    When you have basic questions like this ALWAYS start with the Oracle documentation.
    In this case that would be the PL/SQL language reference
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/overview.htm#sthref18
    From Chapter 1 Overview of PL/SQL is the definition of a block
    >
    PL/SQL Blocks
    The basic unit of a PL/SQL source program is the block, which groups related declarations and statements.
    A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords partition the block into a declarative part, an executable part, and an exception-handling part. Only the executable part is required.
    Declarations are local to the block and cease to exist when the block completes execution, helping to avoid cluttered namespaces for variables and subprograms.
    Blocks can be nested: Because a block is an executable statement, it can appear in another block wherever an
    >
    And from Chapter 10 Using PL/SQL Packages
    >
    What is a PL/SQL Package?
    A package is a schema object that groups logically related PL/SQL types, variables, and subprograms. Packages usually have two parts, a specification ("spec") and a body; sometimes the body is unnecessary.
    The specification is the interface to the package. It declares the types, variables, constants, exceptions, cursors, and subprograms that can be referenced from outside the package. The body defines the queries for the cursors and the code for the subprograms.
    You can think of the spec as an interface and of the body as a black box. You can debug, enhance, or replace a package body without changing the package spec.
    >
    This clearly shows that a package is not a block.

  • How to deploy and execute SSIS 2012 packages when only SSDT is installed

    Hi, I am facing a weird situation where we did an upgrade for visual studio to vs 2102 on all the dev machines and as part of that moved to SSDT from BIDS but all the database is still SQL Server 2008 R2. Now I have a few SSIS 2012 packages which I cannot
    schedule & run because DTEXEC.exe is not compatible and I get all sorts of version & “Package Load error 0xC0010014 in CPackage::LoadFromXML” error even though I set it up in 32-bit mode and was trying to save it to msdb. I knew I will not be
    able to schedule this as a job in SQL Server Agent but even saving the package does not work.
    Thanks in advance............
    Ione

    I doubt 2012 ssis packages are backwards compatible with 2008r2. 2008r2 doesn't know anything about the project deployment model and i'm sure there's new tasks and connectors in 2012 so the package deployment model ssis packages won't work either.
    You will need a sql 2012 integration services service installed and running somewhere. You need this to execute your 2012 packages
    Jakub @ Adelaide, Australia Blog

  • Apparent SDL package problem

    I installed kdenlive and mlt from community and have a problem with the configuration. A dev on the kdenlive IRC channel said I should ask the mlt devs who in turn said it must be a SDL packaging problem. So I'm here now with this bit:
    #kdenlive
    [19:38] <dust__> need some help getting this program started
    [19:43] <dust__> says it can't find melt or SDL profiles and module
    [19:43] <dust__> but when I run it as root everythings OK
    [19:46] <xzhayon> distro?
    [19:47] <dust__> Arch. I installed both mlt and kdenlive from community repos
    [19:49] <xzhayon> run melt -query consumers 2>&1 | grep sdl
    [19:49] <xzhayon> and show me the results
    [19:49] <dust__> - sdl_image
    [19:51] <dust__> when I run that as su I get this
    [19:51] <dust__> - sdl - sdl_audio - sdl_preview - sdl_still
    [19:53] <xzhayon> as su?
    [19:53] <xzhayon> but that's the output of query consumers
    [19:56] <dust__> just that Im getting different output as su than user
    [19:57] <xzhayon> what's the output of melt -query consumers 2>&1 | grep sdl not run as su?
    [19:57] <dust__> - sdl_image
    [19:58] <xzhayon> that's definitely wrong
    [19:58] <xzhayon> try reinstalling mlt
    [19:58] <dust__> did that at least twice
    [19:59] <dust__> 0.5.10
    [19:59] <dust__> kdenlive 0.7.8
    [20:01] <xzhayon> may i see the pkgbuild for this package?
    [20:03] <dust__> http://repos.archlinux.org/wsvn/community/mlt/repos/community-x86_64/PKGBUILD
    [20:12] <xzhayon> im' sorry but i have no clue on what's happening
    [20:15] <dust__> please tell me what the output above means briefly
    [20:17] <xzhayon> well, that shows the producers and consumers available to melt
    [20:17] <xzhayon> but that's not the expected output
    [20:17] <xzhayon> what you see with "su"
    [20:18] <xzhayon> i what should appear when run as normal user
    [20:18] <xzhayon> while what you see when run as normal user
    [20:18] <xzhayon> is what you should see when querying producers, not consumers
    [20:18] <xzhayon> try asking on [email protected]
    mlt-devel replied as follows:
    Perhaps ask the SDL packager; I doubt the MLT packager will be of much
    help. This appears to be some permission issue with SDL and its access
    to things. Maybe you need to add your account to some groups. Does
    ffplay at the command line work? It too uses SDL. If that does not
    work either, then perhaps 'strace melt -query consumers'. strace is a
    very verbose output, but it might show what it is failing to access.
    any thoughts?

    allan@mugen ~
    > melt -query consumers 2>&1 | grep sdl
    - sdl
    - sdl_audio
    - sdl_preview
    - sdl_still
    Maybe try creating a new user and see if it works for them.

  • Why we use  package seperate folder for creating packages ?

    hi
    i have two doubts
    1) in packages why we put seperate folder for pacage.. for creating the packages...?
    2)with out creating the package folder ..is possible to any other way is there ?
    thanks !!!

    balakrishna.m wrote:
    if is it there any option to create one folder..
    all packge programs are saved into that folder.. "no need to creating a seperate folders".. ?Here's a suggestion.
    Instead of continuing to waste everyone's time (including your own I might add) by repeating the same question in different forms why don't you ask us/tell us about the real problem that prompted this question in the first place.
    I would guess that your real issue here is one of the following.
    1)
    Question: You don't want to have to create 100 folders.
    Answer: Get an IDE.
    2)
    Question: You have actually hit some limit on some filesystem with regards to the number of directories in a directory.
    Answer: Rethink your design for starters. It sounds like you have too many packages. You can also look to solve this in alternative ways (like putting the source/classes in different locations and using the classpath appropriately)
    3)
    Question: You just don't understand what packages are for.
    Answer: Read the tutorial
    4)
    Question: You just don't like packages.
    Answer: Tough. Accept it or choose another language.
    If your real question doesn't appear above please ask it. But don't ask again if you must create different folders for different packages, that question has been answered repeatedly already.

  • Public methods with package-only access?!

    Hello,
    I've just encountered the following problem:
    I was trying to invoke a method from the interface java.util.List via reflection on an instanceo obtained via java.util.Arrays.asList(Object[] array).
    Although this method is public (since is is declared in a public interface), the invocation failed with an IllegalAccessException.
    I guess the reckoning behind this is that the entire class has package protected access, thus you may not access any member reflectively outside its package.
    Does this really make sense? Is there a way to circumvent this behaviour?
    Any thoughts appreciated!

    I doubt your assumption (package protected) because
    asList simple returns an ArrayList. And if in an
    interface a method is declared you cannot reduce it's
    visibilty in an implementing class.Yes, the methods are all declared public, but the entire class (java.util.Arrays.ArrayList) is package-protected.
    But still, it's strange: you can obtein the method using, for instance, Arrays.asList(new Object[]{"hallo"})getClass().getMethod("size", null), but you cannot invoke it! Ironically, the error message of the IllegalAccessException says "cannot access member with modifiers public"...
    >
    But you can set the method accesible for reflection
    calls through:
    Method.setAccessible(true)
    Ah, thanks, now it works!
    But isn't that kinda dirty? If there was a Security Manager present, it would immediately fail, wouldn't it?
    I'd still like to understand why you cannot simply invoke a public method of a package-protected class!

  • SMC package installation

    Hi Friends,,
    I got a doubt about installing packages after the installation of Solaris 10.
    Suppose if we want to get smc tool by installing some packages from cd-3,,
    then how can we know the packages that has to be installed to get the smc tool.
    Can anyone help to solve this small issue..(Currently i am facing this prob)

    Hi Pawan,
    PawanSrinivas wrote:
    "how can we know the packages that has to be installed to get a particular tool"Are you looking for a list of packages that are part of SunMC? If so, it's part of the Installation and Configuration doc:
    http://docs.sun.com/app/docs/doc/820-2215/packages-1?a=view
    But, just adding the raw packages by hand won't get you a working install: there are postinstall steps that must be performed. You can either use the standard SunMC install scripts (recommended) or look at the sample finish scripts Sun gives for jumpstart installs to get an idea of what you need to do:
    http://docs.sun.com/app/docs/doc/820-2215/install-2?l=en&q=jumpstart&a=view
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

  • Problem in SAINT with updating PI_BASIS 2006_700

    Dear All,
    I have a system ECC 6.0 with OS Windows 2003, oracle 10.2g as Database.
    I wanted to installed Croatian language in my system when uploading from SMLT it showed me that the system need PI_BASIS 2006_700 whereas my system is having PI_BASIS_2005_700 with patch
    SAPKIPYJ7G PI_BASIS 2005_1_700: patch 0016
    But from T-Code SPAM, PI_BASIS 2006 u2018s patch
    SAPKIPYM01 PI_BASIS 2006_1_700: patch 0001 is in yellow state.
    I have downloaded the SAPKIPYM01 patch from service market place and from t-code saint tried to update but it is running from last 6 hrs.
    Last log file (E:\usr\sap\trans\log), generated 4 hrs ago.
    Something might have gone wrong, that is why I have stopped it in IMPORT_PROPER step.
    From SPAM it shows updated component PI_BASIS 2006_700 from PI_BASIS 2005_700 and its patch SAPKIPYM01 (2006)is in red color (cancel)
    How to recover from it?
    From saint the component showing
    SAPKINBC9A  -- installation  -
    PI_BASIS
    SAPKIPYM01 - support package--PI_BASIS
    Add-on installation terminated in IMPORT_PROPER step
    Now my doubt whether base package of PI_BASIS 2006_700 needs to be updated first from saint then start updating patch??
    Please suggestu2026.
    Regards,
    Souren

    SAPKINBC9A              PI_BASIS 2006_1_700: Add-On Installation
        EC6        System EC6
                   Generate Transport Information File      12.08.2008 13:22:46    (0) Successfully Completed
                   Import Request Piece List                12.08.2008 13:23:05    (4) Ended with Warning
                   Test Import                              12.08.2008 13:23:39    (4) Ended with Warning
                   Import ABAP Dictionary Objects           12.08.2008 13:28:43    (4) Ended with Warning
                   ABAP Dictionary Activation               12.08.2008 13:32:33    (4) Ended with Warning
                   Import                                   12.08.2008 17:53:43    (0) Successfully Completed
       Import steps not specific to transport request
              ABAP Dictionary Distribution             12.08.2008 13:32:56    (0) Successfully Completed
              Activate inactive runtime objects        12.08.2008 13:34:07    (4) Ended with Warning
              Activate inactive runtime objects        12.08.2008 15:43:14    (0) Successfully Completed
      SAPKIPYM01              PI_BASIS 2006_1_700: patch 0001
        EC6        System EC6
                   Generate Transport Information File      12.08.2008 13:22:48    (0) Successfully Completed
                   Import Request Piece List                12.08.2008 13:23:06    (0) Successfully Completed
                   Test Import                              12.08.2008 13:23:40    (0) Successfully Completed
                   Import ABAP Dictionary Objects           12.08.2008 13:28:50    (0) Successfully Completed
                   ABAP Dictionary Activation               12.08.2008 13:32:33    (4) Ended with Warning
                   Import                                   12.08.2008 17:53:44    (0) Successfully Completed
            Import steps not specific to transport request
                   ABAP Dictionary Distribution             12.08.2008 13:32:56    (0) Successfully Completed
                   Activate inactive runtime objects        12.08.2008 13:34:07    (4) Ended with Warning
                   Activate inactive runtime objects        12.08.2008 15:43:14    (0) Successfully Completed
    No Error has been foud out some of the table the import activity is not getting because of that the warning has come....
    Now my querry is my above mentioned steps are correct??
    6hrs time is normal??
    If it is yes can I restart it from SAINT??

  • A GNOME with NO text

    I did a pacman sync for each of the gnome packages, but for some reason it doesn't have text...anywhere.  Any programs that are also based on GTK fail to display text also, what should I do?
    I also have all the libs from the cd installed...
    Obviously I missed something

    This morning I tried a fresh install again just to test it, with just the base packages and dhcpcd, nano, and xfree86 4.2 and KDE, just to see what 'could' be cuasing my problems.  I set up X and logged into KDE, everything here was fine, antialiasing and all.  After that i upgraded pacman, then upgraded the base packages, everything still ok.  Then I got xfree86 4.3,but continued using the config file from 4.2. I logged on to KDE and anialising wasn't working, so I backed up my x config and configured for 4.3, but antialiasing was still no-go.
    This was just a test, so something must be either wrong in my xf86config file, or the 4.3 package.  I doubt its the package, but then where would my config be wrong?
    Here, I'll post the relevant parts:
    Section "Module"
         Load        "dbe"      # Double buffer extension
       SubSection  "extmod"
         Option    "omit xfree86-dga"   # don't initialise the DGA extension
       EndSubSection
        Load        "type1"
        Load        "speedo"
        Load        "freetype"
        Load       "glx"
    EndSection
    Section "Files"
       RgbPath    "/usr/X11R6/lib/X11/rgb"
        FontPath   "/usr/X11R6/lib/X11/fonts/local/"
        FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
        FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
        FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
        ModulePath "/usr/X11R6/lib/modules"
    EndSection
    Section "ServerFlags"
    EndSection
    Section "InputDevice"
        Identifier    "Keyboard1"
        Driver    "Keyboard"
        Option "AutoRepeat" "500 30"
        Option "XkbRules"    "xfree86"
        Option "XkbModel"    "dell101"
        Option "XkbLayout"    "us"
    EndSection
    Section "InputDevice"
        Identifier    "Mouse1"
        Driver    "mouse"
        Option "Protocol"    "IMPS/2"
        Option "Device"      "/dev/psaux"
        Option "ZAxisMapping"  "4 5"
    EndSection
    Section "Monitor"
        Identifier  "monitor1"
        HorizSync   31.5-90.0
        VertRefresh 59.0-85.0
    EndSection
    Section "Device"
        Identifier    "Standard VGA"
        Driver     "vga"
    EndSection
    Section "Device"
        Identifier  "NVIDIA"
        Driver      "nvidia"
    EndSection
    Section "Screen"
        Identifier  "Screen 1"
        Device      "NVIDIA"
        Monitor     "monitor1"
        DefaultDepth 16
    Subsection "Display"
            Depth       16
            Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
            ViewPort    0 0
      EndSubsection
    EndSection
    Section "ServerLayout"
        Identifier  "Simple Layout"
        Screen "Screen 1"
        InputDevice "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"
    EndSection

  • Alsamixer GUI exits on using controls like F2 , F4 or F5

    Hi,
    I am relatively new with linux. I have installed alsa-utils into an arm based platform. After running alsamixer in the target platform I am able to see the GUI on console. However on pressing control keys like F2 ,F4 or F5 it exits. F6, Esc etc. work as expected.
    I doubt some dependency packages are not installed properly. Any inputs in this regard will be great.
    version being used: AlsaMixer v1.0.24.2

    Is this in arch linux?
    If so are the arm repos behind the 'normal' ones?  Have you done a full update with `pacman -Syu`?
    If not arch linux, you're on the wrong forums.

  • KDE or KDE-META?

    Hi!
    I'm at the point of installing the GUI, KDE4 for instance, and I'm curious about what veteran Arch-KDE4 users can tell me about this. I read about the two KDE and KDE-META and I wonder which will be the best to have an up-to-date and/or stable KDE4.
    Also, in my last attempt to install Arch (this is my second time doing a Arch install, I haven't any system up and working yet but I'm starting feeling a seasoned Arch user, lol) I remember installing plain KDE installed a LOT of applications and games I would not want because KDE package installs whole KDE suite.
    Alongside kdebase and kdeutils (or kde-meta-kdebase and kde-meta-kdeutils) which other packages should I install to have a full working base but complete KDE4 system, like say Kubuntu? (sorry but's the only KDE I liked after trying Fedora's and openSUSE's KDE implementation)
    I'm talking about a complete KDE system with printer support and so on, I'm not talking about applications which I can add individually.

    hi Pierre!
    I did read the wiki and that's why I was in doubt on which package should I install.
    I see you are a KDeveloper? I'm very grateful of the KDE Team work. I like other DE too and all have their pros and cons, but KDE is the only environment that put it all together in a way I find useful and beautiful and that free me to just work and enjoy my PC experience instead spending lot of time customizing and tweaking my system.
    Thanks both for your advice here and your KDE work, best.
    Last edited by martin77 (2010-03-25 03:44:26)

Maybe you are looking for

  • How do I find the WPA key on my Bravia TV?

    Hello ekrahmer, thank you for replying. In regards to your question I assume that you would like to know how to get the WPA key for connectivity. This type of concerns seems to be something that you may ask to your Internet Service Provider. However

  • Unable to unmount volume

    We have a couple of users who have this problem occur at random times. They will have a bunch of shares mounted but there is one particular share that just refuses to disappear when the user "disconnects" from it. They can still browse the share afte

  • Query takes too much time in fetching last records.

    Hi, I am using oracle 8.1 and trying to execute a SQL statement, it takes few minutes and display records. When trying to fetch all the records, it is fast up to some level and takes much time to fetch last record. Ex: If total records = 16336 , then

  • Hi, I have adobe acrobat pro 9 (yes older version) with error to convert from word

    on win7 64bit. but when I try to convert a word file to pdf. I get error PDF MAKER. When I print a test page from word to pdf printer it does correct. Word is 2007 When I go to my acrobat. And I press combine from word I get the error. When I combine

  • Removing Flex Stack Configuration from a removed member

    Hi all I'm pretty new to Felx Stack.I tried to stack 4 C2960-48TDL switches.All four switches were configured seperatley with different Managment IPs(192.168.172.11/12/13/14) before stacking.And The highest Up time switch became the master as expecte