[SOLVED] Autostart a program with a custom size window

Is it possible to add a line to my autostart in openbox to draw my startup xterm in any size I want?
Last edited by Kolt Penny (2014-09-09 05:26:06)

man xterm | less -p geometry
Are you going to keep asking these sorts of questions without doing even a scintilla of research yourself?
This is the final time you will be told: help vampirism is unwelcome here. Learn to search the web or read a man page before posting here.

Similar Messages

  • Opening a web page with a specific size window

    I have an interesting problem. I want to open a Safari window on my computer with a specific size and screen position. Is this possible to do? Maybe an HTML string? This would apply to a very specific web site.
    If it matters, I am using a Sling Box to watch TV on my iMac. I want a "small-ish" window that opens on the lower right of the screen. What happens now is the the window usually opens in the same place as last time (the lower right) but not always. Sometimes I have to go hunting for it. And it's almost never the right size or aspect ratio which has to adjusted manually each time.
    Another question: The new version of Safari insists on putting the web page name on the top of the window. Any way to turn this off?
    Thanks in advance.
    That's the little window in the lower right. See the page name?

    "Many" financial institutions and banks use special web software that all versions of Safari are incompatible with.  My bank is one of those.  The downloading, installing, and use of "Firefox" for an alternate browser is what they recommend, instead of Safari.

  • Custom Size Paper - Last Resort

    I'm using a Mac G4 PowerPC with OS X10.04 with an Epson Stylus Photo 2000P.
    I'm trying to use the Page Set-U menu in PhotoShop to print a custom document size 12x12 inches. The printer is capable of printing 13x19 in color. In the Page Set-Up menu I go to custom page size. I set up a new custom size file with the new size thand the margins and name the custom size. It shows up at the left under the customer file name. However, when I go back to Page Set-up and go to Paper size, my new customer size is listed at the bottom of all the Epson established custom-sized paper list, but the file name is in gray, not black, so cannot be selected.
    A hint might be that in the user defined area of the custom size window, I cannot get the Epson 2000P printer to show up. The only printer that will show is my Epson 5700i laser printer. The Epson 200P is my default printer in the Printer Setup Utilize window. Of course the 5700i will not print in color nor will it print 12x12. Is there a way I can get my Epson 2000P printer to show up in the user defined area? Maybe that's why my new custom size title does not appear as usable on paper size under the Print Setup.
    I talked at length with Epson. After trying all they could, obviously with no success, they said it must be a software issue. I can print all the other various sizes available in the Page listed on the Page Size under the Page Set-Up menu so they show in black, but not the custom size I developed that shows only in gray.
    I then called Apple, and was told they no longer support my computer. Thanks a lot Apple. I guess this is now my only option.
    Any help would sincerely be appreciated. Thank you very much if you can help me solve this issue.

    Hi - I'm not sure which printer you have or which application you're printing from, but your printer likely has a custom paper size setting.  In whatever application you're printing from, go into Print, select your printer and then choose Properties.  Depending on your printer, there will likely be an option for a customer paper size, where you can specify the size.  You might also go into Page Setup in your application and see if there is a customer paper size option in there as well.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • XSLT with large file size

    Hello all,
    I am very new to XSL. I have been reading a lot on it. I have a small transformation program which takes an xml file, an xsl file and performs the transformation. Everything works fine when the file size is in terms of KB. When I tried the same program with the file size of around 118MB, it is giving me out of memory exception. I would appreciate any comments to make my program work for bigger file size. I am posting my java code and xsl file
    public static void xsl(String inFilename, String outFilename, String xslFilename) {
    try {
    // Create transformer factory
    TransformerFactory factory = TransformerFactory.newInstance();
    // Use the factory to create a template containing the xsl file
    Templates template = factory.newTemplates(new StreamSource(
    new FileInputStream(xslFilename)));
    // Use the template to create a transformer
    Transformer xformer = template.newTransformer();
    // Prepare the input and output files
    Source source = new StreamSource(new FileInputStream(inFilename));
    Result result = new StreamResult(new FileOutputStream(outFilename));
    // Apply the xsl file to the source file and write the result to the output file
    xformer.transform(source, result);
    } catch (FileNotFoundException e) {
    System.out.println("Exception " + e);
    } catch (TransformerConfigurationException e) {
    // An error occurred in the XSL file
    System.out.println("Exception " + e);
    } catch (TransformerException e) {
    // An error occurred while applying the XSL file
    // Get location of error in input file
    SourceLocator locator = e.getLocator();
    int col = locator.getColumnNumber();
    int line = locator.getLineNumber();
    String publicId = locator.getPublicId();
    String systemId = locator.getSystemId();
    System.out.println("Exception " + e);
    System.out.println("locator " + locator.toString());
    System.out.println("line : " + line);
    System.out.println("col : " + col);
    System.out.println("No Exception");
    xsl file :
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="/">
    <xsl:element name="Hosts">
    <xsl:apply-templates select="//maps/map/hosts"/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="//maps/map/hosts">
    <xsl:for-each select="*">
    <xsl:element name="host">
    <xsl:element name="ip"><xsl:value-of select="./@ip"/></xsl:element>
    <xsl:element name="known"><xsl:value-of select="./known/@v"/></xsl:element>
    <xsl:element name="targeted"><xsl:value-of select="./targeted/@v"/></xsl:element>
    <xsl:element name="asn"><xsl:value-of select="./asn/@v"/></xsl:element>
    <xsl:element name="reverse_dns"><xsl:value-of select="./reverse_dns/@v"/></xsl:element>
    </xsl:element>
    </xsl:for-each>
    </xsl:template>
    Thanks,
    Namrata
    </xsl:stylesheet>

    One thing you could try to do is avoid using xpath like ".//" and "*".
    I had many problems in terms of memory consuptiom and performance with xpaths like above.
    Altrought you have a little more work to code your xslt it performs better, and probably you will write once and run many times.

  • Copying standard prog to custome program with includes that includes hd inc

    Hi gurus,
    i got one requirement,
    I have to copy standard program to custome program with includes ,that includes con tain few more includes. so how can i copy all the includes into the custome progam.
    please tel me.

    Hi Vijayam,
    In SE38, give the name of the standard program, in menubar goto program -> copy, which will take you to a pop up, check the checkbox for 'INCLUDES' to copy all the standard includes.  But this will not copy the custom includes(starting with Z). To copy the custom include, you need to create new include in your copy program.To create a new include, click on icon 'Display Object List' which will display the objects list for your program, now right click on your program name in this list and select CREATE-> INCLUDE. Give the name of include and now copy the code from standard program include to your include.
    I hope your problem is solved now.
    Regards,
    Pranjali

  • Printing Problem with custom size paper in Illustrator

    Hi having problems with my custom sized paper print using my canon printers it's the same on both the ip100 and the pro-100s,  it was printing fine until i've updated my illustrator and mac os Yosemite, it prints the image at a reduced size on the paper to what it should be does anyone have any understanding of this? I've tried everything i know, is this a driver or system problem?

    Hi there wasn't an option to set the default printer to pdf where would I do this?
    I've done a bit of a work around that seems to be working. I've put the page set up as A4 and then clicked on the printer utility custom settings and then unticked detect paper width, so I can put through the paper I want just got to tweak the x and y to get it right, its not the best but sitting here for four hours trying to figure it out, it will have to do for now. Thanks Jacob for your help, no doubt I'll be back in the morning, I'm burnt out now!

  • Static analyzer fails on WIX custom install action project: .dll' could not be opened -- 'An attempt was made to load a program with an incorrect format'

    On our build system, we use the global setting to code analyze all projects. One of our projects is a C# WIX custom action. This projects causes the build to fail with:
    EACustomInstallActions.CA.dll' could not be opened -- 'An attempt was made to load a program with an incorrect format.
    The ...CA.Dll target seems to be created by a WIX custom action. Does anybody have already encountered this issue and found a workaround?
    Full build output:
    <target name="ContractDeclarativeAssemblyCS" success="false">
                  <message level="normal"><![CDATA[Build Declarative Contract Assembly for C# D:\EA_MAIN_DB\AMI\bin\Debug\GEHealthcare.Isip.EACustomInstallActions.dll]]></message>
                  <message level="high"><![CDATA[C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /pdb:obj\x86\Debug\Decl\GEHealthcare.Isip.EACustomInstallActions.pdb /errorreport:prompt /warn:0 /define:DEBUG;TRACE;CONTRACTS_FULL;CODE_ANALYSIS /reference:"C:\Program Files\Windows Installer XML v3\SDK\Microsoft.Deployment.WindowsInstaller.dll" /reference:"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.ConnectionInfo.dll" /reference:"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.Management.Sdk.Sfc.dll" /reference:"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.Smo.dll" /reference:"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.SqlWmiManagement.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /addmodule:D:\EA_MAIN_DB\AMI\src\radstore\Installer\EACustomInstallActions\obj\x86\Debug\GEHealthcare.Isip.EACustomInstallActions.CA.dll /debug+ /debug:full /filealign:512 /keyfile:..\..\Common\EAKeyPair.snk /optimize+ /out:obj\x86\Debug\Decl\GEHealthcare.Isip.EACustomInstallActions.dll /target:library /warnaserror- ..\..\Common\GlobalAssemblyInfo.cs CustomAction.cs Properties\AssemblyInfo.cs Resource1.Designer.cs SqlServersSelector.cs SqlServersSelector.designer.cs "C:\Program Files\Microsoft\Contracts\Languages\CSharp\ContractDeclarativeAssemblyAttribute.cs"]]></message>
                  <error code="CS0009" file="CSC"><![CDATA[Metadata file 'd:\EA_Main_DB\AMI\src\radstore\Installer\EACustomInstallActions\obj\x86\Debug\GEHealthcare.Isip.EACustomInstallActions.CA.dll' could not be opened -- 'An attempt was made to load a program with an incorrect format. ']]></error>
                </target>

    This problem appears to be ongoing 5 years after this thread was started. I have just run into it.
    When WiX builds a custom action, the build proceeds as normal and produces a managed code output, say MyCustomActions.dll. Windows Installer doesn't support managed code in custom actions, so the managed code has to be wrapped in an unmanaged native code
    wrapper, so in a post-build step, it injects the managed output into the unmanaged wrapper and _that_ then becomes the project's build output and will be named MyCustomActions.CA.dll. I believe that Code Contracts may be trying to open the unmanaged wrapper
    file and discovering that it is not managed code ("invalid format").
    In order for CCRewrite to work here, it would need to run on the managed code _before_ it gets wrapped in the unmanaged wrapper. I am not sure how we can hook into the build process to get that to happen.
    It might be possible to somehow make a WiX Custom Action project by creating a standard C# class library, which would work correctly with CCRewrite, then somehow performing the WiX packaging as a post-build step. I'm not sure what is required though, exactly.
    Any ideas?
    --Tim Long
    Tim Long

  • Dear Customer Service Team,  I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I

    Dear Customer Service Team,
    I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I can not find it and now I only have access to the trial version.
    Thank you for your help in advance.
    Kind Regards,
    G. Zsolt

    There is no serial number require for Creative Cloud products, you may activate the products using your email address and password which is associated with Adobe. If your Dreamweaver asking for serial number, then make sure you are signing in with correct email address.
    You may also refer below link
    Sign in, activation, or connection errors | CS5.5 and later

  • Suddenly, my CS6 Illustrator and InDesign programs won't let me choose a custom size - it's greyed out. Can anyone help?

    Suddenly my CS6 Illustrator and InDesign programs won't allow me to choose a custom size - it's greyed out. Any suggestions?

    Sorry, but you've posted in the Adobe Audition forum...we specialise in audio here!

  • Custom size photos with iPhoto 6?

    Hi,
    I'm trying to print a photo in passport size (which is 2x2, I believe). I found directions for doing this with iPhoto 08, but not iPhoto 6 (which is what I have). Can this be done with the older version of iPhoto?
    Thanks,
    Hania

    Hania:
    Welcome to the Apple Discussions. No, there's no custom size option in iPhoto 6. You'll need to use a 3rd party application to print a custom size.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How can I use custom sizes with the hp deskjet 3050a

    Why can't I find a place to cusomize card stock sizes in my printer

    The driver that is used for the Deskjet 3050a does not support custom sizes. It has a pre-set of choices and this is all the driver supports.
    You may be able to use an alternate driver, such as the HP Deskjet 9800 driver, that supports using custom paper sizes. Check the thread located here for information on how to use an alternate driver.
    Hope this helps.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • Need to check all custom programs with open data set

    Hi all ,
    i have  to list all custom programs and f.m.  which are using ftp server (file share).
    Is there any way to list that programs

    Hi,
    You can use program RPR_ABAP_SOURCE_SCAN to find custom programs with providing find string criteria (i.e open data set).
    Regards,
    Ferry Lianto

  • [solved] XBMC - autostart torrent program in the background?

    I'm back with more xbmc questions and since 99% of the users at xbmc use *buntu and their debian startup scripts, I'm going to bug you guys.
    I've finally got a dedicated htpc that boots directly to xbmc without even bothering with a WM.
    Now, I'm hoping to get a torrent program (with rss functionality) to boot at startup as well as having access to some kind of gui to check up on the torrents occasionally.
    I'm mostly looking at deluge since it's what I know and the wife wants some kind of gui so she can add torrents and check up on stuff too.  (Hey, we're a windows free household but not GUI free, we're not that geeky)
    I've also looked a bit at rtorrent + flexrss + some webgui of some kind.
    I'm not really looking to start a thread with a hundred posts saying to try: transmission, ktorrent, deluge, rtorrent, vuze, utorrent+wine, etc.  I'm more interested in finding out how to get the specific functionality out of the software.
    That being said, if you can help me accomplish what I'm aiming for I don't give a damn what torrent program I'm using.
    Here's what I need:
    1) Torrent program must have rss functionality
    2) I need a script (or the ability) to get it to boot at startup without a WM or DE
    2a) I can boot a WM if needed (openbox)
    3) i need it to run in the background while XBMC is fullscreen and doing it's thing
    4) Prefer access to either standard gui or web gui so I can check up on the torrents occasionaly
    5) Can I have a pony?
    Thanks guys!
    Last edited by ctarwater (2009-04-23 04:25:28)

    Actually I was just thinking about it and I may be overcomplicating things (like usual)
    I may just change my current setup to boot directly into openbox and autostart xbmc fullscreen.
    If I do that, then I can autostart my torrent program just like I would any other program in openbox.
    Doing so should allow xbmc to autostart fullscreen while allowing deluge to autostart in the background.
    My current setup looks like this:
    - mingetty to autologin user
    - .bashrc runs "startx"
    - .xinitrc runs "/usr/bin/xbmc --standalone"
    I'm going to try this out to see how it works:
    - mingetty
    - .bashrc runs "startx"
    - .xinitrc runs "exec openbox-session"
    - .config/openbox/autostart.sh runs "/usr/bin/xbmc --standalone &" and "(sleep 2 && deluge) &"
    I'm still a bit new to openbox though, we'll see.
    Thoughts?
    Last edited by ctarwater (2009-04-23 01:25:53)

  • Extract Assets with Custom Sizes?

    I have a 1920x1080 PSD with many layers (close to a 100) of emeded assets that I need to extract at 66.67% (scaling down to a standard 1280x720).
    Is there a way to add a custom size on export? (all is offered is the 0.25x, 0.33x, 0.5, etc...)
    In addition! Is there a way to add JPEG (quality 75%) AND PNG (with Transparency) all in the export? Right now it requires to add those setting to export file individually. Seems to defeat the whole purpose. No?
    Am I missing a settings window somewhere?
    This is a HUGE time saver IF we can add custom settings.
    Thanks for any insight, or work arounds (maybe with Actions?)

    Thanks for the quick reply.
    Looks good! Digging around, but do you know if that will work with the latest and greatest CC?
    Actually it might fall more in the "generate web feature" category? This is not for web, but the same idea.
    I have a 1920x1080 that has many different sized embeded assets (some are 250x250, 1920x100, etc...) that make up the whole of 1920x1080. Each one of these indivigule assets needs to be exported to there specific size and/or "slice" in relation to the 1920x1080, that in the end gets reassembled to make up a 1920x1080 and also at 66.67% for 1280x720.
    I need to be able to update these elements and have a simple export option. Right now it's one at a time at 2 sizes and mixture of JPEG and PNG.
    Maybe creating and then exporting slices is the way to go? Was thinking Export Assets was going to easier, but seems to have too many limitations to make sense to me.
    thoughts?

  • Trouble with custom sizes

    I just got an Epson 3800 and am trying to set up a custom size. I have used Aperture for several years and never used this function (used Photoshop instead). The problem is in the printing. I entered my custom size, everything looked right in the thumbnail on the print page but it doesn't print properly. Twice the photo paper came through with nothing on it (even thought the printer said "Printing") and now most recently only a portion of the picture is printed in one corner.
    Any ideas?
    Thanks, John

    It could be an orientation issue - in other words the length vs. width is screwed up. Maybe not - I have gone through some serious pain getting all of my software working correctly with 4880 printers in the past.
    RB

