Can I make my desktop icons smaller?

153

Hmm that was easier than I thought.

  1. Load up Nautilus and head to Edit → Preferences
  2. Under the Views tab, change the Icon View Defaults' zoom level.

That does only give you choices of 33, 50, 66, 100, 150, 200 and 400 percent scale so if there's an absolute method of setting the size, I'm open to that too. 66% is a bit too reduced IMO.

Share:
153

Related videos on Youtube

Mic
Author by

Mic

Updated on September 18, 2022

Comments

  • Mic
    Mic over 1 year

    I have data here:

    Array
    (
    [1] => Array
        (
            [SiteID] => 1
            [OwnerAID] => 1
    
        )
    
    [3] => Array
        (
            [SiteID] => 3
            [OwnerAID] => 1
    
        )
    
    [6] => Array
         (
            [SiteID] => 6
            [OwnerAID] => 2
    
         )
        )
    

    Now, I need to group the OwnerAID into two categories: the first one is OwnerAID owning only one SiteID and the second one is OwnerAID owning more than 1 SiteID.

    I've tried to make a program and do some research, but the output of my code is wrong.

    Please see my code:

           public function groupIndividualAndAggregateSites()
        {
    
        $arrays = array();
            foreach($this->combined as $key => $key_value)
            {
                $SiteID = "";
    
            if ($SiteID == "") {
    
                $SiteID=array($key_value['SiteID']); }
    
               else {
                       $SiteID = array_merge((array)$SiteID, (array)$key_value['SiteID']);
    
                       $SiteID = array_unique($SiteID);
    
                    }
    
           } if ($SiteID != "") {
    
           $arrays = array('AID'=>$key_value['AID'], 'Sites' => $SiteID);
         }
            print_r($arrays);
    
        }
    

    The result should be shown like this:

     Array( 
            [1] => Array
    
          ( [Sites] => Array ([0] => 1, [1] => 3)))
    
     Array( 
            [2] => Array
    
          ( [Sites] => Array ([0] => [6]))
    
    • eggyal
      eggyal over 11 years
      So, for the avoidance of doubt, the keys of the original outermost array do not need to appear in the resulting array?
    • Mic
      Mic over 11 years
      Yes eggyal. Thanks for the concern.
    • Gundars Mēness
      Gundars Mēness over 11 years
      Ok, I'm done with my answer, I hope you got the Idea.
    • Mic
      Mic over 11 years
      Hi Gundars, Thank you so much, it's a great help, but if ever I will have little bit question in your code,I will tell you. Thanks again.
    • Gundars Mēness
      Gundars Mēness over 11 years
      @Mic Glad I could help. If you got what you needed, accept my answer by clicking the V mark next to it. PS - I fully encourage you to ask questions about it. Thats how we learn :)
    • Mic
      Mic over 11 years
      Hi sir Gundars, sure, your answer was the closest from the result that I want to achieved but if you don't mind sir, could you pls help me to format the printing of array of what I wanted. Pls review my question again. Thank you sir and more power.
    • Gundars Mēness
      Gundars Mēness over 11 years
      I simply don't think your desired output is semantic, so I prefer mine.
  • Mic
    Mic over 11 years
    Hi Sir Gundars, there something wrong with the printing of arrays, but I got your idea, I learn something new,I need to format the array in the kind of result what I wanted.(Please see my question again) May you please help me sir.Thank you so much sir.