How to display with zenity or yad when Pacaur solicits password root

Hi, I am new using pacaur, and also I am making a shell script with yad.  I need a way to captures with zenity/yad the autentication, when a package comes from AUR, also when comes from official repositories.
Example:
pacaur -S --noconfirm --noedit tomahawk
Last edited by davidva (2014-03-19 01:51:15)

I would look in to sudo's ask pass feature. Your script may need the DISPLAY and XAUTHORITY variable exported.

Similar Messages

  • How to erase all content and settings when ipad requests password

    How to erase all content and settings when ipad requests password?

    gomike! wrote:
    when I dont remember my Apple ID password
    It should be the same AppleID and password you use to log in here.
    I haven't installed Find my iPhone app on the phone?
    Installing the app will simply allow you to locate a different iDevice.
    You don’t need to use it to locate the iPhone in your hands. If it’s not in your hands, you cannot use the app on that device...

  • How to start with FPGA and LABVIEW when you do not know any computer language? Only have exposure to Windows OS.

    Myself is an Electronics Engineer. But I don't have any exposure to any comp language like C or whatever. I do not have any exposure to Labview as well. I've been involved in design and developing Digital Circuits like interlock units, Position monitoring and display systems etc. Now I want to work upon FPGA based circuits. Can anyone suggest me plz that how to start with?  

    Hi BNarendra;
    Here are some resources that can be useful, the first is an introduction to LabVIEW and the other ones are for LabVIEW FPGA.
    LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/5247
    LabVIEW FPGA
    http://www.ni.com/swf/presentation/us/labview/lvfpga/default.htm
    http://digital.ni.com/public.nsf/allkb/0697A6F4BFC6E152862570FA0072153A?OpenDocument
    http://zone.ni.com/devzone/cda/tut/p/id/3261
    I hope the information is useful.
    Good Luck!
    Francisco Arellano
    National Instruments Mexico
    Field Systems Engineer - Energy Segment
    www.ni.com/soporte

  • How to display LOGO in ALV grid when using class CL_GUI_ALV_GRID

    Hello everyone,
    please let me know how to display Company logo as the header part in the report program with the class cl_gui_alv_grid.
    Thanks and regards,
    Padma.

    Hi,
    Got this info from a site.
    http://sap.ittoolbox.com/documents/document.asp?i=3213
    In the transaction OAOR, you should be able to insert your company Logo.
    GOTO - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    Try this one.
    Also have a look at this link
    http://www.sap-img.com/fu002.htm
    Message was edited by: Judith Jessie Selvi

  • How to deal with the mouse events when the thread is running

    Hi everybody,
    I have a problem with my program.
    Now I want to present a picture for some time in the Canvas,then automatically clear the screen, but when the user press the mousebutton or keybutton, I want to stop the thread and clear the screen.
    How can I receive the mouse event when the thread is running?
    Thanks,

    I use my code in a GUI applet.
    I try to use the code tag, it's the first time.
                   Image im=sd.getStimulus(obj);
                   if(pos==null){
                        g.drawImage(im, (w-im.getWidth(null))/2,(h-im.getHeight(null))/2,null);
                   }else{
                        g.drawImage(im, pos.x,pos.y,pos.w,pos.h,null);
                   try{
                        sleep(showtime);
    //                    Thread.sleep(showtime);
                   }catch(InterruptedException e){}
                   if(pos==null){
                        g.clearRect((w-im.getWidth(null))/2,(h-im.getHeight(null))/2,im.getWidth(null),im.getHeight(null));
                   }else{
                        g.clearRect(pos.x,pos.y, pos.w, pos.h);
                   }

  • How to display   with outputText?

    Hi!
    I wonder if anyone can tell me how to display   to produce more space between two text elements than just one blank? Is there some escape code if I would like to use HTML tags in outputText (altough I don't find good reason to do so right now :)
    Regards, Matjaz

    What you need - if you're going to use text to add spaces - is non-breaking spaces.
    To get a non-breaking space, you have to pass JSF a non-breaking space. Sounds obvious enough :), but the trick is that you have to get the correct Unicode character to JSF. That's hex A0, decimal 160. In a .jspx file (XML land, JSP document), <h:outputText value="Foo&#160;&#160;&#160;Bar"/> will do the trick. In a .jsp file (non-XML), you have to actually get a non-breaking space itself entered to your text. The exact rules for that will vary depending on your choice of editor and platform. (Emacs weenies like myself can use meta-x ucs-insert).
    But if you're just trying to insert visual space, some CSS work might be the best of all options.
    -- Adam Winer (EG member)

  • How to Bypass Windows 7 Login Screen When Forgot Admin Password

    When forgot Windows 7 administrator login password and be stuck at the login screen what can you do? Believe that many people have encountered such a situation where they are locked out of their own computer for forgotten Windows administrator password. So today I would like to talk about several tricks on how to bypass Windows 7 login screen when forgot administrator login password. Trick 1: Reset Windows 7 admin password with password reset diskIf you have ever created a Windows password reset disk for that administrator account before you forgot its password it is easy to use it to reset or remove its password. Just insert the disk into your locked Windows 7 computer and click ¡°Reset Password¡± link on the login screen. Then follow the password reset wizard to perform password reset. This is the easiest way to bypass a Windows login screen when forgot administrator password. Trick 2: Change Windows 7 admin password in Safe ModeIf you have no password reset disk you have to look for other tricks to bypass your Windows 7 administrator password. So if you have enabled the built-in administrator account you can enter Safe Mode by pressing F8 when your computer is booting. And access that built-in administrator account to change other user password. Trick 3: Bypass Windows 7 Login screen with Windows Password RescuerIf the forward 2 tricks don't work, it is necessary for you to use an effective Windows Password Recovery tool like Daossoft Windows Password Rescuer. Steps are as below.Step 1: Download and install Daossoft Windows Password Rescuer into another accessible computer.Step 2: Launch this tool and follow its instruction to burn it to a USB/CD/DVD flash drive.Step 3: Boot your locked Windows 7 computer from the flash drive.Step 4: Follow its instruction to reset/remove your Windows administrator password. Detailed video tutorial :How to Remove or Bypass Windows 7 Administrator Password - Forgot Windows 7 Administrator Password

    The methods above don't work at all. Eventually I used a paid tool - PCUnlocker Live CD, and it successfully bypassed my lost admin password. 

  • How to display a report in CrystalReportViewer when report is a Shortcut

    Hello,
    In BusinessObjects Enterprise XI R2, we have a shortcut to a report since we don't want to give a particular group of users access to the original folder. However, my objective is to display the "shortcut" report in a .NET web application.
    What I'm running into seems to basically be permissions errors when setting the ReportSource of the CrystalReportViewer to the ID of the shortcut. In InfoView, the same user can click the shortcut and the report comes up with no problems.
    So my question is how do I display this report in my application's viewer and still honor the privs of the shortcut, and of not the original report?
    Partial code listing...
    ' load the report
    Dim reportId As String = Me.SessionState.ReportId
    myReportViewer.ReportSource = MyInfoStoreManager.GetReportSource(myEnterpriseSession, reportId)
    myReportViewer.EnterpriseLogon = myEnterpriseSession
    The relevant code in the GetReportSource method is below...
    ' retrieve the report from BOXI Infostore
    Dim objReportFactoryService As EnterpriseService = myEnterpriseSession.GetService("PSReportFactory")
    Dim objFactory As Viewing.PSReportFactory = CType(objReportFactoryService.Interface, Viewing.PSReportFactory)
    Dim objReportSource As ISCRReportSource
    objReportSource = objFactory.OpenReportSource(intReportId)
    Return objReportSource
    Thanks,
    Horus

    Since you're using XI Release 2, there'd be limited options.  XI 3.x allow for greater control of rights inheritance, so you can specify no-view rights for the folder, but view rights for the contents of the folder.
    So with XI Release 2, since you can't control inheritance, you'd restrict rights to the parent folder, but give each report within specific rights tailored to the User or UserGroup.  If you have lots of reports, the rights admin overhead may be problematic, since you'd need to manage them per-object.
    Sincerely,
    Ted Ueda

  • How to display the file name & status when copying files.

    I write a program to backup/copy data from one directory to other directory, and I'm using File List and Runtime.getRuntime().exec("xcopy "+dir1+"\\"+name+" "+dir2+" /y");
    to copy the files, so it will copy the file one by one, and everytime one file is copied, I want to display the result to the screen, but guess what has happened, the screen just display a blank screen, and wait until all the copying processes finish, then it will display all files that has been copied.
    Appreciate your expertise to check my coding below.
    String[] fileList = fbackupSource.list();
    boolean done=true;
    JTextArea backupText = new JTextArea();
    JScrollPane backupScroll = new JScrollPane(backupText,
    ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    JFrame backupWindow = new JFrame("Backup Data");
    backupWindow.setBounds(320,240,400,330);
    backupWindow.getContentPane().add(backupScroll);          
    backupText.setText("Copy files from "+backupSource.toUpperCase()+" to "+backupDest.toUpperCase()+" : \n\n");
    backupWindow.show();
    for (int i=0; i < fileList.length; i++) {                     
    backupText.append(" ("+ i +")... processing " + fileList);
    done = copyFile(fileList[i],backupSource,backupDest);
    if (done=true) {
    backupText.append(" -> done. \n");
    else {
    backupText.append(" -> fail! \n");
    boolean copyFile(String name, String dir1, String dir2) {
    try {
    java.lang.Process proc =
    Runtime.getRuntime().exec("xcopy "+dir1+"\\"+name+" "+dir2+" /y");
    proc.waitFor();
    return true;
    catch (IOException e) {
    return false;
    catch (InterruptedException e) {
    return false;

    Oops, sorry, I should have written "Process.getInputStream()". Here's an example from:
    http://javafaq.nu/tips/opsys/index.shtml
    ==============
    How can I pass a string to the command line(DOS) ? Also i want to capture the output given by the command line in a string.
    Answer: Try this out:
    // works for DOS
    String cmds[] = new String[2];
    cmds[0] = "dir"; // replace with "ls" on UNIX
    cmds[1] = "c:"; // replace with "/" on UNIX
    // execute the command
    Process pro = Runtime.getRuntime().exec(cmds);
    // wait until it's done executing
    pro.waitFor();
    // what did the process output from the Input pipe back to
    // this process (okay, who named this stuff)?
    InputStream out = pro.getInputStream();
    // output it (really slowly)
    int i;
    while ((i = out.read()) != -1) System.out.println((char) i);==============
    Although I don't think this example will do exactly what you want... you might have to delete the waitFor() call and just check to see when there's nothing else to read from the InputStream. It's a start, though, and the web page has a lot of similar examples of this sort of thing.
    Yours,
    Tom

  • How to display a  User defined  symbol when using addLinearFeature

    Hi ,
    We are displaying our DataBase spatial data in the form of image on to the browser .
    With the help of MapViewer mv.addLinearFeature i am able to draw lines on to it .
    I have created styles in MapBuilder for our userdefined symbols and added to Mapviewerconfig file .
    Now as per our requirement we need to put our user defined symbols in the middle of the line when a line is drawn using addLinearFeature
    For example Like This :
    Assume that (::) this is our symbol .
    Please tell me how to do this .

    You could use the marker (user defined symbol) as a label for the line. Something like the highways theme/style definition in the mvdemo example where the highway shield is a marker.
    SQL> select styling_rules from user_sdo_themes where name='THEME_DEMO_HIGHWAYS';
    STYLING_RULES
    <?xml version="1.0" standalone="yes"?>
    <styling_rules >
    <rule >
    <features style="L.PH"> </features>
    <label column="ROUTEN" style="M.SHIELD1"> 1 </label>
    </rule>
    </styling_rules>
    SQL> select definition from user_sdo_styles where name='M.SHIELD1';
    DEFINITION
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc></desc>
    <g class="marker" style="width:20;height:18;font-family:sansserif;font-size:9pt
    ;fill:#ffffff;text-style:[t.shield1]">
    <image x="0" y="0" width="9999" height="9999" type="gif" href="dummy.gif"/></g>
    </svg>
    SQL>
    The content of ROUTEN (column/attribute) is displayed in the marker (m.shield1).
    Will something similar work or is your requirement different?
    If its to simply display a marker (i.e. your user defined symbol which is in the database user_sdo_styles view) somewhere along the line then use a line style definition like (see Appendix A of the user guide):
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <g class="line" style="fill:#33a9ff;stroke-width:4;
    marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8">
    <line class="parallel" style="fill:red;stroke-width:1.0"/>
    </g>
    </svg>
    This will display the marker M.IMAGE105_BW at about 0.15th of the line length.
    If you want that marker repeated at fixed intervals (0.15 of line length in the following) then use
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <g class="line" style="fill:#33a9ff;stroke-width:4;
    marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8;multiple-marker=true">
    <line class="parallel" style="fill:red;stroke-width:1.0"/>
    </g>
    </svg>

  • How to display with which group(s) a contact is associated.

    How do you display group association for each contact?  When I click on All Contacts, I want to go through each contact and see which contacts have been associated with none, one or multiple groups.

    Hold down the option key. The groups will highlight in yellow.

  • How to display data as separate clumns when db data is as different rows

    Hi,
    I think i have been confusing the group with UI details.
    The basic requirement is " To display the data as columns which is present as rows in the table"
    For example : For customer 1 ,there are 4 accounts. This info is available in the db table as 4 rows.
    But the OAF display has to be like customer <<account 1 name>><<account 2  name>><<account 3 name>><<account 4 name>>
    Also these needs to be advanced table in advanced table in the same feature.
    Also all the account name columns are dynamic. There can be 3 accounts for one case and 4 for other and hence needs to be built in CO and cant be defined.
    Please advise how do i code different row data as columnar data in a table or advanced table in oaf.
    Does this description help you to help me .
    Thanks,
    Rma

    Hi Rma,
    Please try something like this:
    drop table t_;
    create table t_ (
    nm Varchar2(20),
    pr Char ( 7),
    vl Number
    insert into t_ values ('company 1','2003-06', 10);
    insert into t_ values ('company 1','2003-07', 29);
    insert into t_ values ('company 1','2003-08', 39);
    insert into t_ values ('company 1','2003-09', 41);
    insert into t_ values ('company 1','2003-10', 22);
    insert into t_ values ('company 2','2003-06', 13);
    insert into t_ values ('company 2','2003-07', 17);
    insert into t_ values ('company 2','2003-08', 61);
    insert into t_ values ('company 2','2003-09', 55);
    insert into t_ values ('company 2','2003-10', 71);
    insert into t_ values ('company 3','2003-06', 33);
    insert into t_ values ('company 3','2003-07', 18);
    insert into t_ values ('company 3','2003-08', 27);
    insert into t_ values ('company 3','2003-09', 5);
    insert into t_ values ('company 3','2003-10', 32);
    select
    nm,
    jul,
    aug,
    sep,
    jul+aug+sep "Total"
    from (
    select
    nm,
    max(case when pr='2003-07' then vl else null end) jul,
    max(case when pr='2003-08' then vl else null end) aug,
    max(case when pr='2003-09' then vl else null end) sep
    from
    t_
    group by
    nm);
    This query returns:
    NM JUL AUG SEP Total
    company 1 29 39 41 109
    company 2 17 61 55 133
    company 3 18 27 5 50
    I took this from http://www.adp-gmbh.ch/ora/sql/examples/pivot.html
    Regards,
    Reetesh Sharma

  • How to display Image in full size when clicked

    ImageIcon icon = new ImageIcon("C:\\Users\\Ajay\\Pictures\\volt6.jpg");
    ImageIcon icon1 = new ImageIcon("C:\\Users\\Ajay\\Pictures\\vlot9.jpg");
    ImageIcon icon2 = new ImageIcon("C:\\Users\\Ajay\\Pictures\\add.jpg");
    JLabel label = new JLabel();
    JLabel label1 = new JLabel();
    JLabel label2 = new JLabel();
    JPanel bPanel = new JPanel(new GridLayout(2,2,5,5));
    label1.setIcon(icon1);
    label2.setIcon(icon2);
    label.setIcon(icon);
    bPanel.add(label);
    bPanel.add(label1);
    bPanel.add(label2);
    This is the code i am using to add 3 images to a Panel.
    Now when i click on one of the 3 images that are displayed , i want that image to be displayed in a new window.
    Please helpme out.
    I am new to this programming ,any kinda advices are appreciated.
    ThankYou

    I am new to this programming ,any kinda advices are appreciated.you were given good advice regarding standard practices
    [http://forums.sun.com/thread.jspa?threadID=5331674&tstart=0]
    in ignoring the advice given, you decided it was better to waste more time of others,
    with your cross-posting, in your attempt to bludge some code.
    i am new to the programming ........all indications are that you will retain that title.....forever
    so can u explain in detail........anything less would be 'in one ear, and out both'

  • How to deal with complex SOAP responses when calling web services ???

    Hi all,
    I have an issue when calling a web service that returns a complex
    SOAP response message. With simple responses (e. g. array of strings) it
    worked.
    I created the PDF as an Interactive form with Livecycle Designer 8.2.
    The Javascript looks like this:
    var cURL = "http://blabla";
    var cTestString = "too";
    SOAP.wireDump=true;
    var response = SOAP.request(
         cURL: cURL,
         oRequest: {
              "http://blabla.com/:complete" : {
              arg0: cTestString
              cAction: "http://bla.com:50000/"
    var resp = response["http://blabla.com:serviceResponse"];
    console.println("lenght:"+resp.length);
    var myns = "http://blabla.com/namespace";
    for (var nItem in resp.return)
      console.println("" + nItem + " " + resp.return[nItem] );
         for (var ConceptView in resp.return[nItem])
           console.println("  "+resp.return[nItem].length);
           console.println("  "+ConceptView+" "+resp.return[nItem][ConceptView] );
           if (ConceptView == myns + ":Response")
              for (var item2 in resp.return[nItem][ConceptView]){
                  console.println("    "+item2+" "+resp.return[nItem][ConceptView][item2] );
    I call the service and when I realized that I do not find out the type of the object returned, I used the nested for-in-loops to iterate through it. But it seems that there is just one item in the Javascript object returned, although the SOAP message clearly shows that there are more than one item.
    Can you help me?
    One key problem when analyzing this issue is that I do not know at all
    the Javascript type of response. We suspected it might be an array, but it is not
    because the method .length returns "undefined". It would already be
    helpful to know at least the type of this object and to know callable
    methods and so on ...
    Best regards
    Christoph
    P.S. As mentioned I used Livecycle Designer 8.2 and displayed and
    debugged the document using Acrobat 9.

    Christoph,
    Firstly LiveCycle Designer 8.2 is still not supported to develop forms as per my knowledge. The latest version compatible for SAP Interactive Forms is ALD 8.0.
    There is a difference between Acrobat based forms and LiveCycle forms and based on your coding it looks to me  that you are trying to create a LiveCycle based form with coding of Acrobat which is not supported in LiveCycle Desginer, which is why you may be getting the error.
    I hope that does not confuse you, so may check this [link|http://www.acrobatusers.com/articles/2006/08/designer_or_forms/index.php] for some clear information on what point I was trying to make.
    Chintan

  • How to display with more styles

    Please help.
    I can dispaly text in one style. Color, bold,...
    But how to use more than one style, for example, display text with both bold and Color.blue, etc.
    Thanks

    The Java Swing tutorial has a section on this including a demo program:
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html
    The entire tutorial can be downloaded for free from:
    http://java.sun.com/docs/books/tutorial/

Maybe you are looking for

  • Can we have a Tab page build in OAF

    Hi All .. Can we build TabPage in OAF?? I have two tables,i want to display one table information in one tab page n 2 nd table in 2 nd tab page. How can i build it? Please send me the reference links on the same? Thanks,

  • HELP!! My 15" Macbook Pro Won't Start Up Anymore!!!

    Okay, I'm in a horrible situation here.. My dear Macbook Pro suddenly refuses to startup at the time I need it the most; testweek. I really need it to work as soon as possible, so if anyone could help me I will be grateful forever.. It would really m

  • Question on summarization

    Hi, I thought I understood summarization pretty well but I found an example on the Todd Lammle book which is confusing me and makes me think that I might be missing something. 1. This first exercise asked to summarize 192.168.1.0/24 through 192.168.1

  • To "Activate" Treasury and Loan Management

    Hi, We just upgrade our Development to ECC6. Is there a way on how we can "activate" a Treasury and Loan management in ECC6. If any? Thanks for any assistance,

  • Front Row Preview

    I would like to turn off the movie preview in Front Row. Scrolling through movies takes forever with this feature. Please help!