Set Window & Panel Icons For Terminal Programs in Openbox

Hello
Arch Linux 64
openbox
tint2
ranger fm (example)
Perhaps I have not discovered the correct search terms to google this question & I may be just missing the obvious here. My Wife likes to have openbox with a tint2-vertical setup on her laptop. Is there a non-temporary way to set panel icons (and maybe window icons) for terminal based programs such as ranger, htop, ncmpcpp etc. After seaching I was able to set a icon I made for any terminal in the .xdefaults file. This does not allow the ability to distinguish between various terminal programs from the tint2 panel at a glance.
xterm*iconPixmap:/usr/share/pixmaps/xterm.xbm
xterm*iconMask: /usr/share/pixmaps/xterm-mask.xbm
i noticed in the /usr/share/pixmaps folder there are already xpm/png icons for htop and xterm, however It appears to set the xterm icon in .xdefaults it has to be a xbm file. xbm files are not as visually elegant as xpm imo and so far I was only able to set the same icon it for all open xterms.
so
1. can i set separate panel icons that appear in tint2's panel for different terminal based programs?
2. is it possible to use xpm or even png files for such icons?
I would appreciate any help or a link to a webpage.
Thank you.
Last edited by psyodin (2010-10-06 16:05:24)

Might that be something helpful?!

