How do I start an app using transset-df with the command line?

I'm using openbox and have found that I can make xfce4-panel transparent using transset. The only problem is that I have to run "transset" and then click on the panel every time. Is there a command I could just type in to the command line that would start xfce4-panel with .75 transparency? I could then add that to my autostart.sh file and all would be good and dandy.
What I was thinking is maybe there's a command like
transset-df .75 xfce4-panel
that starts up the panel with 75% opacity. Obviously that doesn't work because I tried it. I also read something about using a script, but I don't know how to write those. Perhaps there is a way to set it so whenever xfce4-panel is started, transset-df sets it at 75% opacity? How would I go about doing this?
Last edited by Redrazor39 (2009-06-11 15:15:19)

Openbox seems to be doing a 'tidy up' of all windows after autostart.sh completes.
This would be fine, except for the fact that the tidy up re-renders every window and while it does so it re-sets transparency as part of the same process.
So, to get your xfce panel to stick at the transparency setting you apply with transset-df, you need to ensure the transset-df is done after autostart.sh finishes.
The easiest way to achieve this is to create a small script, say in /usr/local/bin
# /usr/local/bin/openbox-xfce-panel-transset
# Set xfce4-panel transparency after safe delay
sleep 1
transset-df -n "xfce4-panel 4.6.1" 0.75
Add a call to this as the last line of your autostart.sh
# Set xfce4-panel transparency after autostart.sh has exited
openbox-xfce-panel-transset &
Regards,
Mike
Last edited by bluearcus (2010-01-08 19:25:56)

Similar Messages

  • How to enable telemetry logs and where can i find the command line for sun

    Hi i tried creating the telemetry logs directory but the logs are not being populated. i created the following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.
    Also pl. tell me where can i get the command list for sun one messaging server to use the command line utility to list, delete mailboxes. also can i search for all the mailboxes under one domain name. if yes then which command i have to use.
    thanks in advance.

    Hi,
    Hi i tried creating the telemetry logs directory but
    the logs are not being populated. i created the
    following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.Make sure the permissions (ownership) on the user directory and the sub directory match those that messaging server uses - by default mailsrv:mail. This is the most common cause of the telemetry data not being created. The other thing to verify is that the user's account isn't stored as user@domain, otherwise you may need to create the directory as the entire user@domain (try both just to be sure).
    Also pl. tell me where can i get the command list
    for sun one messaging server to use the command line
    utility to list, delete mailboxes. also can i search
    for all the mailboxes under one domain name. if yes
    then which command i have to use.The Messaging Server reference guide is a good place to start (lists all the command-line utilities/flags and what-not):
    http://docs.sun.com/app/docs/doc/819-4429?l=en
    The mboxutil command is used to list/create/delete mailboxes and you can use a pattern to only list those mailboxes in a specific domain.
    Regards,
    Shane.
    thanks in advance.

  • How I can set my default browser mozilla firefox from the command line in Windows 7?

    I need to set my default browser mozilla firefox from the command line, ie without using the GUI.

    '''-setDefaultBrowser''' is the correct command - you need the two capital letters.
    Why Firefox 17.0.1? You would be missing a number of important security updates. Firefox 17.0.'''9''' is the current ESR release version.

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • App fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Hi,
    i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.
    it fails to compile when i do it from command line through mxmlc.
    i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\
    the mxml file is test.mxml
    i am invoking like the following
    c:\<bin>\mxmlc test.mxml
    i dont have any dependency on any of custom swc file.
    i am getting the following type errors when i compile it from my .as file
    Error: Type was not found or was not a compile-time constant: TouchEvent
    Error: Type was not found or was not a compile-time constant: File.
    Error: Type was not found or was not a compile-time constant: FileStream
    could you please let me know what i am missing here ?
    thanks,

    Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
    If its a mobile app then use mxmlc +configname=airmobile
    -Gaurav
    http://www.gauravj.com/blog

  • How do I create an AppleDouble "dot-underscore" file from the command line?

    We're going through a process of migrating NetWare shares to Windows shares (without File Services for Macintosh) where I work. One concern is that the NetWare shares are shared as AFP volumes to the Macs. All the finder info and metadata for the files is thus stored natively and invisible to all the servers involved in the migration. If the Novel migrator or robocopy copy the files, resource forks and metadata are lost.
    The procedure I've provided the migration team involves making a UFS disk image, identifying files on the NetWare share that have Mac resource forks or metadata, copying the files from NetWare to the image one-by-one (whereby the OS creates the AppleDouble dot-underscore files), and then copying the dot-underscore files back to the NetWare share so that when either migration tool is used, the files correctly appear on the Windows shares in AppleDouble form with forks and metadata intact. This works reliably enough, but it involves a HUGE amount of network activity, and there's issues with making sure that the permissions are correct in the process.
    Is there a way to directly produce the AppleDouble dot-underscore file from a file on an AFP share. Things like SplitForks, RezWhack, etc. don't work on shares. I cannot find any command-line utility, AppleScript extension, Automator action, etc. to do it.

    Thank you. I am aware of that, cpio as well. The problem is that I don't want to have to copy the files, just create the dot-underscore file. For various reasons, we still need to use the Windows-based migration tools to migrate the files. So what I want is something that can read the metadata and resource fork WITHOUT making a copy of the file to produce the dot-underscore file. The solution I
    currently have for them works like tar (without the extra step of storing things in the archive or requirement of using OS X tar to unpack it).

  • How to display an xml file using a servlet with the styles given in an XSL

    Dear Developer...
    i have xml and xsl files.
    Now i want to display the html output produced by the xsl and xml using a servlet...give me any samplecode.

    ... except for the "using XSLT" part. But that doesn't make sense anyway because XSLT doesn't display anything, it just transforms data.

  • I used to beable to push firefox with sccm using setup.exe from the command line , this no longer works i want to be able to have a silent install run for all,

    In the past I have always created a deployment with sccm and installed firefox.exe with the /s switch from the command line what is the new switch for silent installation ?

    hello, have you tried it with the full installers that are available at https://www.mozilla.org/firefox/all yet?

  • Can flash player app be run and controlled in a system with only command line?

    I want to test my.  flash app in a remote linux pc. I am not permitted to install  desktop environment in that remote pc.
    So I am wondering if I can use flashplayer_10_sa_debug to run my app in a system with only command line access.
    And further, can I use some command option to interact with my app for doing something?
    If not , how can I reach my goal? Can you give me some advices?

    Hi,
    Can we get a status update for this? This seems to have broken Mac Projector files when published from a PC. Our old CD-ROM presentations no longer work. They throw the same error.
    Is there a bug ticket that we can follow? Any sort of timeline? I need to give an answer to my client on when this will be fixed. Telling them to disable Gatekeeper isn't really a great solution.

  • How To Parse The Command Line?

    Hello,dear. When I writing a C/S mode application,which performing download and upload files between the FTP server and the clients, I encountered the problem of parsing the command line.
    I intend to download file from the server side ,using this following format ,which is composed by four arguments:
    ftp>receive server's IPaddress portnumber filename
    The problem is I don't know how to parse the command line and store them to some objects and using it.
    I'm right here waiting for the nice problem-shooter.
    Thanks for reading my poor expression.

    In your console application main class
    public static void main(String[] args)
    // code
    args is a sting array with the command
    line itemsI think you missed the point or forgot the ":-)". This is the "Socket", not the "New to Java" forum.

  • How to output instructions to the command line?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters? well you can execute the instruction directly not even going(piping through) to commandline.
    try{
    String command = "ls"; // for windows for example String command = "notepad";
    Process execCommand = Runtime.getRuntime().exec(command);
    // now if you want to pass parameters along with the  command use this
    String command2 ="ls /tmp" ; //respectively for windows
    // if there are many arguments which needs spaces then use
    String [] longCommand = new String[]{"find","whatever","path"}; // here find is the command and rest two are desired arguments.
    // now if you want to read the output from command line
    InputStream in = execCommand.getInputStream();
    int c;
    while ((c=in.read())!= -1)
    // process c the way you want
    } catch(IOException io)
    {}Edited by: KillerDev on Nov 2, 2008 12:00 AM

  • How to pass in variables using the command line when starting ActionScript native app

    How do I pass in variables or startup arguments using the command line when starting an ActionScript native app? For example, I have my app call MySweetWidget and it has been compiled with Adobe AIR captive runtime so now I have MySweetWidget.exe.
    In the command line, I am calling MySweetWidget.exe and would like to pass in variables or properties to the application. I would assume that those variables are then read from the loaderInfo.parameters object.
    Please let me know if the Adobe AIR runtime supports passing in parameters to the native runtime. If so, I would like help determining the correct format of how to pass in the variables. Then would you read those from the loaderinfo.parameters object?
    Thanks,
    Jeff

    I found the answer to my own question:
    Yes it is a supported feature. It is documented on the following page:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApp lication.html#event:invoke
    When you subscribe to the invoke event of the NativeApplication it will subsequently dispatch the event and you read the e.arguments Array object to get the startup arguments passed into the native application.

  • How do you pay for apps using an iTunes gift card.  I have money on a gift card but only my credit card shows up as method of payment.

    How do you pay for apps using an iTunes gift card.  I have money on a gift card but only my credit card shows up as method of payment.

    After establishing the Credit Card account (i.e. after you have made purchases), you can remove the credit card information by editing your payment info, choosing "None".
    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • How to create a new app using existing Dev & Dist certificates

    Okay, I have already created one app that has been approved by Apple. Now we're ready to create a second app and we're trying to create the .p12 certificates using the existing Apple Dev and Dist Certificates. For some reason we can not get the .p12 certificates for the new app to link up with the existing Apple Dev and Dist certificates. I don't understand what I'm missing. Any help would be appreciated. Thanks!

    You must have 2 folders with the following :
    Dev:
    aps developer identify.CER
    CertificateSigningRequest.certSigningReq
    Certificats.P12 (already created for your previous app)
    Certificats Push Dev.P12
    Mobile Provision
    Distri
    aps prodution identify.CER
    CertificateSigningRequest.certSigningReq
    Certificats distri.P12 (already created for your previous app)
    Certificats Push Prod/distri.P12
    Mobile Provision
    Try, you will know quickly if you havent do it well

  • How can I start System Preferences from the command line?

    Hello All,
    I have an issue I'm not quite sure how to solve. I have been tasked within my business environment  with tightening security on a Mac Leopard system and I've been granted Admin Rights to do this on a temporary basis.
    The problem is as follows:
    1) The original Sys Admin that set up this system is gone, no longer available.
    2) He was a Dvorak Keyboard fan and set up the system for a Dvorak Keyboard.
    3) The system actually has a standard Apple keyboard and is marked accordingly, i.e., qwerty (Most Users in the building have stopped using this system altogether - a terrible waste of a good system - even though some of their apps can be run normally (US style qwerty settings). The command line is useless, as is texteditor.app and a few others unless you know Dvorak layout)
    5) When I open System Preferences, the Dvorak keyboard checkbox is grayed out and I cannot change it. There is no lock at the bottom of that particular screen for me to unlock.
    6) Even though I select the US Keyboard at Login, and some apps work accordingly (like MatLab for example) the terminal is borderline useless. I spent over 2 hrs yesterday doing what should have been able to be done in about 30 minutes. I estimate a frustrating and mistake prone additional 8 to 10 hours to do what is normally a a 4 hour job at the command-line.
    7) I do not have the time or desire to re-mark all the keys on the keyboard, particularly since it is not my call to do so, nor do I have the time to re-learn Dvorak touch-typing, and finally I do not want to re-load the entire system. I just want to change the darn keyboard to a standard qwerty keyboard that is somewhat useful in a terminal environment with vi, command line, etc. It's either that or I go mildly insane
    This is frustrating as all get-out. The new Admin logged in and was able to uncheck his Dvorak settings (he is not a UNIX guy, nor is he comfortable om Macs), and we were hoping this was a system wide setting, but No. We re-booted the system, I logged in, still Dvorak, and the checkbox was still grayed out.
    So I figure, short of re-loading the entre system and all the applications necesary, I can either start the Systems Preferences GUI using sudo and hopefully that will change system-wide settings, or I can delete the .AppleSetupDone file and resetup the system (if the keyboard settings are part of the setup) without spending a couple of days reloading everything and re-setting up users, networks, etc.
    Needless to say, I am hoping for the easiest and quickest solution to this extremely frustrating and  aggravating problem.
    Thanks.

    For my situation the following C# code does the job:
        Process.Start(
           @"c:\Program Files\National Instruments\CVI71\cvi.exe",
           @"c:\temp\experiment.c" );
    The file must already exist.

Maybe you are looking for

  • Hp LaserJet 1536dnf MFP will not copy via auto feeder

    The printer will print and scan, and copy from the glass just fine too. The problem is when you want to copy from the auto feeder. You put the paper in and press copy. It feeds it through but nothing prints out.

  • Can i use a 3 terabyte drive with timemachine

    TimeMachine cant make a back up on my Segate hard drive. it use to, but i constantly had to erase and start over now it wont work at all

  • 845pe FIr CPU fans

    Hi Just a thought - With all the reported problems with the temp/ fan speed system on this board I read about does anyone know of a good CPU cooler with a bulit in temp probe, along with separate temp and fan speed display- Seems a good solution to t

  • Shaded edges in your div wrapper

    I'm not sure what term to use when describing the design style I'm trying to convey.  So for now, I'll call it "Shaded edges of a div wrapper". To see what I mean, follow this link: http://www.ahiweb.ca/demopic.html You'll see that I drew red arrows

  • OpenDNS servers don't 'stick'?

    Each time I delete my Road Runner DNS server and add the OpenDNS servers (both under System Preferences->Network as well as on my AirPort Extreme 5th Gen) the Road Runner DND server always resets my OpenDNS settings under Network: How can I get the O