Further restricting a Restricted KF in Cells

Hi All,
I have got a requirement to display some plan data 'From Current Day TO End of the Week'.
So, i have created a RKF and restricted using a Variable.
RKF is in Rows and in Columns i have Structure based on Calday. i.e. 1st Day of Curr Week, +1, +2 etc till end of the Week.
I am using the RKF in a workbook, which is based on Cell def. Therefore, i have to further restrict the RKF using Calday and the Variable. For ex. Calday1, Calday2 etc till end of the week.
When i try to use like the above, it is giving an error, by saying i can't use Calday in both Structures.
Is there any limitation in Bex QD?
Please help me with your inputs.
Thanks,
Nisha

Hi,
You cannot use Calday both in Rows(RKF) and Columns(structure) though cell definition is used as there will not be a drilldown in data output for both columns and rows, there should be different chars....
Rgs,
Ravikanth.

Similar Messages

  • How to further restrict the task profile 'dimension' to selected dimensions

    Hi All,
    We have a dimension which we require users to maintain their own master data. We have used the secondary admin task profile which provides default access to the task 'dimension'. THis allows that user access to the BPC Admin console and also to the dimension to maintain dimension members. However, we wish to limit their access to only certain defined dimensions & not give them access to all dimensions. I have tested using this task profile together with a member access profile to limit the secure dimensions for an application, however my understanding is that member access profiles will not restrict access once a user has logged into the BPC Admin Client...i.e the member access profile restricts the ability to read/write to 'facts'/sign data from a BPC front end tool, EG excel.
    Any ideas much appreciated as to how to acheive this,
    Glen

    Hi,
    As you said for maintaining dimension members, you had to assign a task to the task profile. However, assigning this task will allow the user to modify any of the dimensions.
    You cannot give authorization to allow only selected dimensions. BPC doesnt have this feature. Either the user can modify all the dimensions or none of them.
    Hope this helps.

  • Search help - how to further restrict its values

    Hi,
    I have a question here regarding search helps and I hope you all could provide me with some useful pointers.
    There is a select-option of the type bkpf-blart (document type) in the selection screen. I have a problem with retrieving the data properly from the table bkpf for the search help values bkpf-blart so that it will only return 3 values, kr, re and zb values. How may I achieve this properly using a select statement and then using the function module f4if_int_table_value_request?
    (I am referring to a tutorial from the SAP technical website as a guide to use the function module f4if_int_table_value_request.)
    Appreciate any inputs here, as I am still learning the ropes in abap.
    Many thanks in advance.

    Hi,
    try using this demo program
    MODULE GET_F4_HELP INPUT.
      TYPES : BEGIN OF EMPLOYEE,
              EMPNO TYPE ZTG_EMP-EMPNO,
              END OF EMPLOYEE.
      DATA : EMPTAB TYPE STANDARD TABLE OF EMPLOYEE WITH HEADER LINE,
             TB_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
             PLAN_ID TYPE ZTG_HEALTH-PLAN_ID.
      CLEAR:   TB_DYNPFIELDS.
      REFRESH: TB_DYNPFIELDS.
      MOVE 'ZTG_EMP-HLTH_PLAN' TO TB_DYNPFIELDS-FIELDNAME.
      APPEND TB_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME                               = 'SAPMZTG01'
          DYNUMB                               = '1010'
    *   TRANSLATE_TO_UPPER                   = ' '
    *   REQUEST                              = ' '
    *   PERFORM_CONVERSION_EXITS             = ' '
    *   PERFORM_INPUT_CONVERSION             = ' '
    *   DETERMINE_LOOP_INDEX                 = ' '
    *   START_SEARCH_IN_CURRENT_SCREEN       = ' '
    *   START_SEARCH_IN_MAIN_SCREEN          = ' '
    *   START_SEARCH_IN_STACKED_SCREEN       = ' '
    *   START_SEARCH_ON_SCR_STACKPOS         = ' '
    *   SEARCH_OWN_SUBSCREENS_FIRST          = ' '
    *   SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
        TABLES
          DYNPFIELDS                           = TB_DYNPFIELDS
    * EXCEPTIONS
    *   INVALID_ABAPWORKAREA                 = 1
    *   INVALID_DYNPROFIELD                  = 2
    *   INVALID_DYNPRONAME                   = 3
    *   INVALID_DYNPRONUMMER                 = 4
    *   INVALID_REQUEST                      = 5
    *   NO_FIELDDESCRIPTION                  = 6
    *   INVALID_PARAMETER                    = 7
    *   UNDEFIND_ERROR                       = 8
    *   DOUBLE_CONVERSION                    = 9
    *   STEPL_NOT_FOUND                      = 10
    *   OTHERS                               = 11
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE TB_DYNPFIELDS INDEX 1.
      IF SY-SUBRC EQ 0.
        PLAN_ID = TB_DYNPFIELDS-FIELDVALUE.
      ENDIF.
      SELECT EMPNO FROM ZTG_EMP
      INTO TABLE EMPTAB
      WHERE HLTH_PLAN = PLAN_ID.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
    *     DDIC_STRUCTURE         = ' '
        RETFIELD               = 'EMPNO'
    *     PVALKEY                = ' '
       DYNPPROG               = 'SAPMZTG01'
       DYNPNR                 = '1010'
       DYNPROFIELD            = 'TB1'
    *     STEPL                  = 0
    *     WINDOW_TITLE           =
    *     VALUE                  = ' '
         VALUE_ORG              = 'S'
    *     MULTIPLE_CHOICE        = ' '
    *     DISPLAY                = ' '
    *     CALLBACK_PROGRAM       = ' '
    *     CALLBACK_FORM          = ' '
    *     MARK_TAB               =
    *   IMPORTING
    *     USER_RESET             =
      TABLES
        VALUE_TAB              = EMPTAB
    *     FIELD_TAB              =
    *     RETURN_TAB             =
    *     DYNPFLD_MAPPING        =
    *   EXCEPTIONS
    *     PARAMETER_ERROR        = 1
    *     NO_VALUES_FOUND        = 2
    *     OTHERS                 = 3
      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.                 " GET_F4_HELP  INPUT
    Thanks
    Arun Kayal

  • Is it possible to restrict SNMP access through firewall

    My appoligies if there is already an answered discussion about this, that I didn't find.
    In addition to just limiting the IP addresses allowed to have access and TCP/UDP port and direction of access, is it possible to further restrict SNMP traffic through an ASA firewall.  Example 1:  Can IP address IP_A on network A be forcibly limited to have only readonly SNMP polling access to IP_B on network B on the other side of an ASA firewall regardless of the community string it issues(or the configuration of device IB_B )?
         IP_A   ------- FW -------- IP_B
    Example 2:  Can IP address IP_A on network A be forcibly limited to have only readonly access to specific OID via SNMP polling access to IP_B on network B on the other side of an ASA firewall regardless of the community string it issues (or the configuration of device IP_B)?
         IP_A ------>  FW ------> IP_B
    It looks like IOS 10.3 and above allow devices to have such access limiting.  I was wondering if this could also be done via ASA for any end device.
    Thanks
    Jim

    No.
    An ASA can, as you noted, restrict source and destination IP and port. To do what you are asking, one would need to prevent a string within the payload from being transmitted (or only accept certain strings).
    You should just put the access-list on the destination device(s) restricting what host(s) are allowed snmp rw (as you alluded to). That's a very common implementation straight out of the textbook.

  • Mounting a shared zfs onto a remote system : how to restrict permissions

    I'm trying to setup some basic nfs shares out of a zpool and failing miserably as it is.
    Here's what I have; all my machines are in 10.154.22.0/24 .. it's basically a test (pre-prod) network
    - oslo, the nfs server, 10.154.22.1, SunOS 5.10-x86
    - helsinki, the remote machine, 10.154.22.4, linux 2.6.22
    On oslo I've created a zpool named pool2 with a zfs filesytem called tools. pool2/tools is mounted in /tools. I've further restricted access to /tools with : chown 0:nfsusers /tools && chmod 770 /tools . I want to ensure that only users from the group nfsusers will be able to read/write/execute into /tools.
    I have a user, dbusr who is part of the nfsusers group. He can access the FS as he wants. All usernames / uids / gids are identical across the whole network .
    Ok now, on helsinki, I have a directory /export/helsinki/tools . This directory is also chowned 0:nfsusers and chmoded 770.
    Now, on helsinki everytime I try : mount -t nfs oslo:/tools /export/helsinki/tools I get :
    mount.nfs: oslo:/tools failed, reason given by server: Permission denied
    Server-side I've modified /etc/default/nfs so that both client and server run at NFSv3 (I've read somewhere that NFSv4 is not that well supported on Linux). The zfs share is set up like this:
    zfs set sharenfs=rw=10.154.22.0/255.255.255.0 pool2/tools .
    I'd like all my users in the group nfsusers to be able to write on the remote nfs FS, and optionally, root to be able, too.
    What am I missing, here ?
    Regards,
    Jeff

    It was not a problem. The raw partition with the soft partition or ZFS filesystem works fine in the local zone.
    Thank you for your help.
    -Yong

  • Need help with tree edit distance and restricted top-down mapping algorithm

    *This topic was posted a while ago in "java programming" section but was suggested to try here
    Hi everyone,
    A couple of days ago I posted a topic on analyzing structure similarity between two web pages. After some researching, I know I need to work out some tree matching algorithms: tree edit distance algorithm(TED) and a improved version: restricted top-down mapping algorithm(RTDM). TED is about calculating the minimum operation cost(insert, delete, replace) to map one tree into another. RTDM further restricts the 3 operations to only the leaf nodes so as to improve time complexity.
    This is the general idea but I'm having difficulties to find resources to let me understand and implement the algorithms. I'm using ACM portal (Association for Computing Machinery) to access the technical papers but I find that they do not provide enough info, google gives mostly the same technical papers and some websites which illustrate the general idea of these algorithms.
    Hoping that you can give me some guidance on these 2 algorithms. Not looking for codes but I need more details on them. Thanks in advance.

    For scientific research I prefer Scirus: http://www.scirus.com/
    Just two pages I found on a quick search:
    http://arxiv.org/abs/cs/0604037
    http://www.cs.uic.edu/~yzhai/
    The latter might not be exactly what you asked for, but you might be interested in the listed publications. I have not taken a closer look.

  • RemoteApp 2012 R2 Restrict Access to Session Host Desktop

    Here is our current situation: I have set up Remote Desktop Services on Server 2012 R2 and published RemoteApp programs. Everything works great with load balancing, collections, etc... and I have been very impressed. However, as it always has been an issue,
    I have always had the question of how to allow users to access RemoteApp applications on the session host without allowing them to RDP directly onto the server to access the server desktop. Obviously, you have to add them to remote desktop users group and
    they need to be allowed to access over RDP so I figure that the next best thing is to restrict access to the desktop should they manually type the name into an RDP client connection. I know you couldn't restrict them from using mstsc.exe because they need
    that to open the RemoteApp since it just uses RDP and I am aware of using GPO's to restrict access to drives and many other things but I would like to remove the desktop altogether. Would it be plausible to remove the GUI feature and restrict access to CMD
    and SCONFIG through Server Manager and still allow the session host to present RemoteApp applications or is there a better way to approach this? I figured if I just remove the GUI and access to cmd and sconfig then if they logged on, they would get a blank
    screen. Thank you in advance for your time!

    Hi,
    One technique for this is to set the Custom User Interface group policy setting to logoff.exe.  You would have the GPO apply to normal users, but not applied to Domain Admins (or other users that you need to have full desktop).
    User Configuration\Administrative Templates\System
    Custom User Interface     Enabled
    Interface file name: %systemroot%\system32\logoff.exe
    You should also use NTFS permissions, group policy settings, AppLocker, etc., to further restrict what users are able to do.
    -TP

  • How to restrict the transaction OB52 ?

    Hi guys.
    I need to restrict the transaction OB52 for Company Code. By default the transaction OB52 has no authority object to restrict it to the company code. Try it by adding the SU24 transaction object F_BKPF_BUK (check / maintain). When I create the security role by adding the transaction OB52, lifts my perfectly F_BKPF_BUK authorization object, added the company you will have the authorization, but does not work when I assign the Role to the user. The user will still leave change all companies and not the company you want to restrict.
    Thanks guys for the help.
    Desirée.

    Hi,
    Take the below into consideration for restricting table views for transaction like OB51, OB52 etc.... For your particular case I guess when user is running OB52 then it is providing data from table V_T001B
    First level authorization check will be S_TABU_DIS for access to table. Auth group will be FC31
    Now to drill down further restriction on line level for above table you need to use objects S_TABU_LIN. To use this object consider have look into the documentation for this object and 2nd step to read documentation in following path.
    SPRO --> Display IMG --> SAP Web Application Server --> System Administration --> Line-oriented Authorizations --> Define organizational criteria/Active organizational criteria
    Now in SPRO when you will create organization criteria then create it for field Posting Period Variant (BUKRS). This is one of the field for table V_T001B.
    Now activate it for table views V_T001B
    Now run OB52 again and it will ask for additional authorization for object S_TABU_LIN. In ORG_CRIT put the name of organization criteria you have created and in ORG_FIELD1 maintain value for relevent company code.
    This way will see only those lines where value for BUKRS will match with his/her user master for S_TABU_LIN
    This is quite big post. Will suggest you to go through documentation thoroughly rest are self explanatory.
    Arpan
    Edited by: Julius Bussche on Mar 28, 2010 10:22 AM
    Formatting fixed - please use "quote" tags and not "code" tags.

  • Restricting or limiting end users in APEX

    hey good day,
    i will like to restrict users who can access the interface, they should only see their information or records on the report page. i have used ACL to restrict users from tabs, buttons, columns and lists but i will like to further restrict users to the content in the report page. the user should only see his/her information alone.
    i'm using Oracle Application Express Release 3.2.1.
    could APEX further restrict or limit users in this way?
    i will be grateful with any help at all.
    thanks in advance,
    Edited by: user12109840 on Jun 15, 2010 11:40 AM

    Good day to you, user12109840 (please tell us your name)!
    There are a couple ways I've seen to implement the type of restriction you're looking to build:
    1) Add a column to the table that ties the rows to a particular user, then change your queries to something like:
    select * from my_table where user_col = :APP_USERThis has one very glaring security issue - what happens when someone accesses the data outside your application? They'll see everything! But depending on your situation this may not be a concern.
    2) Look into Oracle's support for fine-grained access control or row-level security. It isn't an ApEx feature, it's a feature of the database itself. It's more complicated to implement, but much more robust. I won't go into the details here - there is plenty out there on Google - but essentially you still define some column in your tables to tie rows back to a user or set of users, however the set of rows a user is allowed to see is dictated by a context at the database level. So it doesn't matter whether they access the database via your application or outside your application - they will see the rows they're permitted to see or nothing.
    Hope this helps,
    John

  • Restrict Airport Express to n only machines/ restrict networked hard drive

    Here is what I want to do:
    Connect an Airport Express with "N" capabilities to my existing wireless cable gateway but restrict it so that only N capable network cards may access it. I have four other roommates and only one of them aside from me has a network card that has "n". I want to do this because I understand a wireless network only runs as fast as the slowest card attached.
    I would still like to maintain the old wireless gateway for those who have b/g. The only way I can think of is create a totally new network (new ssid, new wep key, et cetera) with the airport express.
    Is this possible?
    To complicate the matters I would like to attach an external hard drive to the new airport and further restrict it for my personal use. Am I going to have to pony up for an Airport Extreme/time capsule or is there any other routers I can use?

    First of all, you cannot attach an external hard drive to an Airport Express. That USB port is only for sharing a printer wirelessly. You need the full Airport Extreme to attach a USB drive. I don't know about non-Apple products.
    Looking at my Airport Extreme using Airport Utility, there is a setting to only allow 802.11.n
    Radio Mode: +802.11n only+ (the Extreme has settings for both +2.4 GHz+ and +5 GHz+)
    I'm sure the Airport Express probably has a similar setting.

  • Customer Exit for MTD

    Hi,
    My requirement is to create Customer exit variable to calculate the Month to date (MTD) value (Quantity) in a query. I created a Customer exit variable for MTD (0CALDAY) in Query & wrote code in CMOD for the same as follows.
    DATA: ZYEAR(4) TYPE N,
    ZMON(2) TYPE N,
    ZDAY(2) TYPE N.
    CASE I_VNAM.
    WHEN 'ZVCE_MTD'.
    IF I_STEP = 2.
    REFRESH E_T_RANGE.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE.
    ZYEAR = LOC_VAR_RANGE-LOW+0(4).
    ZMON = LOC_VAR_RANGE-LOW+4(2).
    ZDAY = LOC_VAR_RANGE-LOW+6(2).
    CLEAR L_S_RANGE.
    CONCATENATE ZYEAR ZMON '01' INTO L_S_RANGE-LOW.
    CONCATENATE ZYEAR ZMON ZDAY INTO L_S_RANGE-HIGH.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    I debugged this code by putting a break point & running the query in RSRT, the code is getting executed & i am getting the From & To dates in E_T_RANGE output.
    But when I execute the Query, I am getting the output Quantity for FTD only, not MTD.
    For example, if i give 05-12-2009 as variable input for 0CALDAY when i execute the query, i should get the summed up quantity for 01 Dec to 05 Dec in a single cell. But now, i am getting the summed up quantity for 05 Dec only.
    Help me in resolving this.
    Regards,
    Murali

    Hi,
    It seems like you are reading some input value of existing variable from selection screen then based on the input you are calculating your MTD range.
    Now the variable i.e. time characteristic you are using on selection screen should not be restricted at global filter level, other wise your other variable in the query will not work.
    So keep the selection screen variable in some RKF and then use the new RKF for further restriction.
    Regards,
    Durgesh.

  • Cannot download apps to my zeen

    I've been on the phone with HP Support for two hours now and they can't figure out how to solve my problem!  I cannot download any print apps to my Zeen.  When I hit the Add More button, I'm told that there is a "Connection Problem:  There was a problem connecting to the Internet.  Please try again".  However, I am able to surf the internet via Internet Explorer.  I've uninstalled all drivers and have reinstalled everything.  We've done a reset on the Zeen (forgetting user info and resetting up).  I'm very frustrated with this unit as it has never worked (print apps). 
    Has anyone else had this problem?  Can someone at HP walk me through this?  I'm getting so mad, I simply want to return this.  Two hours on my cell phone is not making me happy.
    Helen

    Unfortunately there were server issues at the time you were attempting to download the apps. For those who are experiencing ongoing issues with their web services, you can attempt to try the following steps that may help resolve your problems.
    1.) Completely shut down your printer and restart it
    2.) If you have prints that have not printed, log into ePrint Center (or create an account if you do not have one) and then look for your printer status. If printer status is green but you still have pending jobs, delete the pending jobs one at a time (Starting with the oldest first). There may be a print job stuck in the queue that further restricts other jobs from completing.
    a. If option 1 or 2 above still doesn’t work, removing web services and re-adding web services will cause the printer to reattach to the cloud.
    b. Please note that if you attempt option 3, you will get a new eprint email address (and lose your custom one with no ability to get it back) furthermore, you will need to re-add your printer back to your ePC account.
    You may also need to perform a Product Update on your printer, please follow the steps in this link: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02581511&tmp_task=useCategory&cc=us&dlc=en&lang...
    I am an HP employee

  • Read Only Admin Console

    Hey,
    Has anyone found a way to add further restrictions to users logged in to the Admin Console based on membership to a Group? Restricting them to specific Menu Items is taken care of, but I'd like to be able to prevent them from editing anything in the Manage Users section.
    Ideally they would be able to view the user details page and user resources, but not be able to change them in any way. At the same time I'd like to filter out certain user fields from displaying (for instance, the person's SSN).
    Is there any way to do this outside of front-end customization? This is using OIM 9.1.0.0.

    If I understood your qurey correctly... try changing the property of the user filed in FormMetaData.xml to readonly. By this you just display the fileds but are not editable.

  • Script to download source packages

    Hi there,
    I've made a Bash script "getsrc.sh" which download easily and quickly source packages from AUR or ABS (dependencies : yaourt and makepkg). The idea is just to do in one command, something we usually do in several commands (I use yaourt -G, then makepkg -o). Example :
    /home/ehmicky $ getsrc gnome-terminal
    /tmp/gnome-terminal/src/gnome-terminal-3.2.1 $ ls
    aclocal.m4 AUTHORS ChangeLog ChangeLog.pre-2-23 ChangeLog.README config.guess
    config.h.in config.sub configure configure.ac COPYING depcomp
    gnome-doc-utils.make gnome-terminal.desktop.in.in HACKING help install-sh ltmain.sh
    Makefile.am Makefile.in missing mkinstalldirs NEWS omf.make
    po README src xmldocs.make
    It's just a Bash script you need to source in your ~/.bashrc if you want to use :
    source /path/to/getsrc.sh
    I didn't package it cause I'm new to Archlinux and still uncomfortable with the packaging procedure right now.
    I'm really not sure this might be useful for anyone (it might probably be useless indeed). I guess there are already alternatives doing just the same thign, but since while googling for it, I didn't bump into them, I thought I could post this script just in case.
    Do getsrc -h for usage.
    Here is the script file :
    #!/bin/bash
    #============================================================================
    # NAME : getsrc
    # DESCRIPTION : Download source packages from ABS or AUR.
    # AUTHOR AND COPYRIGHT : ehmicky <ehmickyy at hotmail dot fr>
    # LICENSE : GPL3, see end of file
    # DEPENDENCIES : yaourt makepkg
    # USAGE : getsrc PACKAGE_NAME...
    # INSTALLATION : this file needs to be sourced (e.g. "source
    # getsrc.sh") in your ~/.bashrc
    # VARIABLES :
    # SourceDir : directory where to download the source package (default :
    # current directory)
    # VERSION : 1.1 (13/03/2012)
    # CHANGELOG : 1.1
    # * Supressed output
    # * Fix getopts bug
    # 1.0
    # * First release
    #============================================================================
    #Must define a function so it doesn't spawn a new subshell, and so we can
    #change the current directory of the caller
    getsrc()
    #Define this variable to change the download directory for source packages
    #(default is the current directory)
    local SourceDir="/tmp/MyTemp"
    #Verify dependencies
    test_command()
    while (( $# ))
    do
    if ! type "$1" &> /dev/null
    then
    echo "Error: $1 is not installed." >&2
    return 1
    fi
    shift
    done
    test_command yaourt makepkg
    #Script options : see help message for more info
    local makepkg_options="#"
    OPTIND=1
    while getopts ":hr" Opt
    do
    case "$Opt" in
    h)
    echo "getsrc: Download source packages from ABS or AUR
    Usage: $0 [OPTION]... PACKAGE_NAME...
    -r Use this option if you're root.
    -h Prints this help message.
    E-mail bug reports to: <ehmickyy at hotmail dot fr>"
    return ;;
    r)
    local makepkg_options="--asroot" ;;
    echo "Error: -$OPTARG is not a valid option." >&2
    return 1 ;;
    esac
    done
    shift $(( OPTIND - 1 ))
    local _SourceDir="${SourceDir:-.}"
    if [[ $UID -eq 0 && "$makepkg_options" != *"--asroot"* ]]
    then
    echo "Error: when root, please use the -r flag." >&2
    return 1
    fi
    #Process every argument from command line
    while (( $# ))
    do
    local PreviousDir="$PWD"
    #Go in the source package download directory
    [[ -d "$_SourceDir" ]]\
    || mkdir -p "$_SourceDir"
    if [[ ! -d "$_SourceDir" ]]
    then
    echo "Error: cannot create directory $_SourceDir" >&2
    cd "$PreviousDir"
    return 1
    fi
    cd "$_SourceDir"
    #Download the ABS of the package
    yaourt -G "$1" > /dev/null 2>&1
    #Check is the ABS has been downloaded
    if [[ ! -d "$1" ]]
    then
    echo "Error: $1 is not a valid package name" >&2
    local RelatedPackages="$( yaourt --color -Ss "$1"\
    | sed -n 'h;n;p;g;p'\
    | tac) "
    [[ "$RelatedPackages" =~ ^\ *$ ]]\
    || echo -e "Maybe you meant:\n$RelatedPackages" >&2
    cd "$PreviousDir"
    return 1
    fi
    #Download the source package from the ABS
    cd "$1"
    if ! makepkg -o "$makepkg_options" > /dev/null 2>&1
    then
    echo "Error: could not download source package" >&2
    rm -r "$_SourceDir/$1"
    cd "$PreviousDir"
    return 1
    fi
    #Goes to the root of the source package
    [[ -d "src/" ]]\
    || return
    cd "src/"
    local FinalSourceDir="$( find -mindepth 1 -maxdepth 1 -type d )"
    [[ -d "$FinalSourceDir" ]]\
    && cd "$FinalSourceDir"
    #Process next argument
    shift
    done
    # GNU GENERAL PUBLIC LICENSE
    # Version 3, 29 June 2007
    # Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
    # Everyone is permitted to copy and distribute verbatim copies
    # of this license document, but changing it is not allowed.
    # Preamble
    # The GNU General Public License is a free, copyleft license for
    # software and other kinds of works.
    # The licenses for most software and other practical works are designed
    # to take away your freedom to share and change the works. By contrast,
    # the GNU General Public License is intended to guarantee your freedom to
    # share and change all versions of a program--to make sure it remains free
    # software for all its users. We, the Free Software Foundation, use the
    # GNU General Public License for most of our software; it applies also to
    # any other work released this way by its authors. You can apply it to
    # your programs, too.
    # When we speak of free software, we are referring to freedom, not
    # price. Our General Public Licenses are designed to make sure that you
    # have the freedom to distribute copies of free software (and charge for
    # them if you wish), that you receive source code or can get it if you
    # want it, that you can change the software or use pieces of it in new
    # free programs, and that you know you can do these things.
    # To protect your rights, we need to prevent others from denying you
    # these rights or asking you to surrender the rights. Therefore, you have
    # certain responsibilities if you distribute copies of the software, or if
    # you modify it: responsibilities to respect the freedom of others.
    # For example, if you distribute copies of such a program, whether
    # gratis or for a fee, you must pass on to the recipients the same
    # freedoms that you received. You must make sure that they, too, receive
    # or can get the source code. And you must show them these terms so they
    # know their rights.
    # Developers that use the GNU GPL protect your rights with two steps:
    # (1) assert copyright on the software, and (2) offer you this License
    # giving you legal permission to copy, distribute and/or modify it.
    # For the developers' and authors' protection, the GPL clearly explains
    # that there is no warranty for this free software. For both users' and
    # authors' sake, the GPL requires that modified versions be marked as
    # changed, so that their problems will not be attributed erroneously to
    # authors of previous versions.
    # Some devices are designed to deny users access to install or run
    # modified versions of the software inside them, although the manufacturer
    # can do so. This is fundamentally incompatible with the aim of
    # protecting users' freedom to change the software. The systematic
    # pattern of such abuse occurs in the area of products for individuals to
    # use, which is precisely where it is most unacceptable. Therefore, we
    # have designed this version of the GPL to prohibit the practice for those
    # products. If such problems arise substantially in other domains, we
    # stand ready to extend this provision to those domains in future versions
    # of the GPL, as needed to protect the freedom of users.
    # Finally, every program is threatened constantly by software patents.
    # States should not allow patents to restrict development and use of
    # software on general-purpose computers, but in those that do, we wish to
    # avoid the special danger that patents applied to a free program could
    # make it effectively proprietary. To prevent this, the GPL assures that
    # patents cannot be used to render the program non-free.
    # The precise terms and conditions for copying, distribution and
    # modification follow.
    # TERMS AND CONDITIONS
    # 0. Definitions.
    # "This License" refers to version 3 of the GNU General Public License.
    # "Copyright" also means copyright-like laws that apply to other kinds of
    # works, such as semiconductor masks.
    # "The Program" refers to any copyrightable work licensed under this
    # License. Each licensee is addressed as "you". "Licensees" and
    # "recipients" may be individuals or organizations.
    # To "modify" a work means to copy from or adapt all or part of the work
    # in a fashion requiring copyright permission, other than the making of an
    # exact copy. The resulting work is called a "modified version" of the
    # earlier work or a work "based on" the earlier work.
    # A "covered work" means either the unmodified Program or a work based
    # on the Program.
    # To "propagate" a work means to do anything with it that, without
    # permission, would make you directly or secondarily liable for
    # infringement under applicable copyright law, except executing it on a
    # computer or modifying a private copy. Propagation includes copying,
    # distribution (with or without modification), making available to the
    # public, and in some countries other activities as well.
    # To "convey" a work means any kind of propagation that enables other
    # parties to make or receive copies. Mere interaction with a user through
    # a computer network, with no transfer of a copy, is not conveying.
    # An interactive user interface displays "Appropriate Legal Notices"
    # to the extent that it includes a convenient and prominently visible
    # feature that (1) displays an appropriate copyright notice, and (2)
    # tells the user that there is no warranty for the work (except to the
    # extent that warranties are provided), that licensees may convey the
    # work under this License, and how to view a copy of this License. If
    # the interface presents a list of user commands or options, such as a
    # menu, a prominent item in the list meets this criterion.
    # 1. Source Code.
    # The "source code" for a work means the preferred form of the work
    # for making modifications to it. "Object code" means any non-source
    # form of a work.
    # A "Standard Interface" means an interface that either is an official
    # standard defined by a recognized standards body, or, in the case of
    # interfaces specified for a particular programming language, one that
    # is widely used among developers working in that language.
    # The "System Libraries" of an executable work include anything, other
    # than the work as a whole, that (a) is included in the normal form of
    # packaging a Major Component, but which is not part of that Major
    # Component, and (b) serves only to enable use of the work with that
    # Major Component, or to implement a Standard Interface for which an
    # implementation is available to the public in source code form. A
    # "Major Component", in this context, means a major essential component
    # (kernel, window system, and so on) of the specific operating system
    # (if any) on which the executable work runs, or a compiler used to
    # produce the work, or an object code interpreter used to run it.
    # The "Corresponding Source" for a work in object code form means all
    # the source code needed to generate, install, and (for an executable
    # work) run the object code and to modify the work, including scripts to
    # control those activities. However, it does not include the work's
    # System Libraries, or general-purpose tools or generally available free
    # programs which are used unmodified in performing those activities but
    # which are not part of the work. For example, Corresponding Source
    # includes interface definition files associated with source files for
    # the work, and the source code for shared libraries and dynamically
    # linked subprograms that the work is specifically designed to require,
    # such as by intimate data communication or control flow between those
    # subprograms and other parts of the work.
    # The Corresponding Source need not include anything that users
    # can regenerate automatically from other parts of the Corresponding
    # Source.
    # The Corresponding Source for a work in source code form is that
    # same work.
    # 2. Basic Permissions.
    # All rights granted under this License are granted for the term of
    # copyright on the Program, and are irrevocable provided the stated
    # conditions are met. This License explicitly affirms your unlimited
    # permission to run the unmodified Program. The output from running a
    # covered work is covered by this License only if the output, given its
    # content, constitutes a covered work. This License acknowledges your
    # rights of fair use or other equivalent, as provided by copyright law.
    # You may make, run and propagate covered works that you do not
    # convey, without conditions so long as your license otherwise remains
    # in force. You may convey covered works to others for the sole purpose
    # of having them make modifications exclusively for you, or provide you
    # with facilities for running those works, provided that you comply with
    # the terms of this License in conveying all material for which you do
    # not control copyright. Those thus making or running the covered works
    # for you must do so exclusively on your behalf, under your direction
    # and control, on terms that prohibit them from making any copies of
    # your copyrighted material outside their relationship with you.
    # Conveying under any other circumstances is permitted solely under
    # the conditions stated below. Sublicensing is not allowed; section 10
    # makes it unnecessary.
    # 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
    # No covered work shall be deemed part of an effective technological
    # measure under any applicable law fulfilling obligations under article
    # 11 of the WIPO copyright treaty adopted on 20 December 1996, or
    # similar laws prohibiting or restricting circumvention of such
    # measures.
    # When you convey a covered work, you waive any legal power to forbid
    # circumvention of technological measures to the extent such circumvention
    # is effected by exercising rights under this License with respect to
    # the covered work, and you disclaim any intention to limit operation or
    # modification of the work as a means of enforcing, against the work's
    # users, your or third parties' legal rights to forbid circumvention of
    # technological measures.
    # 4. Conveying Verbatim Copies.
    # You may convey verbatim copies of the Program's source code as you
    # receive it, in any medium, provided that you conspicuously and
    # appropriately publish on each copy an appropriate copyright notice;
    # keep intact all notices stating that this License and any
    # non-permissive terms added in accord with section 7 apply to the code;
    # keep intact all notices of the absence of any warranty; and give all
    # recipients a copy of this License along with the Program.
    # You may charge any price or no price for each copy that you convey,
    # and you may offer support or warranty protection for a fee.
    # 5. Conveying Modified Source Versions.
    # You may convey a work based on the Program, or the modifications to
    # produce it from the Program, in the form of source code under the
    # terms of section 4, provided that you also meet all of these conditions:
    # a) The work must carry prominent notices stating that you modified
    # it, and giving a relevant date.
    # b) The work must carry prominent notices stating that it is
    # released under this License and any conditions added under section
    # 7. This requirement modifies the requirement in section 4 to
    # "keep intact all notices".
    # c) You must license the entire work, as a whole, under this
    # License to anyone who comes into possession of a copy. This
    # License will therefore apply, along with any applicable section 7
    # additional terms, to the whole of the work, and all its parts,
    # regardless of how they are packaged. This License gives no
    # permission to license the work in any other way, but it does not
    # invalidate such permission if you have separately received it.
    # d) If the work has interactive user interfaces, each must display
    # Appropriate Legal Notices; however, if the Program has interactive
    # interfaces that do not display Appropriate Legal Notices, your
    # work need not make them do so.
    # A compilation of a covered work with other separate and independent
    # works, which are not by their nature extensions of the covered work,
    # and which are not combined with it such as to form a larger program,
    # in or on a volume of a storage or distribution medium, is called an
    # "aggregate" if the compilation and its resulting copyright are not
    # used to limit the access or legal rights of the compilation's users
    # beyond what the individual works permit. Inclusion of a covered work
    # in an aggregate does not cause this License to apply to the other
    # parts of the aggregate.
    # 6. Conveying Non-Source Forms.
    # You may convey a covered work in object code form under the terms
    # of sections 4 and 5, provided that you also convey the
    # machine-readable Corresponding Source under the terms of this License,
    # in one of these ways:
    # a) Convey the object code in, or embodied in, a physical product
    # (including a physical distribution medium), accompanied by the
    # Corresponding Source fixed on a durable physical medium
    # customarily used for software interchange.
    # b) Convey the object code in, or embodied in, a physical product
    # (including a physical distribution medium), accompanied by a
    # written offer, valid for at least three years and valid for as
    # long as you offer spare parts or customer support for that product
    # model, to give anyone who possesses the object code either (1) a
    # copy of the Corresponding Source for all the software in the
    # product that is covered by this License, on a durable physical
    # medium customarily used for software interchange, for a price no
    # more than your reasonable cost of physically performing this
    # conveying of source, or (2) access to copy the
    # Corresponding Source from a network server at no charge.
    # c) Convey individual copies of the object code with a copy of the
    # written offer to provide the Corresponding Source. This
    # alternative is allowed only occasionally and noncommercially, and
    # only if you received the object code with such an offer, in accord
    # with subsection 6b.
    # d) Convey the object code by offering access from a designated
    # place (gratis or for a charge), and offer equivalent access to the
    # Corresponding Source in the same way through the same place at no
    # further charge. You need not require recipients to copy the
    # Corresponding Source along with the object code. If the place to
    # copy the object code is a network server, the Corresponding Source
    # may be on a different server (operated by you or a third party)
    # that supports equivalent copying facilities, provided you maintain
    # clear directions next to the object code saying where to find the
    # Corresponding Source. Regardless of what server hosts the
    # Corresponding Source, you remain obligated to ensure that it is
    # available for as long as needed to satisfy these requirements.
    # e) Convey the object code using peer-to-peer transmission, provided
    # you inform other peers where the object code and Corresponding
    # Source of the work are being offered to the general public at no
    # charge under subsection 6d.
    # A separable portion of the object code, whose source code is excluded
    # from the Corresponding Source as a System Library, need not be
    # included in conveying the object code work.
    # A "User Product" is either (1) a "consumer product", which means any
    # tangible personal property which is normally used for personal, family,
    # or household purposes, or (2) anything designed or sold for incorporation
    # into a dwelling. In determining whether a product is a consumer product,
    # doubtful cases shall be resolved in favor of coverage. For a particular
    # product received by a particular user, "normally used" refers to a
    # typical or common use of that class of product, regardless of the status
    # of the particular user or of the way in which the particular user
    # actually uses, or expects or is expected to use, the product. A product
    # is a consumer product regardless of whether the product has substantial
    # commercial, industrial or non-consumer uses, unless such uses represent
    # the only significant mode of use of the product.
    # "Installation Information" for a User Product means any methods,
    # procedures, authorization keys, or other information required to install
    # and execute modified versions of a covered work in that User Product from
    # a modified version of its Corresponding Source. The information must
    # suffice to ensure that the continued functioning of the modified object
    # code is in no case prevented or interfered with solely because
    # modification has been made.
    # If you convey an object code work under this section in, or with, or
    # specifically for use in, a User Product, and the conveying occurs as
    # part of a transaction in which the right of possession and use of the
    # User Product is transferred to the recipient in perpetuity or for a
    # fixed term (regardless of how the transaction is characterized), the
    # Corresponding Source conveyed under this section must be accompanied
    # by the Installation Information. But this requirement does not apply
    # if neither you nor any third party retains the ability to install
    # modified object code on the User Product (for example, the work has
    # been installed in ROM).
    # The requirement to provide Installation Information does not include a
    # requirement to continue to provide support service, warranty, or updates
    # for a work that has been modified or installed by the recipient, or for
    # the User Product in which it has been modified or installed. Access to a
    # network may be denied when the modification itself materially and
    # adversely affects the operation of the network or violates the rules and
    # protocols for communication across the network.
    # Corresponding Source conveyed, and Installation Information provided,
    # in accord with this section must be in a format that is publicly
    # documented (and with an implementation available to the public in
    # source code form), and must require no special password or key for
    # unpacking, reading or copying.
    # 7. Additional Terms.
    # "Additional permissions" are terms that supplement the terms of this
    # License by making exceptions from one or more of its conditions.
    # Additional permissions that are applicable to the entire Program shall
    # be treated as though they were included in this License, to the extent
    # that they are valid under applicable law. If additional permissions
    # apply only to part of the Program, that part may be used separately
    # under those permissions, but the entire Program remains governed by
    # this License without regard to the additional permissions.
    # When you convey a copy of a covered work, you may at your option
    # remove any additional permissions from that copy, or from any part of
    # it. (Additional permissions may be written to require their own
    # removal in certain cases when you modify the work.) You may place
    # additional permissions on material, added by you to a covered work,
    # for which you have or can give appropriate copyright permission.
    # Notwithstanding any other provision of this License, for material you
    # add to a covered work, you may (if authorized by the copyright holders of
    # that material) supplement the terms of this License with terms:
    # a) Disclaiming warranty or limiting liability differently from the
    # terms of sections 15 and 16 of this License; or
    # b) Requiring preservation of specified reasonable legal notices or
    # author attributions in that material or in the Appropriate Legal
    # Notices displayed by works containing it; or
    # c) Prohibiting misrepresentation of the origin of that material, or
    # requiring that modified versions of such material be marked in
    # reasonable ways as different from the original version; or
    # d) Limiting the use for publicity purposes of names of licensors or
    # authors of the material; or
    # e) Declining to grant rights under trademark law for use of some
    # trade names, trademarks, or service marks; or
    # f) Requiring indemnification of licensors and authors of that
    # material by anyone who conveys the material (or modified versions of
    # it) with contractual assumptions of liability to the recipient, for
    # any liability that these contractual assumptions directly impose on
    # those licensors and authors.
    # All other non-permissive additional terms are considered "further
    # restrictions" within the meaning of section 10. If the Program as you
    # received it, or any part of it, contains a notice stating that it is
    # governed by this License along with a term that is a further
    # restriction, you may remove that term. If a license document contains
    # a further restriction but permits relicensing or conveying under this
    # License, you may add to a covered work material governed by the terms
    # of that license document, provided that the further restriction does
    # not survive such relicensing or conveying.
    # If you add terms to a covered work in accord with this section, you
    # must place, in the relevant source files, a statement of the
    # additional terms that apply to those files, or a notice indicating
    # where to find the applicable terms.
    # Additional terms, permissive or non-permissive, may be stated in the
    # form of a separately written license, or stated as exceptions;
    # the above requirements apply either way.
    # 8. Termination.
    # You may not propagate or modify a covered work except as expressly
    # provided under this License. Any attempt otherwise to propagate or
    # modify it is void, and will automatically terminate your rights under
    # this License (including any patent licenses granted under the third
    # paragraph of section 11).
    # However, if you cease all violation of this License, then your
    # license from a particular copyright holder is reinstated (a)
    # provisionally, unless and until the copyright holder explicitly and
    # finally terminates your license, and (b) permanently, if the copyright
    # holder fails to notify you of the violation by some reasonable means
    # prior to 60 days after the cessation.
    # Moreover, your license from a particular copyright holder is
    # reinstated permanently if the copyright holder notifies you of the
    # violation by some reasonable means, this is the first time you have
    # received notice of violation of this License (for any work) from that
    # copyright holder, and you cure the violation prior to 30 days after
    # your receipt of the notice.
    # Termination of your rights under this section does not terminate the
    # licenses of parties who have received copies or rights from you under
    # this License. If your rights have been terminated and not permanently
    # reinstated, you do not qualify to receive new licenses for the same
    # material under section 10.
    # 9. Acceptance Not Required for Having Copies.
    # You are not required to accept this License in order to receive or
    # run a copy of the Program. Ancillary propagation of a covered work
    # occurring solely as a consequence of using peer-to-peer transmission
    # to receive a copy likewise does not require acceptance. However,
    # nothing other than this License grants you permission to propagate or
    # modify any covered work. These actions infringe copyright if you do
    # not accept this License. Therefore, by modifying or propagating a
    # covered work, you indicate your acceptance of this License to do so.
    # 10. Automatic Licensing of Downstream Recipients.
    # Each time you convey a covered work, the recipient automatically
    # receives a license from the original licensors, to run, modify and
    # propagate that work, subject to this License. You are not responsible
    # for enforcing compliance by third parties with this License.
    # An "entity transaction" is a transaction transferring control of an
    # organization, or substantially all assets of one, or subdividing an
    # organization, or merging organizations. If propagation of a covered
    # work results from an entity transaction, each party to that
    # transaction who receives a copy of the work also receives whatever
    # licenses to the work the party's predecessor in interest had or could
    # give under the previous paragraph, plus a right to possession of the
    # Corresponding Source of the work from the predecessor in interest, if
    # the predecessor has it or can get it with reasonable efforts.
    # You may not impose any further restrictions on the exercise of the
    # rights granted or affirmed under this License. For example, you may
    # not impose a license fee, royalty, or other charge for exercise of
    # rights granted under this License, and you may not initiate litigation
    # (including a cross-claim or counterclaim in a lawsuit) alleging that
    # any patent claim is infringed by making, using, selling, offering for
    # sale, or importing the Program or any portion of it.
    # 11. Patents.
    # A "contributor" is a copyright holder who authorizes use under this
    # License of the Program or a work on which the Program is based. The
    # work thus licensed is called the contributor's "contributor version".
    # A contributor's "essential patent claims" are all patent claims
    # owned or controlled by the contributor, whether already acquired or
    # hereafter acquired, that would be infringed by some manner, permitted
    # by this License, of making, using, or selling its contributor version,
    # but do not include claims that would be infringed only as a
    # consequence of further modification of the contributor version. For
    # purposes of this definition, "control" includes the right to grant
    # patent sublicenses in a manner consistent with the requirements of
    # this License.
    # Each contributor grants you a non-exclusive, worldwide, royalty-free
    # patent license under the contributor's essential patent claims, to
    # make, use, sell, offer for sale, import and otherwise run, modify and
    # propagate the contents of its contributor version.
    # In the following three paragraphs, a "patent license" is any express
    # agreement or commitment, however denominated, not to enforce a patent
    # (such as an express permission to practice a patent or covenant not to
    # sue for patent infringement). To "grant" such a patent license to a
    # party means to make such an agreement or commitment not to enforce a
    # patent against the party.
    # If you convey a covered work, knowingly relying on a patent license,
    # and the Corresponding Source of the work is not available for anyone
    # to copy, free of charge and under the terms of this License, through a
    # publicly available network server or other readily accessible means,
    # then you must either (1) cause the Corresponding Source to be so
    # available, or (2) arrange to deprive yourself of the benefit of the
    # patent license for this particular work, or (3) arrange, in a manner
    # consistent with the requirements of this License, to extend the patent
    # license to downstream recipients. "Knowingly relying" means you have
    # actual knowledge that, but for the patent license, your conveying the
    # covered work in a country, or your recipient's use of the covered work
    # in a country, would infringe one or more identifiable patents in that
    # country that you have reason to believe are valid.
    # If, pursuant to or in connection with a single transaction or
    # arrangement, you convey, or propagate by procuring conveyance of, a
    # covered work, and grant a patent license to some of the parties
    # receiving the covered work authorizing them to use, propagate, modify
    # or convey a specific copy of the covered work, then the patent license
    # you grant is automatically extended to all recipients of the covered
    # work and works based on it.
    # A patent license is "discriminatory" if it does not include within
    # the scope of its coverage, prohibits the exercise of, or is
    # conditioned on the non-exercise of one or more of the rights that are
    # specifically granted under this License. You may not convey a covered
    # work if you are a party to an arrangement with a third party that is
    # in the business of distributing software, under which you make payment
    # to the third party based on the extent of your activity of conveying
    # the work, and under which the third party grants, to any of the
    # parties who would receive the covered work from you, a discriminatory
    # patent license (a) in connection with copies of the covered work
    # conveyed by you (or copies made from those copies), or (b) primarily
    # for and in connection with specific products or compilations that
    # contain the covered work, unless you entered into that arrangement,
    # or that patent license was granted, prior to 28 March 2007.
    # Nothing in this License shall be construed as excluding or limiting
    # any implied license or other defenses to infringement that may
    # otherwise be available to you under applicable patent law.
    # 12. No Surrender of Others' Freedom.
    # If conditions are imposed on you (whether by court order, agreement or
    # otherwise) that contradict the conditions of this License, they do not
    # excuse you from the conditions of this License. If you cannot convey a
    # covered work so as to satisfy simultaneously your obligations under this
    # License and any other pertinent obligations, then as a consequence you may
    # not convey it at all. For example, if you agree to terms that obligate you
    # to collect a royalty for further conveying from those to whom you convey
    # the Program, the only way you could satisfy both those terms and this
    # License would be to refrain entirely from conveying the Program.
    # 13. Use with the GNU Affero General Public License.
    # Notwithstanding any other provision of this License, you have
    # permission to link or combine any covered work with a work licensed
    # under version 3 of the GNU Affero General Public License into a single
    # combined work, and to convey the resulting work. The terms of this
    # License will continue to apply to the part which is the covered work,
    # but the special requirements of the GNU Affero General Public License,
    # section 13, concerning interaction through a network will apply to the
    # combination as such.
    # 14. Revised Versions of this License.
    # The Free Software Foundation may publish revised and/or new versions of
    # the GNU General Public License from time to time. Such new versions will
    # be similar in spirit to the present version, but may differ in detail to
    # address new problems or concerns.
    # Each version is given a distinguishing version number. If the
    # Program specifies that a certain numbered version of the GNU General
    # Public License "or any later version" applies to it, you have the
    # option of following the terms and conditions either of that numbered
    # version or of any later version published by the Free Software
    # Foundation. If the Program does not specify a version number of the
    # GNU General Public License, you may choose any version ever published
    # by the Free Software Foundation.
    # If the Program specifies that a proxy can decide which future
    # versions of the GNU General Public License can be used, that proxy's
    # public statement of acceptance of a version permanently authorizes you
    # to choose that version for the Program.
    # Later license versions may give you additional or different
    # permissions. However, no additional obligations are imposed on any
    # author or copyright holder as a result of your choosing to follow a
    # later version.
    # 15. Disclaimer of Warranty.
    # THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
    # APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
    # HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
    # OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
    # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    # PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
    # IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
    # ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
    # 16. Limitation of Liability.
    # IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
    # WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
    # THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
    # GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
    # USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
    # DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
    # PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
    # EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
    # SUCH DAMAGES.
    # 17. Interpretation of Sections 15 and 16.
    # If the disclaimer of warranty and limitation of liability provided
    # above cannot be given local legal effect according to their terms,
    # reviewing courts shall apply local law that most closely approximates
    # an absolute waiver of all civil liability in connection with the
    # Program, unless a warranty or assumption of liability accompanies a
    # copy of the Program in return for a fee.
    # END OF TERMS AND CONDITIONS
    # How to Apply These Terms to Your New Programs
    # If you develop a new program, and you want it to be of the greatest
    # possible use to the public, the best way to achieve this is to make it
    # free software which everyone can redistribute and change under these terms.
    # To do so, attach the following notices to the program. It is safest
    # to attach them to the start of each source file to most effectively
    # state the exclusion of warranty; and each file should have at least
    # the "copyright" line and a pointer to where the full notice is found.
    # <one line to give the program's name and a brief idea of what it does.>
    # Copyright (C) <year> <name of author>
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>.
    # Also add information on how to contact you by electronic and paper mail.
    # If the program does terminal interaction, make it output a short
    # notice like this when it starts in an interactive mode:
    # <program> Copyright (C) <year> <name of author>
    # This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    # This is free software, and you are welcome to redistribute it
    # under certain conditions; type `show c' for details.
    # The hypothetical commands `show w' and `show c' should show the appropriate
    # parts of the General Public License. Of course, your program's commands
    # might be different; for a GUI interface, you would use an "about box".
    # You should also get your employer (if you work as a programmer) or school,
    # if any, to sign a "copyright disclaimer" for the program, if necessary.
    # For more information on this, and how to apply and follow the GNU GPL, see
    # <http://www.gnu.org/licenses/>.
    # The GNU General Public License does not permit incorporating your program
    # into proprietary programs. If your program is a subroutine library, you
    # may consider it more useful to permit linking proprietary applications with
    # the library. If this is what you want to do, use the GNU Lesser General
    # Public License instead of this License. But first, please read
    # <http://www.gnu.org/philosophy/why-not-lgpl.html>.
    Last edited by ehmicky (2012-03-13 20:46:18)

    Here is the output of makepkg -s when I try to install packer:
    [tilley@take-kun packer]$ makepkg -s
    ==> Determining latest git revision...
      -> Version found: 20120509
    ==> Making package: packer 20120509-1 (Wed May  9 17:27:52 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): jansson-2.3-1  jshon-20111222-1
    Total Download Size:    0.04 MiB
    Total Installed Size:   0.17 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from community...
    jansson-2.3-1-x86_64      30.5 KiB   150K/s 00:00 [######################] 100%
    jshon-20111222-1-x86_64    9.8 KiB   806K/s 00:00 [######################] 100%
    (2/2) checking package integrity                   [######################] 100%
    (2/2) loading package files                        [######################] 100%
    (2/2) checking for file conflicts                  [######################] 100%
    (2/2) checking available disk space                [######################] 100%
    (1/2) installing jansson                           [######################] 100%
    (2/2) installing jshon                             [######################] 100%
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to github GIT server....
    Cloning into 'packer'...
    error: Could not resolve host: (nil); No address associated with hostname while accessing https://github.com/bruenig/packer.git/info/refs
    fatal: HTTP request failed
    ==> ERROR: A failure occurred in build().
        Aborting...

  • Openbox menu etc doesn´t show [SOLVED]

    Hi, I really need some help here.
    I can´t figure out what the hell is wrong with my openbox.
    I had it running smooth, and because Im new to Linux and Arch I played around I guess and configured.
    Somehow I guess I have configured somesthing totally wrong and now my Openbox don´t work as it should.
    I have tried to replace the rc.xml, menu.xml and the autostart.sh with the defaults and still it doesn´t help!
    When I start Openbox pypanel is supposed to be started, it worked before.
    The only thing that comes up when I log in on openbox now is Conky and nothing else. The right click menu nothing works.
    I will post some configs that is related to the subject and I would be very glad if someone could guide me
    Btw im running Openbox with Gnome.
    rc.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Do not edit this file, it will be overwritten on install.
    Copy the file to $HOME/.config/openbox/ instead. -->
    <openbox_config xmlns="http://openbox.org/3.4/rc">
    <resistance>
    <strength>10</strength>
    <screen_edge_strength>20</screen_edge_strength>
    </resistance>
    <focus>
    <focusNew>yes</focusNew>
    <!-- always try to focus new windows when they appear. other rules do
    apply -->
    <followMouse>no</followMouse>
    <!-- move focus to a window when you move the mouse into it -->
    <focusLast>yes</focusLast>
    <!-- focus the last used window when changing desktops, instead of the one
    under the mouse pointer. when followMouse is enabled -->
    <underMouse>no</underMouse>
    <!-- move focus under the mouse, even when the mouse is not moving -->
    <focusDelay>200</focusDelay>
    <!-- when followMouse is enabled, the mouse must be inside the window for
    this many milliseconds (1000 = 1 sec) before moving focus to it -->
    <raiseOnFocus>no</raiseOnFocus>
    <!-- when followMouse is enabled, and a window is given focus by moving the
    mouse into it, also raise the window -->
    </focus>
    <placement>
    <policy>Smart</policy>
    <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
    <!-- whether to place windows in the center of the free area found or
    the top left corner -->
    <monitor>Any</monitor>
    <!-- with Smart placement on a multi-monitor system, try to place new windows
    on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    the active window is -->
    </placement>
    <theme>
    <name>Clearlooks</name>
    <titleLayout>NLIMC</titleLayout>
    <!--
    available characters are NDSLIMC, each can occur at most once.
    N: window icon
    L: window label (AKA title).
    I: iconify
    M: maximize
    C: close
    S: shade (roll up/down)
    D: omnipresent (on all desktops).
    -->
    <keepBorder>yes</keepBorder>
    <animateIconify>yes</animateIconify>
    <font place="ActiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="InactiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuHeader">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuItem">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="OnScreenDisplay">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    </theme>
    <desktops>
    <!-- this stuff is only used at startup, pagers allow you to change them
    during a session
    these are default values to use when other ones are not already set
    by other applications, or saved in your session
    use obconf if you want to change these without having to log out
    and back in -->
    <number>4</number>
    <firstdesk>1</firstdesk>
    <names>
    <!-- set names up here if you want to, like this:
    <name>desktop 1</name>
    <name>desktop 2</name>
    -->
    </names>
    <popupTime>875</popupTime>
    <!-- The number of milliseconds to show the popup for when switching
    desktops. Set this to 0 to disable the popup. -->
    </desktops>
    <resize>
    <drawContents>yes</drawContents>
    <popupShow>Nonpixel</popupShow>
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
    <popupPosition>Center</popupPosition>
    <!-- 'Center', 'Top', or 'Fixed' -->
    <popupFixedPosition>
    <!-- these are used if popupPosition is set to 'Fixed' -->
    <x>10</x>
    <!-- positive number for distance from left edge, negative number for
    distance from right edge, or 'Center' -->
    <y>10</y>
    <!-- positive number for distance from top edge, negative number for
    distance from bottom edge, or 'Center' -->
    </popupFixedPosition>
    </resize>
    <!-- You can reserve a portion of your screen where windows will not cover when
    they are maximized, or when they are initially placed.
    Many programs reserve space automatically, but you can use this in other
    cases. -->
    <margins>
    <top>0</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
    </margins>
    <dock>
    <position>TopLeft</position>
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <noStrut>no</noStrut>
    <stacking>Above</stacking>
    <!-- 'Above', 'Normal', or 'Below' -->
    <direction>Vertical</direction>
    <!-- 'Vertical' or 'Horizontal' -->
    <autoHide>no</autoHide>
    <hideDelay>300</hideDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <showDelay>300</showDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- 'Left', 'Middle', 'Right' -->
    </dock>
    <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for desktop switching -->
    <keybind key="C-A-Left">
    <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="C-A-Right">
    <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="C-A-Up">
    <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="C-A-Down">
    <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="S-A-Left">
    <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="S-A-Right">
    <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="S-A-Up">
    <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="S-A-Down">
    <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
    </keybind>
    <keybind key="W-F1">
    <action name="Desktop"><desktop>1</desktop></action>
    </keybind>
    <keybind key="W-F2">
    <action name="Desktop"><desktop>2</desktop></action>
    </keybind>
    <keybind key="W-F3">
    <action name="Desktop"><desktop>3</desktop></action>
    </keybind>
    <keybind key="W-F4">
    <action name="Desktop"><desktop>4</desktop></action>
    </keybind>
    <keybind key="W-d">
    <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="A-F4">
    <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
    <action name="ShowMenu"><menu>client-menu</menu></action>
    </keybind>
    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
    <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
    <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-A-Tab">
    <action name="NextWindow">
    <panels>yes</panels><desktop>yes</desktop>
    </action>
    </keybind>
    <!-- Keybindings for running applications -->
    <keybind key="W-e">
    <action name="Execute">
    <startupnotify>
    <enabled>true</enabled>
    <name>Konqueror</name>
    </startupnotify>
    <command>kfmclient openProfile filemanagement</command>
    </action>
    </keybind>
    </keyboard>
    <mouse>
    <dragThreshold>8</dragThreshold>
    <!-- number of pixels the mouse must move before a drag begins -->
    <doubleClickTime>200</doubleClickTime>
    <!-- in milliseconds (1000 = 1 second) -->
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
    <!-- Time before changing desktops when the pointer touches the edge of the
    screen while moving a window, in milliseconds (1000 = 1 second).
    Set this to 0 to disable warping -->
    <context name="Frame">
    <mousebind button="A-Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="A-Left" action="Click">
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="A-Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Right" action="Drag">
    <action name="Resize"/>
    </mousebind>
    <mousebind button="A-Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-S-Up" action="Click">
    <action name="SendToDesktopPrevious"/>
    </mousebind>
    <mousebind button="A-S-Down" action="Click">
    <action name="SendToDesktopNext"/>
    </mousebind>
    </context>
    <context name="Titlebar">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="Left" action="DoubleClick">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Up" action="Click">
    <action name="Shade"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    <action name="Lower"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="Unshade"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu"><menu>client-menu</menu></action>
    </mousebind>
    </context>
    <context name="Top">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"><edge>top</edge></action>
    </mousebind>
    </context>
    <context name="Left">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"><edge>left</edge></action>
    </mousebind>
    </context>
    <context name="Right">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"><edge>right</edge></action>
    </mousebind>
    </context>
    <context name="Bottom">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"><edge>bottom</edge></action>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu"><menu>client-menu</menu></action>
    </mousebind>
    </context>
    <context name="BLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="BRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="Client">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Icon">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    <action name="ShowMenu"><menu>client-menu</menu></action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu"><menu>client-menu</menu></action>
    </mousebind>
    </context>
    <context name="AllDesktops">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleOmnipresent"/>
    </mousebind>
    </context>
    <context name="Shade">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleShade"/>
    </mousebind>
    </context>
    <context name="Iconify">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Iconify"/>
    </mousebind>
    </context>
    <context name="Maximize">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Click">
    <action name="ToggleMaximizeVert"/>
    </mousebind>
    <mousebind button="Right" action="Click">
    <action name="ToggleMaximizeHorz"/>
    </mousebind>
    </context>
    <context name="Close">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Close"/>
    </mousebind>
    </context>
    <context name="Desktop">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Root">
    <!-- Menus -->
    <mousebind button="Middle" action="Press">
    <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="ShowMenu"><menu>root-menu</menu></action>
    </mousebind>
    </context>
    <context name="MoveResize">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    </context>
    </mouse>
    <menu>
    <!-- You can specify more than one menu file in here and they are all loaded,
    just don't make menu ids clash or, well, it'll be kind of pointless -->
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
    <file>menu.xml</file>
    <hideDelay>200</hideDelay>
    <!-- if a press-release lasts longer than this setting (in milliseconds), the
    menu is hidden again -->
    <middle>no</middle>
    <!-- center submenus vertically about the parent entry -->
    <submenuShowDelay>100</submenuShowDelay>
    <!-- this one is easy, time to delay before showing a submenu after hovering
    over the parent entry -->
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
    </menu>
    <applications>
    <!--
    # this is an example with comments through out. use these to make your
    # own rules, but without the comments of course.
    <application name="first element of window's WM_CLASS property (see xprop)"
    class="second element of window's WM_CLASS property (see xprop)"
    role="the window's WM_WINDOW_ROLE property (see xprop)"
    type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then
    it is dialog for child windows)">
    # the name or the class can be set, or both. this is used to match
    # windows when they appear. role can optionally be set as well, to
    # further restrict your matches.
    # the name, class, and role use simple wildcard matching such as those
    # used by a shell. you can use * to match any characters and ? to match
    # any single character.
    # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
    # or desktop
    # when multiple rules match a window, they will all be applied, in the
    # order that they appear in this list
    # each element can be left out or set to 'default' to specify to not
    # change that attribute of the window
    <decor>yes</decor>
    # enable or disable window decorations
    <shade>no</shade>
    # make the window shaded when it appears, or not
    <position force="no">
    # the position is only used if both an x and y coordinate are provided
    # (and not set to 'default')
    # when force is "yes", then the window will be placed here even if it
    # says you want it placed elsewhere. this is to override buggy
    # applications who refuse to behave
    <x>center</x>
    # a number like 50, or 'center' to center on screen. use a negative number
    # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
    # right edge (or bottom).
    <y>200</y>
    <monitor>1</monitor>
    # specifies the monitor in a xinerama setup.
    # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>
    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to
    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops
    <layer>normal</layer>
    # 'above', 'normal', or 'below'
    <iconic>no</iconic>
    # make the window iconified when it appears, or not
    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers
    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows
    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears
    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
    </application>
    # end of the example
    -->
    </applications>
    </openbox_config>
    menu.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <openbox_menu xmlns="http://openbox.org/3.4/menu">
    <menu id="apps-accessories-menu" label="Accessories">
    <item label="Calculator">
    <action name="Execute">
    <command>gnome-calculator</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Character Map">
    <action name="Execute">
    <command>gnome-character-map</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Ark File Archiver">
    <action name="Execute">
    <command>ark</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="apps-editors-menu" label="Editors">
    <item label="GVim">
    <action name="Execute">
    <command>gvim</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>GVim</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="Emacs">
    <action name="Execute">
    <command>emacs</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>Emacs</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="GEdit">
    <action name="Execute">
    <command>gedit</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Kate">
    <action name="Execute">
    <command>kate</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Kwrite">
    <action name="Execute">
    <command>kwrite</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="apps-term-menu" label="Terminals">
    <item label="Rxvt Unicode">
    <action name="Execute">
    <command>urxvt</command>
    </action>
    </item>
    <item label="Gnome Terminal">
    <action name="Execute">
    <command>gnome-terminal</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Xfce Terminal">
    <action name="Execute">
    <command>xfce4-terminal</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Konsole">
    <action name="Execute">
    <command>konsole</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Xterm">
    <action name="Execute"><command>xterm</command></action>
    </item>
    </menu>
    <menu id="apps-net-menu" label="Internet">
    <item label="Firefox">
    <action name="Execute">
    <command>firefox</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>Firefox</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="Opera">
    <action name="Execute">
    <command>opera</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>Opera</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="Konqueror">
    <action name="Execute">
    <command>konqueror</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Epiphany">
    <action name="Execute">
    <command>epiphany</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Pidgin Instant Messenger">
    <action name="Execute">
    <command>pidgin</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Kopete Instant Messenger">
    <action name="Execute">
    <command>kopete</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="XChat">
    <action name="Execute">
    <command>xchat</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="apps-office-menu" label="Office">
    <item label="OpenOffice Base">
    <action name="Execute">
    <command>ooffice -base</command>
    </action>
    </item>
    <item label="OpenOffice Calc">
    <action name="Execute">
    <command>ooffice -calc</command>
    </action>
    </item>
    <item label="OpenOffice Draw">
    <action name="Execute">
    <command>ooffice -draw</command>
    </action>
    </item>
    <item label="OpenOffice Impress">
    <action name="Execute">
    <command>ooffice -impress</command>
    </action>
    </item>
    <item label="OpenOffice Math">
    <action name="Execute">
    <command>ooffice -math</command>
    </action>
    </item>
    <item label="OpenOffice Printer Administration">
    <action name="Execute">
    <command>ooffice-printeradmin</command>
    </action>
    </item>
    <item label="OpenOffice Writer">
    <action name="Execute">
    <command>ooffice -writer</command>
    </action>
    </item>
    </menu>
    <menu id="apps-multimedia-menu" label="Multimedia">
    <item label="Amarok">
    <action name="Execute">
    <command>amarok</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Rhythmbox">
    <action name="Execute">
    <command>rhythmbox</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="K3b">
    <action name="Execute">
    <command>k3b</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="MPlayer">
    <action name="Execute">
    <command>gmplayer</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>MPlayer</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="Totem">
    <action name="Execute">
    <command>totem</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="apps-fileman-menu" label="File Managers">
    <item label="Nautilus">
    <action name="Execute">
    <command>nautilus --no-desktop --browser</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Thunar">
    <action name="Execute">
    <command>Thunar</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="KDE File Manager">
    <action name="Execute">
    <command>kfmclient openURL ~</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Rox">
    <action name="Execute">
    <command>rox</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>ROX-Filer</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="PCMan File Manager">
    <action name="Execute">
    <command>pcmanfm</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="apps-graphics-menu" label="Graphics">
    <item label="Gimp">
    <action name="Execute">
    <command>gimp</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Gwenview">
    <action name="Execute">
    <command>gwenview</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Dia Diagram Editor">
    <action name="Execute">
    <command>dia</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Inkscape">
    <action name="Execute">
    <command>inkscape</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    </menu>
    <menu id="system-menu" label="System">
    <item label="Openbox Configuration Manager">
    <action name="Execute">
    <command>obconf</command>
    <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
    </item>
    <item label="Gnome Control Center">
    <action name="Execute">
    <command>gnome-control-center</command>
    <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
    </item>
    <item label="KDE Control Center">
    <action name="Execute">
    <command>kcontrol</command>
    <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
    </item>
    <item label="Xfce Settings">
    <action name="Execute">
    <command>xfce-setting-show</command>
    <startupnotify><enabled>yes</enabled></startupnotify>
    </action>
    </item>
    <item label="Manage Cups Printers">
    <action name="Execute">
    <command>xdg-open http://localhost:631/</command>
    <startupnotify>
    <enabled>no</enabled>
    <icon>cups</icon>
    </startupnotify>
    </action>
    </item>
    <separator />
    <item label="Reconfigure Openbox">
    <action name="Reconfigure" />
    </item>
    <item label="Exit Openbox">
    <action name="Exit">
    <prompt>yes</prompt>
    </action>
    </item>
    </menu>
    <menu id="root-menu" label="Openbox 3">
    <separator label="Applications" />
    <menu id="apps-accessories-menu"/>
    <menu id="apps-editors-menu"/>
    <menu id="apps-graphics-menu"/>
    <menu id="apps-net-menu"/>
    <menu id="apps-office-menu"/>
    <menu id="apps-multimedia-menu"/>
    <menu id="apps-term-menu"/>
    <menu id="apps-fileman-menu"/>
    <separator label="System" />
    <menu id="system-menu"/>
    <separator />
    <item label="Log Out">
    <action name="SessionLogout">
    <prompt>yes</prompt>
    </action>
    </item>
    </menu>
    </openbox_menu>
    autostart.sh
    # This shell script is run before Openbox launches.
    # Environment variables set here are passed to the Openbox session.
    # Set a background color
    BG=""
    if which hsetroot >/dev/null; then
    BG=hsetroot
    else
    if which esetroot >/dev/null; then
    BG=esetroot
    else
    if which xsetroot >/dev/null; then
    BG=xsetroot
    fi
    fi
    fi
    test -z $BG || $BG -solid "#303030"
    # D-bus
    if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    # Make GTK apps look and behave how they were set up in the gnome config tools
    if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
    /usr/libexec/gnome-settings-daemon &
    elif which gnome-settings-daemon >/dev/null; then
    gnome-settings-daemon &
    # Make GTK apps look and behave how they were set up in the XFCE config tools
    elif which xfce-mcs-manager >/dev/null; then
    xfce-mcs-manager n &
    fi
    # Preload stuff for KDE apps
    if which start_kdeinit >/dev/null; then
    LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
    fi
    # Run XDG autostart things. By default don't run anything desktop-specific
    # See xdg-autostart --help more info
    DESKTOP_ENV=""
    if which /usr/lib/openbox/xdg-autostart >/dev/null; then
    /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
    fi
    pypanel &
    eval `cat $HOME/.fehbg` &
    setxkbmap se
    conky
    I don´t know really what info you need to help me but please let me know what you need and I will get it for you.
    I want my Openbox back
    /Neuwerld
    Last edited by neuwerld (2009-03-25 17:35:59)

    neuwerld wrote:
    Ohh thanks guys!
    It worked as a charm, and thanks Brisbin33 for the autostart.sh tip.
    So the thing that caused my whole system not to work as it should was that I forgot to put a "&" after conky?
    haha that´s kinda anoying I have been sitting and looking through like a milllion files looking for the answer
    But again, really thanks!
    /Neuwerld
    that little "&" sends the conky process to the background freeing up the current process (your autostart.sh script) to finish doing what it's doing so you can move on to running openbox itself.  with this in mind, it should be obvious why keeping conky in the foreground would cause problems.
    also, replacing it with (sleep 1 && conky) & means... wait a second, when that's done successfully (&&) run conky, and put all of that () to the background.  that way openbox comes up immediatly and only a second later you've got your panel and monitor.
    all this after .xinitrc and before openbox

Maybe you are looking for