Similar Messages

  • I have trouble seeing the small icons for the program functions in this tutorial.

    Hello,
    I have my assets from an older site, and want to start a site desktop site in muse. Is there a program ( maybe a book ) that can walk me through this step by step, instead of the Katie's Cafe demo / tutorial?
    The problem with the tutorial is in the dark interface I have trouble seeing the small icons for the program functions.
    I really need to setup a new site as soon as possible, but am not getting there right now.
    Thanks.
    Patricia Goff

    You can download the pdf from here :
    https://helpx.adobe.com/pdf/muse_reference.pdf
    Thanks,
    Sanjit

  • Blank icons for some programs on dock

    A few days ago, one of the programs I run frequently (World of Warcraft) began appearing as a blank icon on the dock. By "blank icon" I mean there is nothing there but an empty space, through which you can see the background image. There is the little lit circle underneath it, of course, to indicate a running program. I do not keep in icon for this game on the dock.
    Today, it started happening to some other programs. As with World of Warcraft, this is only happening (so far) to programs I do not keep on the dock when they're not running. It's happening to Firefox, and just recently, it happened for System Preferences. However, it does not happen for all programs that aren't kept on the dock. I tried running two other programs, one that came with OS X (Chess) and one that did not (some game like Windows' Minesweeper), and it didn't happen for either of them.
    What should I do to fix this?

    Open Terminal application in your Utilities folder. At the prompt enter:
    killall Dock
    Press RETURN. The "D" in Dock must be capitalized.
    See if that helps. You can also try deleting the /Home/Library/Preferences/com.apple.dock.plist file.

  • 2 questions--I've tried the cookies/cache thing but when I try to register a site, it still says I have a problem with my cache and cookies setting, and my icons for tools, etc has disappeared from my tool bar, how do I get them back?

    I did the self help to set private settings, delete cookies and no tracking of my visited website, and delete history...but when I try to register on a site to send them emails (comments) i keep getting sent back to an error page that my cache/cookie settings are not right!!! and then the icons for my "tools", etc that were on the upper right of my toolbar have disappeared and I want them back...where did they go and I can't find any help on the help menus to solve any of these issues..it's aggravating.

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Zoom -> click "Reset" -> Page Style -> select "Basic Page Style"
    -> go to View Menu -> Toolbars -> select '''Menu Bar''' and '''Navigation Toolbar''' -> unselect All Unwanted toolbars
    -> go to Tools Menu -> Clear Recent History -> '''Time range to clear: select EVERYTHING''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click '''Clear Now'''
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''"Permanent Private Browsing mode"''' -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> When using the Location Bar, suggest: select "History and Bookmarks"
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    -> Click OK on Options window
    -> click the Favicon on SearchBar -> click "Manage Search Engines" -> select all Unwanted Search Engines and click '''Remove''' button -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Setting azure portal icon for new images

    According to the Azure Service Management REST API, one should be able to set the icon to be displayed in the portal using the IconUri and SmallIconUri tags as described here.
    http://msdn.microsoft.com/en-us/library/azure/jj157198.aspx
    I sent this command with these values set to the URLs for publicly available png icon files and created a new image.  The image was created successfully and no errors were returned, however the icons displayed are still the default windows icons.
    Is this feature disabled somehow or is there some other specification that needs to be set or addressed?
    I could continue to try endless possibilities (like different sized icons or URL locations) but it seems like this should have worked according to the API specification since no other restrictions were stated.
    Could someone please tell me how to get this to work?
    Bruce

    Hi
    Sorry for mis-understand your question:
    I think this IconURI feature disabled.
    Because in latest Azure Management Class libraries, this class libraries is based on latest Azure REST API.
    You can't find IconUri property.
    MSDN article always update slowly.
    namespace Microsoft.WindowsAzure.Management.Compute.Models
    // Summary:
    // The List OS Images operation response.
    public class VirtualMachineOSImageListResponse : OperationResponse, IEnumerable<VirtualMachineOSImageListResponse.VirtualMachineOSImage>, IEnumerable
    // Summary:
    // Initializes a new instance of the VirtualMachineOSImageListResponse class.
    public VirtualMachineOSImageListResponse();
    // Summary:
    // Optional. The virtual machine images associated with your subscription.
    public IList<VirtualMachineOSImageListResponse.VirtualMachineOSImage> Images { get; set; }
    // Summary:
    // Gets the sequence of Images.
    public IEnumerator<VirtualMachineOSImageListResponse.VirtualMachineOSImage> GetEnumerator();
    // Summary:
    // A virtual machine image associated with your subscription.
    public class VirtualMachineOSImage
    // Summary:
    // Initializes a new instance of the VirtualMachineOSImage class.
    public VirtualMachineOSImage();
    // Summary:
    // Optional. The affinity in which the media is located. The AffinityGroup value
    // is derived from storage account that contains the blob in which the media
    // is located. If the storage account does not belong to an affinity group the
    // value is NULL and the element is not displayed in the response. This value
    // is NULL for platform images.
    public string AffinityGroup { get; set; }
    // Summary:
    // Optional. The repository classification of the image. All user images have
    // the category User.
    public string Category { get; set; }
    // Summary:
    // Optional. Specifies the description of the image.
    public string Description { get; set; }
    // Summary:
    // Optional. Specifies the End User License Agreement that is associated with
    // the image. The value for this element is a string, but it is recommended
    // that the value be a URL that points to a EULA.
    public string Eula { get; set; }
    // Summary:
    // Optional. Specifies a value that can be used to group images.
    public string ImageFamily { get; set; }
    // Summary:
    // Optional. Indicates whether the image contains software or associated services
    // that will incur charges above the core price for the virtual machine. For
    // additional details, see the PricingDetailLink element.
    public bool? IsPremium { get; set; }
    // Summary:
    // Optional. An identifier for the image.
    public string Label { get; set; }
    // Summary:
    // Optional. Specifies the language of the image. The Language element is only
    // available using version 2013-03-01 or higher.
    public string Language { get; set; }
    // Summary:
    // Optional. The geo-location in which this media is located. The Location value
    // is derived from storage account that contains the blob in which the media
    // is located. If the storage account belongs to an affinity group the value
    // is NULL. If the version is set to 2012-08-01 or later, the locations are
    // returned for platform images; otherwise, this value is NULL for platform
    // images.
    public string Location { get; set; }
    // Summary:
    // Optional. The size, in GB, of the image.
    public double LogicalSizeInGB { get; set; }
    // Summary:
    // Optional. The location of the blob in Azure storage. The blob location belongs
    // to a storage account in the subscription specified by the SubscriptionId
    // value in the operation call. Example: http://example.blob.core.windows.net/disks/myimage.vhd
    public Uri MediaLinkUri { get; set; }
    // Summary:
    // Optional. The name of the operating system image. This is the name that is
    // used when creating one or more virtual machines using the image.
    public string Name { get; set; }
    // Summary:
    // Optional. The operating system type of the OS image. Possible values are:
    // Linux, Windows.
    public string OperatingSystemType { get; set; }
    // Summary:
    // Optional. Specifies a URL for an image with IsPremium set to true, which
    // contains the pricing details for a virtual machine that is created from the
    // image. The PricingDetailLink element is only available using version 2012-12-01
    // or higher.
    public Uri PricingDetailUri { get; set; }
    // Summary:
    // Optional. Specifies the URI that points to a document that contains the privacy
    // policy related to the image.
    public Uri PrivacyUri { get; set; }
    // Summary:
    // Optional. Specifies the date when the image was added to the image repository.
    public DateTime PublishedDate { get; set; }
    // Summary:
    // Optional. The name of the publisher of this OS Image in Azure.
    public string PublisherName { get; set; }
    // Summary:
    // Optional. Specifies the size to use for the virtual machine that is created
    // from the OS image.
    public string RecommendedVMSize { get; set; }
    // Summary:
    // Optional. Specifies the URI to the small icon that is displayed when the
    // image is presented in the Azure Management Portal. The SmallIconUri element
    // is only available using version 2013-03-01 or higher.
    public Uri SmallIconUri { get; set; }
    You can get this class libraries by nuget manage cmd:
    Install-Package Microsoft.WindowsAzure.Management.Libraries -Pre
    My Blog
    Please use Make as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • HT2493 I have a jpg file the image of which I wish to use as an icon for a program.

    when I use the advised strategy of copying its icon to the icon in the info page of the program, I get a change -- but to the generic icon for jpg files, rather than the actual image of the content of the particular file.

    You can convert the jpeg file to an icon file and use that as the image, with this application: img2icns
    Drag the jpg onto img2icns window, save it as an icon. Copy and paste this as per the method you mentioned previously.
    tested to work on 10.6.8

  • How to set my own icon for java frame ??

    I create a java class it extends JFrame. I want to change default icon on the left_top corner and using my own icon. It is a --.gif file. How to do it. When I try to modify it using setIconImage( Image image), I met problem. I cann't new Image("--.gif"). I don't know how to create a Image object using a string(file name). I try to use ImageIcon , but it is not image obj. Thanks. Gary

    According to the documentation setIconImage does the following: Sets the image to be displayed in the minimized icon for this frame. Not all platforms support the concept of minimizing a window.
    So,
    1) It does not change the icon in the top-left corner
    2) It does not work on all platforms.

  • [SOLVED]Gnome panel icon for netctl

    Hi - does anyone know if there is a gnome panel icon (like Network manager) available for Netctl?
    Last edited by surfatwork (2014-06-13 16:24:28)

    I dug up an old applet I had written for Cinnamon (based on another applet by Tjaart van der Walt), and upgraded it to work with Gnome 3.12
    For some reason, I am not able to submit it to the AUR.
    ^^Mods: please help if possible - I keep getting a "Invalid name: only lowercase letters are allowed". error when I am trying to submit the tarball linked below.
    download link to the tarball, in case anyone wants to use it: https://app.box.com/s/d9wsu6u8jkcknl0r4z6x
    Screenshot:
    Last edited by surfatwork (2014-06-13 16:23:58)

  • Doing an icon for my program? please help

    Hello,
    nowadays I am working on a program
    that gets as a parameter your username and password
    in gmail , and than you can send email through my program(I implemented the SMTP connection by myself)
    anyway , today I finished it.
    It works great
    but How do I make an icon for it
    I mean like , to run my program I need to enter to my code in eclipse and press run
    How do I do that I can go directly to my program without entering eclipse and press run?
    Do I need to make an applet for my program?
    Thanks in advance.

    One way to deploy (have it run in a usual desktop environment) your program is to create a jar file.
    There is a complete description of the process in Sun's Tutorial in the section on [Packaging Programs in JAR Files|Packaging Programs in JAR Files]. (You can also do this from within Eclipse as described in its documentation. But Sun's tutorial goes to some length to explain what's happening.)

  • Slider.verticalThumIcon ? How to set a custom icon for JSlider

    Hi Guys,
    Can anyone please tell me where I am going wrong in the code below.
    I am trying to change the thum icon for JSlider to a custom one, but for some reason the new thum icon is not getting displayed.....
    UIDefaults defaults = UIManager.getDefaults();
    defaults.put("Slider.verticalThumbIcon", new ImageIcon(Slider.class.getResource("./cursor.jpg")));
    defaults.put("Slider.background", Color.BLUE);
    final JSlider slider = new JSlider();
    slider.setPreferredSize(new Dimension(250,20));
    getContentPane().add(slider, BorderLayout.NORTH);
    I can see the blue background, BUT I still see the default thumb icon.
    I also tried using
    defaults.put("Slider.verticalThumbIcon", new ImageIcon("./cursor.jpg"));
    Thanks a ton...

    this works OK
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.plaf.basic.BasicSliderUI;
    import java.net.URL;
    import javax.imageio.ImageIO;
    class Testing extends JFrame
      public Testing()
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLocation(200,100);
        JSlider slider = new JSlider(0,100,0);
        slider.setUI(new MyBasicSliderUI(slider));
        slider.setMajorTickSpacing(10);
        slider.setMinorTickSpacing(5);
        slider.setPaintTicks(true);
        slider.setPaintLabels(true);
        JPanel jp = new JPanel();
        jp.add(slider);
        getContentPane().add(slider);
        pack();
      class MyBasicSliderUI extends BasicSliderUI
        Image im;
        public MyBasicSliderUI(JSlider js)
          super(js);
        public void paintThumb(Graphics g)
          try
            URL url = new URL(getClass().getResource("Save.gif"), "Save.gif");
            im = ImageIO.read(url);
          catch(Exception e){e.printStackTrace();}
          Rectangle thumb = thumbRect;
          g.drawImage(im,thumb.x,thumb.y,null);
      public static void main(String[] args){new Testing().setVisible(true);}
    }

  • Creating a icon for a program

    Basically as the name says, i use a program called READY TO PROGRAM with java 1.7 and i just wanna know how can i make the program with an icon so i just click the icon and it runs???

    me thinks we both misunderstood the q? Enc
    your application, ready to program creates the .java file when you type in the code
    the JVM (Java Virtual Machine) creates the .class file at compile time
    the .class file contains bytecode
    as Enc said jar stuff is to advanced for your level, so
    on your PC somewhere there is a file called java.exe
    you run this application (java.exe) from within the command promt
    suggest you read up on installing Java, because you will have to set up class paths
    when you have done that
    in windows environment to access command promt
    Start--->Run---> type command and hit enter
    if your classpaths are set up properly, you can navigate around directories in the command prompt
    and run your class files inside command promt from any directory
    I did cheat a little and wrote a small peice of code (batch) that sets up classpaths for
    javac.exe
    java.exe
    junit4.4
    that only runs from a shortcut to command prompt on the desktop
    I also have some cheat batch files so if in command prompt
    jc runs javac.exe
    jr runs java.exe
    av runs appletviewer.exe

  • Setting the default icons for JOptionPane

    i have my own LookAndFeel and i'm trying to set the icons of JOptionPane but it doesn't work, why?
    Icon errorIcon =  new ImageIcon( "images/EbooksIconMedium.png" );
    table.put( "OptionPane.errorIcon", errorIcon );
    table.put( "OptionPane.informationIcon", errorIcon );
    table.put( "OptionPane.questionIcon", errorIcon );
    table.put( "OptionPane.warningIcon", errorIcon );
    ....

    Hello Dmitry,
    There is no customizing for this - atleast to my knowledge.
    However, you should have to redo the settings again and again unless you are continuously re-sizing the main window.
    Cheers
    Aneesh

  • Set Default Save Location for All Programs

    What I need is a program that will set the default save folder (in all programs) to the same folder the current file came from.
    If I do a "Save As" I want the folder in the Save dialog box to always be the folder the file is in.
    This was brain-dead easy in OS 9 (General Control Panel, Save Location, Folder That is Set by the Application).
    I cannot find a help file, a preference pane, an add-on program, anything to allow this.
    If anyone can help me, I'd appreciate it.

    Hi,
    Not sure if this is what you want but you might want to look at it
    http://www.stclairsoft.com/DefaultFolderX/

  • Why do I click on an icon for a program on a z10 and have the program immediately crash?

    I'm having an issue with some programs from BlackBerry World on my z10. The programs download and install, but when I click on the icon to open the program, it immediately crashes & I go back to the home screen. How can I make these programs run?

    No, it's more likely that they are android apps and there is something corrupted in the Android player and/or data.
    Before this crashing happened did you see these apps start with a green status bar that never went all the way to completion?
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Set Windows Integrity Level for Application at startup

    Hi,
    Yesterday I found a problem in my application that it had not have the same integrity level as Outlook. Therefore someone from microsoft adviced me to look at the integrity level and make them both the same. I managed to find a CommandPrompt command for
    setting the integrity level, but what I really want is setting the integrity level at startup of my application.
    How can I set the integrity level of my application to the desired level using C#?
    Best regards,
    Jouke

    Hello Jouke,
    I am not a Microsoft employee, just a regular developer as you are.
    Anyway, the forum is for Outlook related dev questions. I'd suggest asking common C# programming questions on the Visual C# forum instead.
    I believe you can use the
    /runas command line argument.

Maybe you are looking for

  • Operate two iPod libraries on one computer

    Hi all I am a very new iPod user. My sister uses the same computer (operating Windows XP) and has her library already set up. We all have separate user ids on the computer, but my mum plugged my iPod under the same user id as my sisters, now I cannot

  • Occasional sharp 'beep' sound when transition from a photo to a video

    Hi guys- I've been looking everywhere trying to solve this without any luck (doesnt seems like many out there with such problem). I'm compiling a video for a family event (comprising of still photos and video clips) but i noticed that occasionally wh

  • Trouble connecting to xserve.

    The connections are very slow and when I log into the server monitor instead of showing an ip address for the client, it lists it as "broadcasthost" instead of an ip address. How do I get the connection to show the ip address correctly? Any help is a

  • Tools to list classes used in the project/

    Hi is there any tool that would list all the classes and packages used in my project. the tools must be something like getting input as a main class and list all the other classes used in the project. ? -- MJ

  • Button not working. Quick Fix?

    Hey guys. Im not to new to flash but I didn't work with it for about a year. I created a site a while back but it was all self contained. I decided to do just a flash intro this time and create a button that goes to the site but it isn't working in t