Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: script to change icon size in unity-2d

  1. #11
    Join Date
    Jan 2006
    Beans
    19

    Re: script to change icon size in unity-2d

    The script doesn't have to be run on every boot. Only if some update overwrites those qml files.

    The script will not run on oneiric. I did not test this. I thought posting this in the Ubuntu+1 part of the forum would be sufficient to make this clear.

  2. #12
    Join Date
    Jun 2010
    Beans
    18

    Re: script to change icon size in unity-2d

    Quote Originally Posted by ppd View Post
    The script doesn't have to be run on every boot. Only if some update overwrites those qml files.

    The script will not run on oneiric. I did not test this. I thought posting this in the Ubuntu+1 part of the forum would be sufficient to make this clear.
    Yes, of course, but some other forums have a link to this post, without warning that the script is only dedicated to Precise. But it does not matter. Only few days before the official delivery of 12.04

  3. #13
    Join Date
    Nov 2011
    Beans
    1

    Re: script to change icon size in unity-2d

    Thank you so much! I have been testing many different linux distros and DEs. I had avoided Ubuntu and Unity, mainly because it did not seem possible to configure the Launcher, and the large icons destroyed the symmetry and aesthetics of the screen. Thanks to your script, my desktop now looks balanced and elegant. I am going to give Ubuntu Unity another try. Your script ought to be incorporated into Ubuntu's mainstream product as part of the System Settings.

  4. #14
    Join Date
    Apr 2012
    Beans
    10

    Re: script to change icon size in unity-2d

    For do some changes in oneric look here http://www.ubunturoot.com/2011/10/cu...d-in-1110.html

    In precise You can also delete background and remove unused icons simply run in terminal:
    Code:
    sudo nautilus
    go to and edit /usr/share/unity-2d/shell/launcher/Launcher.qml
    and make simple change code in lines 224, 225 for example:
    Code:
    items.appendModel(workspaces);
    items.appendModel(devices);
    to
    Code:
    /*items.appendModel(workspaces);*/
     /*items.appendModel(devices);*/
    this hide devices and workspaces

    You can also edit: /usr/share/unity-2d/shell/common/IconTile.qml
    and change line 60 from:
    Code:
    .arg(actualColor.toString().replace("#", ""))
    to
    Code:
    /*.arg(actualColor.toString().replace("#", ""))*/
    this will remove background color from launcher icons.

    If You have Precise and yours Unity 3d crashes as hell You can change Unity 2d and forget about it.
    cheers

    PS: for scrollbars look here -> http://www.webupd8.org/2011/04/how-t...llbars-in.html
    for "Show Desktop" make some file with simple script:
    Code:
    #!/bin/sh
    if wmctrl -m | grep "mode: ON"; then
    exec wmctrl -k off
    else
    exec wmctrl -k on
    fi
    And make some launcher/icon to run after that You can drag launcher to Unity 2d
    Last edited by mihoo; April 13th, 2012 at 11:20 PM. Reason: just more info about "show desktop" icon in unity 2d

  5. #15
    Join Date
    Apr 2012
    Beans
    1

    Re: script to change icon size in unity-2d

    Thanks a lot! That's something really needed. I can't understand why is not yet in main development for unity... Works like a charm!

  6. #16
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: script to change icon size in unity-2d

    Quote Originally Posted by nachordez View Post
    Thanks a lot! That's something really needed. I can't understand why is not yet in main development for unity... Works like a charm!
    Resizing the Launcher was supposed to be a feature of Unity2d in Precise, but it wasn't ready. Hopefully it will get into Precise +1, and perhaps even get backported.

  7. #17
    Join Date
    Sep 2007
    Location
    Miami, FL
    Beans
    143

    Smile Re: script to change icon size in unity-2d

    no longer participating in ubuntuforums.org
    Last edited by MarkieB; April 16th, 2012 at 12:55 AM.

  8. #18
    Join Date
    Jan 2007
    Beans
    207
    Distro
    Ubuntu Development Release

    Re: script to change icon size in unity-2d

    Quote Originally Posted by MarkieB View Post
    A question, is the effect of the script different to the effect of changing the size in compiz settings -> unity plugin ?
    I believe that setting affects Unity (3D), as opposed to Unity (2D).
    Think.

  9. #19
    Join Date
    Sep 2007
    Location
    Miami, FL
    Beans
    143

    Smile Re: script to change icon size in unity-2d

    no longer participating in ubuntuforums.org
    Last edited by MarkieB; April 16th, 2012 at 12:55 AM.

  10. #20
    Join Date
    Dec 2006
    Location
    Canada
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: script to change icon size in unity-2d

    MarkieB,

    If you're in session 'ubuntu' then that will be the default 3D session. At the login screen, you can click on the settings 'gear' to select the unity2d session if you want.

    To adjust the launcher icon size in the default unity session, see this thread:

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

Page 2 of 2 FirstFirst 12

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
  •