Gnome Panel applet that shows output of system command.

Hi all;
Because of the recent hostile takeover of #archlinux channel by tilling WM fanatics..    I will ask here..
Does any one know of a Gnome Panel applet that shows the output of system command of your choice?
For people who Conky is a bit too much and they only want a simple piece of data available (like what is the current IP on ppp0 interface) like me..  this is a necessity.
If its not in existence I would probably make one.. shouldn't take long, I also would like to hear if there is any interest.
Thanks

That's exactly what I was looking for!  Thank you!
Changed code to:
$dism = "X:\Windows\System32\Cmd.exe /c start CMD /k dism /apply-image /imagefile:D:\W7x86.wim /index:1 /applydir:C:\"
And voila, new window opened with the live output of dism.
new... and have a glazed over look about my eyes to prove it...

Similar Messages

  • How to create an applet that shows a pdf as non-editable.

    Hi friends,
    Does any one know how to create an applet that shows a pdf document (should make that pdf a non-editable one) while clicking a link.Its urgent for me as I have to complete this one tomorrow itself...please help me...
    I am able to view the pdf document but that cannot be make a non-editable one.
    Can anyone gave me the code for that one....please I am not very much good in Java.

    PDF is a proprietary format and Java doesn't support it by default. Are you using a 3rd party tool to create the PDF? If so, you need to review the developer docs to see how to make the document non-editable. Frankly, I don't see why you're using an Applet to view a PDF in the first place. What exactly are you trying to do. I'm confused.

  • Text missing in gnome-panel applets

    Hi
    I have a slight problem with the some panel applets in that they don't show any text or only show random letters (e.g. the text disappears form the clock applet and when I expand the calender it is totally empty of anything.)
    I'd post a screenshot but I'm not entirely sure about the rules regarding that here.
    This happens on some applets (like the clock) but the cpu frequency applet is fine. It also occurs, seemingly at random in other places (the preferred applications dialogue for instance)
    I'm really not sure what to do and have not been able to find anything on the internet so any help would be appreciated.
    If you need more info, please ask.
    I am running arch64 with compiz-fusion and avant-window-navigator
    thanks
    C

    Yes, I have the same problem. It has gotten a lot worse after the latest xorg update: gnome now crashes for me on login so I had to disable compiz completely.

  • Showing output to a command window

    Hi Friends
    i have an application where i have implemented sockects (server-client) using
    client = new Socket(IP,port num); // client
    server = new ServerSocket(port num); // server
    clientSock = server.accept(); // server
    now im sending a SQL query from client to server and at server side i m executing it through jdbc.
    i have converted my server socket program to windows service(through some software). So there is no command prompt opened for the Server program.
    Now the proiblem is that my requirement is to open a new command window through my server program and show the return result from the query on that window and then close it.
    in my server prog i'have writen
    Process p = Runtime.getRuntime().exec("C:\\WINDOWS\\system32\\cmd.exe");
    but its not getting opened.
    if it does also, i dont have a clue how i'll send the data returned from the query to that window..
    HELP!!!!

    no my project reqirement is that we have to show it
    in command prompt window.
    Now im trying to open this command prompt from my
    server socket program. which is a windows service.
    now the problem is that cmd.exe is getting opened but
    im unable to see it bcoz it is getting opened in my
    server socket service's environment.
    What im looking for is to how to open cmd.exe in new
    environment and send some data to it to display on
    it???Why does it need to be shown in a command window? Is the user going to interact with the program (or the command window). If all you are doing is displaying a result a dialog is a much better answer. Ask your project management about it. If it is only that they like the way the command window looks (which is the only reason if the user does not need to interact with it) then set the back- and fore- ground colors and the font, so that it looks like the command window, and your good.
    If the user does not need to interact with the thing, then your program attempting to interact with a command prompt is only introducing a complication and a requirement that you don't need.
    Like I said, ask your project manager if you can use a dialog. It is not only easier, it is much more flexible (and sensible).

  • Getting the output of system commands in air

    Hello-
    Can someone explain how with flex and air one would run a
    system command and save the output to an array or string?
    Thanks.

    Running other programs, including system commands, is not
    supported by AIR at this time.

  • I am trying to set up ICloud on my MacBook pro and I have the most recent software but all that shows up in system preferences is mobile me still.  Why is that?

    Mobile me is still there and I don't have a mobile me account so I cannot log in.

    I am having the same problem.
    My iMac has kept up to date with OSX now at 10.7.4. I successfully switched to iCloud yesterday - and System Preferences shows iCloud icon.
    My 2 laptops (Air, Pro) I have realised are behind thet times - both are on 10.6.8. In both cases Software Update says they are up to date!
    I am wondering if this has something to do with the fact that I was very lazy and bought the OS X Lion from the App Store - downloaded onto the iMac and then transferred legally to the laptops with a USB drive.
    I have tried to update the laptops with a download of 10.7.1 (and also 10.7.2) but the system wants a 10.7 upgrade first.
    I am now downloading the whole of Lion again from the App Store, to see if that will allow me to update the 2 laptops.
    Any insight out there? I will report progress..........

  • [Request] Move Windows Control Panel applet from "System and Security" to "Programs"

    The "Flash Player (32-bit)" Windows Control Panel applet should be  moved from "System and Security" to "Programs" where the Java applet is.
    Vote: https://bugbase.adobe.com/index.cfm?event=bug&id=2953107
    Thanks

    njb,
    Why not just run the ThinkVantage System Update and let it install as usual. You can also "un-check" those drivers that you don't want to install.
    *Non Lenovo employee*
    I have a Y2P (i5) ... Feel free to ping me if you want me to test some applications with your Y2P if you have the same model. I don't mind keep doing recovery on it if needed .... =)

  • Gnome panel issue in solaris 10 - help

    Hello ,
    I have here solaris 10 (137111-01) on sunblade 1500 machine ( total 50 machines). There is a strange problem appearing since this week, when a user logs into JDE(gnome DE) then users gets logged in but gnome-panel does not show anything. If PID for gnome-panel is killed, gnome-panel restarts but again it is blank ( grayed out)
    The above issue new and only for nis+ users whose home directories get auto mounted from solaris nfs servers. Let me say here that it worked fine until now for these nis+ users but now. They are forced to use common desktop env which they don't like.
    Local user such as root or any other local use gets the gnome-panel with start menu and everything works fine for it.
    I have tried restarting nis+ services as well as nfs.server service and rebooting the nis+ clients which have the issue but still hasn't helped it.
    Somehow I managed to set panel preference to Normal (from Restart) and then killed the Panel PID. Started with truss,
    Here is the truss o/p.
    http://pastebin.com/raw.php?i=thvekw7VAnother thing observed is when the nis+ user logs into these workstations, they can't do ssh to any machine , it hangs and CTRL C also doesn't kill it. They have to close the terminal itself to kill it.
    Gnome -panel grayed out -screen shot : http://img695.imageshack.us/img695/5835/gnomepanel.jpg
    Additional message from /var/adm/messages on workstations,
    Mar 30 16:23:23 workstation26 pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
    Mar 30 16:23:23 workstation26 genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
    Mar 30 16:23:24 workstation26 pcisch: [ID 370704 kern.info] PCI-device: sound@8, audiots0
    Mar 30 16:23:24 workstation26 genunix: [ID 936769 kern.info] audiots0 is /pci@1e,600000/sound@8
    Mar 30 16:23:25 workstation26 gdm[450]: [ID 944828 daemon.warning] gdm_slave_session_start: /home/username is not owned by uid 821.@ workstations,
    #id username
    uid=821(username) gid=500(group)
    # ls -ald /home/username
    drwxr-xr-x  67 username  group     4608 Apr  7 12:55 /home/usernamePlease help !!
    Thanks

    I am experiancing the same issue. User homes are on nfs automount. No NIS is set up currently. The problem appeared after the home directories were mounted with nfs3. Previously they were mounted as nfs4. But even newly created users get empty gnome panel.

  • Shows output / summary after executing a procedure

    Developers have come to me, with below challenge, I am not able to solve / help with, found nothing from my 1 hour search on Google and forums.
    Is there parameter in database or SQLPlus that shows output / summary after executing a procedure?
    I have few updates and few inserts in my procedures, I also user[b] execute immediate once on my proc.
    I want to know how many rows were updated / inserted, at the moment you just get ‘successfully completed.’ After executing a procedure.
    SQL> @myproc.sql
    PL/SQL procedure successfully completed.If anyone is 100% it's not possible, and you have to do it manually using dbms_output, please let me know.
    Thanks for any help

    PL/SQL executes inside the Oracle server process that is servicing your client session. How can it display anything on the client side?
    SQL*Plus (a typical client) displays information messages such as "PL/SQL procedure successfully completed." - and it reads the DBMS_OUTPUT buffer in PL/SQL and write it to your display (when the SERVEROUTPUT SQL*Plus environment variable is set).
    PL/SQL is incapable of "displaying" anything. Rendering is done the client.
    It is important to grasp this basic client-server concept.
    PL/SQL is also in fact two very distinct languages that are tightly integrated. PL and SQL. When PL executes a SQL statement, it does so via the same basic Oracle call interface as any other language. Part of this call interface contains the results of the SQL statement executed - this not only include a return code, but also the number of rows reported affected by the SQL engine. PL "publishes" that result via its system variable called SQL%ROWCOUNT.
    However, due to the way PL calls SQL with respect to the different ways you can construct SQL in PL (implicit cursors, explicit cursors, ref cursors, etc), this variable is only valid when dealing with an implicit cursor. Cursor "system/SQL" variables also exist and these are prefixed with the variable name of the cursor in the format <cursorvar>%<sqlvar>.
    Details can be found in the [url http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm]Oracle® Database PL/SQL User's Guide and Reference.

  • Xfce-session-logout from gnome-panel

    hello i use xfce...i got tired of xfce taskbar and i installed gnome-panel
    but when i click on system and then log out
    nothing happens
    i made a launcher to log out.. but i would like to hit System and Log out
    How could i do that?
    with this launcher im able to logout
    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Type=Application
    Name=xfce4-session-logout
    Comment=xfce4-session-logout
    Categories=Application;GNOME;GTK;Core;Utility;
    Exec=xfce4-session-logout
    Icon=application-exit
    Terminal=false
    StartupNotify=false
    GenericName=xfce session logout
    OnlyShowIn=GNOME;
    StartupNotify=true
    NoDisplay=true
    but i would like to log out from hitting system option then log out
    http://img22.imageshack.us/img22/3959/menu002.png

    #!bin/sh
    #~/.xinitrc
    #Executed by startx (run your window manager from here)
    #exec wmaker
    #exec startkde
    #exec icewm
    #exec blackbox
    #exec fluxbox
    exec ck-launch-session startxfce4
    but thats not the problem..thanks anyway

  • My applet wont show me pics

    Hi,
    I have created an applet that shows a simple animation.
    Well i made it on me computer. I started off getting the images by typing the full url as shown below:
    String path = "C://jbuilder3//myprojects//animation//";
    String picsrc[] = { "emty.gif","m.gif","ma.gif","mat.gif","matx.gif" };
    Toolkit kit = Toolkit.getDefaultToolkit();
    for (int i=0; i < pic.length; i++) {
    pic[i] = kit.getImage(path+ picsrc);
    well i wont to all ways work on a web site so i changed a few lines:
    String picsrc[] = { "emty.gif","m.gif","ma.gif","mat.gif","matx.gif" };
    Toolkit kit = Toolkit.getDefaultToolkit();
    for (int i=0; i < pic.length; i++) {
    pic[i] = kit.getImage(getCodeBase()/*path*/+ picsrc[i]);
    When i used the getCodeBase command me images dont appear, even if i put the images in the right place.
    can you help me correct this please.
    thanks in advance!!

    Change your directory path:
    FROM
    "C://jbuilder3//myprojects//animation//";
    To
    "C:/jbuilder3/myprojects/animation";
    I think that works properly

  • How to run system command

    Hi
    Is that possible to run system command in indesign javascript?
    Becase i need to run a command in run prompt while script running in .indd file.
    Any idea please let me know

    Hi Maciej,
    For time being i m already using the execute() only for generating pdf from ps.
    In this case i cant able set job option in distiller.
    The problem y i m trying to run system command is i need pass some parameters (ie., job option, mypsFile) through my script.
    Is there any other sollutions?
    Thank and Regards
    Christy

  • [solved] nm-applet does not show up in Gnome panel

    Hi all,
    I installed networkmanager, network-manager-applet and dbus this afternoon. As well as a fresh install of Gnome. This is all done on my laptop, which my wife wants to use now and then. I always set up the network CLI, but now I will need a nice flashy applet in the Gnome panel.
    I managed to run the network-connection-editor as root, and got the network up.
    I had some dbus problems when I tried launching nm-applet, but fixed it with a dbus-hack I found in some other thread. But when I now launch nm-applet, it says that there allready is an instance running of nm-applet.
    I guess it should show up in the panel, if it is. But I don't see anything there... Do you have any ideas of what I forgot to install/configure/check.
    Thanks,
    jocom
    Last edited by jocom (2011-02-19 19:46:58)

    There have been a couple similar posts recently. I'm not using Gnome anymore or networkmanager, so I don't know if there's a problem with it or not. If I remember correctly I had to install gnome-panel-bonobo, and I believe python-notify and gksu too. You can do a search on the wiki for networkmanager, there is a page for it that explains the configuration changes you'll need to make. Hope it helps.
    Last edited by stlarch (2011-02-19 18:16:26)

  • GNOME-Panel looks funny and the system is slow? [SOLVED]

    My up to date installation with Arch started to work really slow today. Even the animation when you open a new tab in Firefox lags like hell. And at about the same time my GNOME panel started looking funny:
    As you can se the toogle button looks weird to. Its not my theme nor the Murrine engine.
    This is how it should be:
    I cant remeber doing anything out of the ordinary? It kinda just happend. I have no idea at all whats causing it, so I dont now how to debug the problem? I feel like a complete noob atm.
    Last edited by Hund (2010-09-06 20:23:49)

    sand_man wrote:
    Hund wrote:It's been like 2 days since the problem ocurred. I can live with bugs like this, but it's seriosly driving me crazy not knowing whats cuasing it.
    You can grep the date from the pacman.log output to show you what was upgraded on that day.
    I meant about 2 days, it could be more or less. I've checked the log pretty thoroughly serveral days back but I cant find anything, but I dont trust myself either though.

  • Gnome clock applet doesn't show weather

    For some reason, i think with the upgrade to gnome 2.22.1 from 2.22.0 the clock applet stopped showing the temperature and weather icon that it used to show.  I don't know why.  Anyone know of a reason?

    azleifel wrote:Just configured it as well - not something I've ever used before - and it worked for me.  What I did was add a location and check "Show weather" in the clock applet's Preferences dialog, closed the Preferences, clicked on the clock to bring up the calendar, clicked on Locations, hovered the mouse pointer over the location that I had added (which was under the world map) and clicked the "Set" button that appeared (which turned into a home icon).
    Excellent! This worked for me and it also told me how less of a normal user that relies on GUI I am these days. Before I'd almost certainly figure this out but nowadays I feel reluctant clicking-through for solutions. Rather read and google it up. Anyway, you saved me hours for which I'm thankful!
    d3br074 wrote:I tried what Azleifel suggested, but there was no "Set" button that I could find.  it just wasn't there!? and I have tried removing the clock and adding it again but no change.
    Did you actually put your mouse cursor over the big neat clock? Did you try to move it around the timezone area name, the time (all on the right side of the neat looking clock)? In my case - GNOME 2.32.0 - the button was called Edit. After I clicked it GNOME requested my user password (the one I've had a GNOME session running for) and once I entered it weather icon appeared on the far left side of the clock applet:
    rcorder wrote:
    Turns out, the clock applet will NOT show your weather/temp unless the timezone in your location matches the TIMEZONE variable set for your system (in /etc/rc.conf).  For me, I had to change mine from 'America/Los Angeles' to 'PST8PDT', which is what I had in my rc.conf.  After that, everything worked as expected.
    Here is the same bug reported in Ubuntu:
        http://www.mail-archive.com/ubuntu-bugs … 54308.html
    Seems irrelevant. I had two different timezones and was able to get it working as described above. Nevertheless, I tried what you suggested and put a timezone I choose for weather report in clock applet and that did not show it until I clicked Set button and entered my password.

Maybe you are looking for

  • Can I use the sim from my iphone 5c in the ipad air wifi cellular?

    Can I use the sim from my iphone 5c in the ipad air wifi+cellular?

  • Imac vs eos 7d camera problems ?

    why does my iMac not recognize my eos 7d camera and does the software of canon eos utility doesn't work either

  • Bsp page can't be displayed

    Hello, I am learning bsp, using sap Sap tutorials. Problem I have is that I can't display the BSP pages. The first exercise is very simple and I was working at my place  on mini sap system. In the office on system 6.4, and internet explorer version 6

  • EDT/EST timezones in TIMESTAMP

    Hi guys, This is very urgent.....Help please. In 9i DB, I need to capture date and timestamp with EDT or EST time zone specifiers. For testing pursposes, I wrote the following code and the result is as: SET SERVEROUT ON DECLARE v_date TIMESTAMP WITH

  • Exporting Premiere Pro CS6 project to AVI

    Can sounds a little funny, but since I've upgraded to Creative Cloud CS6 I am experiencing troubles finding out how to convert any file to AVI output format. I can't find the right format in the Presets pannel for that (amongst the system presets in