Is there any better-looking OSD than xosd?

Hi there!
I recently got into xosd, but find it rather ugly. So I'm wondering if there's any other OSD implementation that looks a little less blocky. I've heard of notify-osd, but I'd rather do without having a daemon running all the time.
So is there any viable alternatives?
Best wishes,
Rufus

I think you cannot go without a deamon for notifications. You could use the xosd library and program your own look and feel of notifications. In example, I did my notification system like this:
(import chicken scheme extras)
(use posix xosd)
(define (xosd-set-pcm osd)
(xosd:set-align osd 'left)
(xosd:set-bar-length osd 40)
(xosd:set-pos osd 'bottom)
(xosd:set-vertical-offset osd 1)
(xosd:set-horizontal-offset osd 180)
(xosd:set-colour osd "#B3B3B3")
(xosd:set-timeout osd 2))
(define (xosd-set-msg osd)
(xosd:set-align osd 'center)
(xosd:set-pos osd 'bottom)
(xosd:set-font osd "sans-8")
; *-bitstream vera sans-medium-r-normal-*-11-*-*-*-*-*-*-*"
(xosd:set-colour osd "#B3B3B3")
(xosd:set-vertical-offset osd 2)
(xosd:set-horizontal-offset osd -3)
(xosd:set-timeout osd 10))
(define (sighandler ignore)
(delete-file "/tmp/.ipcfifo")
(exit 0))
(define (ipc-server)
(define mypipe "/tmp/.ipcfifo")
(define amixercheck "amixer sget PCM | grep \"Left: Playback\" | grep -o \"\\[[0-9]*%\\]\" | tr '[%]' ' ' | tr -d \"[:blank:]\"")
(when (file-exists? mypipe)
(delete-file mypipe))
(create-fifo mypipe)
(set-signal-handler! signal/term sighandler)
(let ((osd-pcm (xosd:create 1)) (osd-msg (xosd:create 1)))
(xosd-set-pcm osd-pcm)
(xosd-set-msg osd-msg)
(let loop ()
(let ((pipedata (call-with-input-file mypipe read-line))); this blocks - sleep won't block
(cond ((string=? pipedata "checkpcm")
(let ((pcmlvl (call-with-input-pipe amixercheck read)))
(xosd:display osd-pcm 0 pcmlvl)))
(else (xosd:display osd-msg 0 pipedata))))
(loop))))
(process-fork ipc-server)
With using that I have:
http://ompldr.org/vOWtidQ/bar.png
http://ompldr.org/vOWtidg/msgr.png

Similar Messages

  • Is there any better text editor than vi in Solaris?

    I use to use the RedHat-LINUX and find the vi is much better tahn that by Solaris. I wonder if there is an other editor than vi?

    I don't think Solaris 10 includes vim by default. I think he would have to install the pkg separately.

  • Is there Any better Developer tools than Report6i/Form6i

    Hi Is ther any other Editior Similar to TOAD(pl/sql Developer)
    Which can ease the development by popping the method/properties

    Yes i have
    But can that be used for Developing the FORMS/REPORTS Applications
    The One that i Used was trial version for some pl/sql Development, No, to develop Developer Forms and Reports you have to use Oracle Forms and Reports Developer. Alternatively you could use Designer for CASE forms development and Discoverer for reports, but these are completely different tools/processes.
    There are no third party Forms and Reports tools that will generate Oracle forms.

  • Is there any better way for updating table other than this?

    Hi all, I need to update a row in the table that require me to search for it first (the table will have more than hundred thousands of row). Now, I am using a LOV that will return the primary key of the row and put that primary key to DEFAULT_WHERE property in the block and execute query command to fetch the row that need updating. This works fine except that it require 2-query-trip per update (the lov and the execute_query). Is there any better way to doing this? This update is the main objective for my application and I need to use the most effective way to do it since we need to update many records per hour.

    Thanks Rama, I will try your method. Others, how to query row instead of primary key? I thought that querying primary key is faster due to the index?
    BTW, what people do if you need to update a table using Form? I have been using the LOV then execute query since I first developing form. But I am building a bigger database recently that I start worrying about multiple query trip to dbms.
    FYI my table will have up to million rows on it. Each row will be very active (updated) within 1-2 weeks after it creation. After that it will exist for records purposes only (select only). The active rows are probably less than 1% of all the rows.

  • I want to put my .m2ts movies (Sony HD recorder) on my Ipad3. It looks they need to be converted to h.264 format. Question is will Quicktime Pro work or are there any better software solutions. Running XP system. Thanks

    I want to put my .m2ts movies (Sony HD recorder) on my Ipad3. It looks they need to be converted to h.264 format. Question is will Quicktime Pro work or are there any better software solutions. Running XP system. Thanks

    You could try Handbrake, it works quite well.

  • If I host with Business Catalyst, will search engines fine me any "better" or Worse than go daddy?

    If I host with Business Catalyst, will search engines fine me any "better" or Worse than go daddy?
    I am new to Muse and love it! Not sure if the hosting site matters one way or the other.

    Liam has some great points. Some other things to consider is that google (just talking one search engine at the moment) more than likely know what a BC site looks like and is made of and would know the best ways to index it assuming you use some of the features of BC and not just straight up HTML.
    Godaddy is straight up HTML so as far as indexing goes I think BC has an advantage as it is a known system much like wordpress.
    As far as IP blocks, bad neighbours, etc only google will know that information and it's not easy to say which is better.
    For example if someone on BC spam's there website everywhere or engages in dodgy SEO practises, spambots etc. Their site is going to be pushed down, if you happen to be on the same IP or close to that site you will be in a "bad neighbourhood" and it may affect your site in the short term. This is the case for ANY hosting solution, so take it all with a gain of salt.

  • I am developing a flex web application which needs to access Other domain ,is there any other way other than cross domain policy available ? please help

    i am developing a flex web application which needs to access Other domain (Payment Gateway API),is there any other way other than cross domain policy available ? please help.
    we donot have access other domain thats why we want other solution..

    All the paths to CFCs are the same in my live production site.  Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."?  How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com?  The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as.  And at the top of that file it says that the file is not meant for editting.
    To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed.  Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine.  However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
    Thanks for your help!  I will now take a look at your thread.
    Message was edited by: ace0215

  • Is there any better way to test an agent?

    Every time when I changes some code in the agent, I have to restart the domain to load the new class file. I tried the reload the agent from the Oracle Enterprise Manager, but it is not working. The old agent is still going on. It gives me many troubles since I can't start the SMB server from Window 2000 terminal console. I have to go to the computer room to start SMB natively. Is there any better way to test an agent or start the SMB server in the Window 2000 terminal console?
    Your help will be greatly appreciated!

    Jailcorder requires a jail broken iDevice to work. While it is not illegal to jail brake your iPhone in the US it is illegal to jail break an iPad.
    If you do that you will not be able to use these board for help as the discussion of anything relating to a jail broken iDevice is against the TOU and the hosts will remove your posts
    In addition looking tha Jailcorder it seems it has not kept up with Apple. It doesn;t  work Xcode 5 and  IOS 7.
    On final thing to keep in mind a jail broken device behaves differently then one that is non jail broken. So even of you test with Jailcode you will still need to go through testing with a non jail broken device before submitting.
    All in all if you are serious about developing for IOS it would seem the better course is to get the Developer account now.
    regards

  • Is there any other method other than se78 to upload a graphic into SAP R/3?

    Hi,
      Is there any other method other than se78 to upload a graphic into SAP R/3?
    Anita Jeyan

    hi ,
    just use  OAER or RSTXLDMC program
    it will definately help you
    regards
    rahul

  • How to find out whether my Iphone 3Gs is officlially unlocked ( factory unlocked ) or "made" unlocked ? Can I upgrade its OS to OS 5 even if my phone is "made" unlocked ? how to up gared its OS ? are there any better ways to do it ?

    How to find out whether my Iphone 3Gs (OS version 3.1.3) is officlially unlocked ( factory unlocked ) or "made" unlocked ? Can I upgrade its current OS 3.1.3 to OS 5 even if my phone is not officlially unlocked ? how to up grade its OS ? what are there any better ways to do it ?
    Thanks,
    PRANAJ

    Depends wher you obtained the iPhone from and it's original supplier
    If the iPhone is an authorised unlock ( approved by the carrier) or was
    purchased from Apple as an unlocked iPhone  updating the iOS
    will have no effect on the iPhone and it's lock status
    HOWEVER if the software has been tampered with to remove the lock,
    updating the iOs will lock the iPhone back to the original carrier who holds the lock
    To find out the status of your iPhone  you could call Apple support
    and they may tell you if the iPhone is locked or not and if it is which carrier

  • Are there any specific files (other than swf) that are not supported in the content viewer?

    Are there any specific files (other than swf) that are not supported in the content viewer?

    Specifically -- Is there a limitation as to any content in a PDF that would keep it from displaying correctly other than swf?

  • Is there any better option than this slow query?

    Hi all,
    i want to find out lets say Ticekt no range from Variable1 - Variable 2, are all ready existed or missing from my ticket master table which is having a million records and the no grows timely.
    For example i want to find out in range 30000 - 50000
    if any missings it should give missing number are
    34567
    45678 etc . etc.
    i wrote a for.. loop and im checking one bye one from ticket master table using select count(*) from ticket_master where ticket_no = var, which is time consuming and server becoming slow when i issue this query. my ticket master ticket_no is indexed.
    any better idea advise please..

    I am not sure I understand your problem correctly.
    Here are some test datas:
    create table ticket_masters ( ticket_no number) ;
    exec for i in 1..1000 loop insert into ticket_masters values (round(i/0.97)); end loop
    select 200-1+rownum missing from ticket_masters where rownum<=300-200
      minus
    select ticket_no from ticket_masters where ticket_no between 200 and 300
       MISSING
           217
           250
           283i am select rownum from ticket_masters, but I could select from anything actually, a pl/sql table, dual group by cube(1,1,1,1,1,1,1,1,1,1), all_objects, ...
    Could you please do a desc ticket_masters to show me your datatype and also select a few ticket_no
    Regards
    Laurent

  • Is there a better external drive than the one Apple offers?

    Hello all,
    I've got the 15" Macbook Pro with Retina display, and of course I don't have a disc drive, was just wondering if there was a better quality drive than the one Apple offers? I will be using this drive to burn audio onto CDs if that helps (I DJ)
    ***Sidenote: I have no problem with paying for or using the Apple one, I just didn't want to get it to then find out that another brands' drive does the same or a better job for less money
    Thank you all in advance,
    Ryan Huff

    I actually have been reading some stuff online and came here after mixed reviews, I guess it's a very subjective topic,
    Like I said I've got no problems with the apple one, thank you for your help!

  • Is there a better video converter than QT pro for Mac?

    The title pretty much says it all...
    Is there a better video converter for macs? One that possibly is faster, and could handle muxed files?
    I've asked arround a bit in other places, and I've searched online, and what I can find is pretty much all for PC.

    Thanks.
    Yeah,I searched those, and they seem to be like they are going to kick butt.
    So again, thanks a bunch.

  • Is there any better and faster way to copy...

    can anyone teel me any better and faster way to copy...
    InputStream in = null;
              OutputStream out = null;
              try {
                   in = new FileInputStream(src);
                   out = new FileOutputStream(dest);
                   byte[] buf = new byte[1024];
                   int len;
                   while ((len = in.read(buf)) > 0) {
                        out.write(buf, 0, len);
              }catch(Exception e){
    }

    Here's a small program as a sample and for testing. Just ran a few tests with a file of 1.5 MB (buffered slightly faster) and a file of 45 MB (NIO much faster) ...
    import java.io.*;
    import java.nio.channels.*;
    public class Copy {
         public static void main(String[] args) {
              if (args.length == 3) {
                   File from = new File(args[1]);
                   File to = new File(args[2]);
                   if (from.exists()) {
                        long start = System.currentTimeMillis();
                        try {
                             if (args[0].equals("nio")) {
                                  copyNIO(from,to);
                             else {
                                  copyBuffered(from,to);
                        catch (Exception ex) {
                             ex.printStackTrace();
                        System.out.println("Time: " + (System.currentTimeMillis() - start) + " ms");
         private static void copyBuffered(File from,File to) throws IOException {
              FileInputStream fis = null;
              FileOutputStream fos = null;
              try {
                   fis = new FileInputStream(from);
                   fos = new FileOutputStream(to);
                   BufferedInputStream in = new BufferedInputStream(fis);
                   BufferedOutputStream out = new BufferedOutputStream(fos);
                   byte[] buf = new byte[8192];
                   int r = 0;
                   while ((r = in.read(buf)) > 0) {
                        out.write(buf,0,r);
              finally {
                   if (fis != null) {
                        try {
                             fis.close();
                        catch (Exception ex) {}
                   if (fos != null) {
                        try {
                             fos.close();
                        catch (Exception ex) {}
         private static void copyNIO(File from,File to) throws IOException {
                   FileInputStream fis = null;
                   FileOutputStream fos = null;
                   try {
                        fis = new FileInputStream(from);
                        fos = new FileOutputStream(to);
                        FileChannel chin = fis.getChannel();
                        FileChannel chout = fos.getChannel();
                        long size = from.length();
                        long total = 0;
                        while (total < size) {
                             total += chin.transferTo(0,size,chout);
                   finally {
                        if (fis != null) {
                             try {
                                  fis.close();
                             catch (Exception ex) {}
                        if (fos != null) {
                             try {
                                  fos.close();
                             catch (Exception ex) {}
    }

Maybe you are looking for

  • Can't download purchases due to download folder permissions on NAS

    I downloaded several podcasts using my iPhone whilst away at Christmas. My media library is stored on a Buffalo NAS with the library xml stored locally and after syncing with iTunes I can no longer download new purchases reporting error - 5000. "Ther

  • OS X 10.5 Leopard install disk won't mount

    I'm running OS X 10.4.11 on an iMac G4 and want to upgrade to OS X 10.5. I bought a retail 10.5.1 installation DVD set but I can't get the disks to mount on my iMac G4. I've tried loading it in with OS 10.4 running and I've tried starting up from the

  • File pick & process in sequence

    Hi Experts, We have a problem on client site, the problem is that we are picking files from FTP Server. The files are related to sales order and shipping notification. Both are on FTP system & sent at same time at FTP. Some times Shipping notificatio

  • R/3 Partner Function missing in CRM

    Hi Guys, There is partner function in R/3 called SR (Material safety sheet reciepient). This partner function is assigned as mandatory in R/3 while creating customers in R/3. However in the CRM system there in Role similar to that one. How do I get a

  • Server not finding image files

    I built a simple, blank page and placed 8 photos. Since this is not part of the site, I exported the site as HTML files and uploaded them to the server. This is what I did with the home page and photos and it's fine. However, this page won't load. I