Maybe you are looking for

  • ORCL Service start takes a lot of time in German OS and German DB!!

    HI Gurus!! I have a problem here. I am running Oracle 8.1.6 on Windows NT 4.0 Enterprise edition. It is a German O.S. and German Oracle database. When I try to start OracleServiceORCL through net start in DOS window or through services, it takes more

  • Iphone 4 stuck in recovery mode n need help asap

    bare with me im new to this, right got iphone 4 was having pronblems with my photos taking them viewing them every time it just closed on itself read on here try restting every thing, so i went into my general settings and pressed reset entered my co

  • New in Web logic server

    Hi all... I am a oracle developer(pl/sql,portal, discoverer and SES). I wish to become a weblogic server administrator. Have to need any JAVA knowledge to learn this weblogic server? I am bit confused. Please give me some feedback and tell me how to

  • Importing Thunderbird w/ Penelope

    I"m attempting to import a Thunderbird Mailboxes into Mail. I am also using Penelope with Thunderbird. When it imports a folder, it fails to include any Thunderbird messages subsequent to when I installed Penelope.... i.e. all my recent emails. I've

  • Q: Error with TimestampAdd function

    Hi Gurus, In the rpd file referenced by my Siebel demo instance I have following error [NQError: 22025] Function TimestampAdd is called with an incompatible type Expression 1 is: " TIMESTAMPADD( SQL_TSI_DAY , CEILING("S_MKT_OLAP (MyConsumer Master)".