Icaunux - Le Forum

Forum de l'Association ICAUNUX

Vous n'êtes pas identifié(e).

Annonce

Les Inscriptions au forum sont temporairement désactivées en attendant de trouver une solution efficace contre les inscriptions fictives très nombreuses ces derniers temps. Si vous souhaitez vous inscrire sur le forum, merci d'envoyer une demande par mail à l'adresse contact@icaunux.org. Désolé de cette gène occasionnée.

#1 10-05-2013 23:24:38

wanica
Membre
Inscription : 13-11-2008
Messages : 2 070

Vieux pc sans video 3D: réduire les icones sous Unity

Quelques PC anciens ( R 50...) ne gérent pas ubuntu en 3D
Myunity ne sert à rien, tout est grisé, il faut faire les choses à la main.

prb: ces stupides icones d'unity sont énormes ( sur un écran 4/3, elles énervent !
Comment les réduire ?
Soluce ici:

ubuntuforums.org

Pas le temps de traduire, mais c'est basique ( la langue)...

sauvegarder les fichiers avant modif
les éditer avec sudo gedit

les pros feront tout depuis le terminal...pas moi..


**don't just blindly** make changes; take a look at what you are changing to ensure that it makes sense! (this is why this is not posted as a patch)

First, all of the .qml files live in /usr/share/unity-2d/shell.


ATTENTION: depuis une évolution de la structure de ce fichier, il ne FAUT pas Y TOUCHER  !! le numéro de ligne n'est pas bon le width en question est plus bas de plusieurs lignes)
Laisser comme c'est   width sans rien derrière et en fin de ligne (width : 0))

You will change three files, as follows.

1/ In that directory you will see a file called "Shell.qml". In it you will adjust the width of the launcher, by changing line 47, which looks like
       width: 65
    to look like
       width: 50

ça marche sans cette première modif !

2/ Then in the subdirectory "common", you will see a file called "IconTile.qml". In it you will adjust the width and height of the main icon of the tile, by changing lines 71 and 72, which look like

        sourceSize.width: 48
        sourceSize.height: 48

    to look like

     sourceSize.width: 32
     sourceSize.height: 32

3/ Finally, in the subdirectory "launcher", you will see a file called "LauncherList.qml". In it you will adjust the tile size by changing line 30, which looks like
        property int tileSize: 54
    to look like
        property int tileSize: 38

    and also the selection outline size by changing line 34, which says

        property int selectionOutlineSize: 65
   to say
    property int selectionOutlineSize: 50

Now you need to check, and possibly change, one last thing. In the same "launcher" directory, examine line 269 in the file "LauncherItem.qml". If it looks like

        width: 32

That's it. You now need to restart Unity-2d e.g. by logging out and logging back in again.

Au final et en français

Il faut éditer les trois fichiers avec ces commandes

sudo gedit /usr/share/unity-2d/shell/common/IconTile.qml

sudo gedit /usr/share/unity-2d/shell/launcher/LauncherList.qml

sudo gedit /usr/share/unity-2d/shell/launcher/LauncherItem.qml

On peut ausi tenter avec nano (éditeur au sein du terminal)
On pourrait aussi concaténer ces commandes dans un script afin qu'il modifie ces trois fichiers en une seule fois.

Dernière modification par wanica (13-03-2014 09:39:16)

Hors ligne

Pied de page des forums