Results 1 to 6 of 6

Thread: How to get application logo at top left corner

  1. #1
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question How to get application logo at top left corner

    I am using Ubuntu 12.04 with Unity desktop.

    The issue I have is that the window which opens for any application, like terminal, firefox etc don't show the icon for that application

    I had posted a similar question in the past when I was on 10.10 with gnome

    http://ubuntuforums.org/showthread.php?t=1576605

    The solution that I had implemented in that thread is no longer working with Unity

    Any ideaz how to achieve this ?
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  2. #2
    Join Date
    Oct 2010
    Beans
    110
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: How to get application logo at top left corner

    I don't fully understand your question but if you just want things to look like they did in older releases, you could select Gnome Classic when logging in to your user account.

  3. #3
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to get application logo at top left corner

    Quote Originally Posted by ShadowVegan View Post
    I don't fully understand your question but if you just want things to look like they did in older releases, you could select Gnome Classic when logging in to your user account.
    Ah !! that is not what I meant. Unity is fine

    To explain what I really meant, I have added screenshot of firefox for example.
    Currently when I open firefox, it looks the one where the window's top left corner is missing the firefox icon (the first screenshot)

    I want to change it to look like the second one. This is exactly what I did for gnome in the other thread I have mentioned
    Attached Images Attached Images
    Last edited by luvshines; September 19th, 2012 at 08:59 AM.
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  4. #4
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How to get application logo at top left corner

    If there is a setting to accomplish that it is in advanced settings or a third party application like Ubuntu Tweak or MyUnity. I am logged into XFCE which displays the icon as in your screen shot.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  5. #5
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to get application logo at top left corner

    Quote Originally Posted by Frogs Hair View Post
    If there is a setting to accomplish that it is in advanced settings or a third party application like Ubuntu Tweak or MyUnity. I am logged into XFCE which displays the icon as in your screen shot.
    I couldn't locate any setting for this in Ubuntu Tweak or MyUnity.
    I don't think there is any particular setting unless one goes ahead and changes the theme xml file itself
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  6. #6
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to get application logo at top left corner

    And it's done

    I was able to do it again for Ambiance theme in 12.04

    Changed the /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml file

    For those interested, this is what I did

    Original code snippet
    Code:
    <draw_ops name="draw_title_text_normal">
      <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
      <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)-1"/>
      <title color="#333" x="9" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#333" x="11" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#dfdbd2" x="10" y="(((height - title_height) / 2) `max` 0)"/>
    </draw_ops>
    
    <draw_ops name="draw_title_text_unfocused">
      <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
      <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)-1"/>
      <title color="#333" x="9" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#333" x="11" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#807d78" x="10" y="(((height - title_height) / 2) `max` 0)"/>
    </draw_ops>
    Changed it to
    Code:
    <draw_ops name="draw_title_text_normal">
      <icon  x="0" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
      <title color="#333" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)+1"/>
      <title color="#333" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)-1"/>
      <title color="#333" x="mini_icon_width + 9" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#333" x="mini_icon_width + 11" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#dfdbd2" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)"/>
    </draw_ops>
    
    <draw_ops name="draw_title_text_unfocused">
      <icon  x="0" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
      <title color="#333" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)+1"/>
      <title color="#333" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)-1"/>
      <title color="#333" x="mini_icon_width + 9" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#333" x="mini_icon_width + 11" y="(((height - title_height) / 2) `max` 0)"/>
      <title color="#807d78" x="mini_icon_width + 10" y="(((height - title_height) / 2) `max` 0)"/>
    Note:
    1. The file will require sudo to change
    2. You may have to switch to another theme and then rever back to Ambiance for the changes to be effective

    Attaching new screenshot showing icons for chrome and firefox

    And am too happy to mark this SOLVED
    Attached Images Attached Images
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •