Table des matières

Personaliser l'interface du Mode Basique

Vous devriez savoir comment ouvir un Terminal avant d'essayer les indications de cette page. Lisez ceci : fr:howto:openaterminal.

La façon facile: avec les assistants

Lisez les conseils de SublimePorte surCustomizing icons for Easy Mode.

A la main : Onglets et liens

Sauvegarde et copiez votre fichier simpleui.rc

  1. Ouvez un terminal (Alt+Ctrl+t).
  2. Lancez cette commande :
    cp /opt/xandros/share/AsusLauncher/simpleui.rc /home/user/simpleui.rc.old

    Votre fichier simpleui.rc est maintenant sauvegardé dans votre répertoire personnel renommé en simpleui.rc.old.

  3. Lancez cette commande :
    mkdir /home/user/.AsusLauncher/

    Crée un répertoire caché dans votre répertoire utilisateur si il n'éxiste pas encore.

  4. Lancez cette commande :
    cp /opt/xandros/share/AsusLauncher/simpleui.rc /home/user/.AsusLauncher/simpleui.rc

    Votre fichier simpleui.rc est maintenant copié dans le répertoire caché de votre répertoire.

Start editing

  1. Ouvez un terminal (Alt+Ctrl+t).
  2. Lancez cette commande :
    sudo kwrite /home/user/.AsusLauncher/simpleui.rc
  3. Un éditeur de texte s'ouvre en édition sur le fichier simpleui.rc file. Lisez Ajouter de nouveaux items si dessous pour les instructions.

Restaurer la sauvegarde (en cas d'erreur...)

  1. Ouvrez un terminal
  2. Lancez cette commande :
    cp /home/user/simpleui.rc.old /home/user/.AsusLauncher/simpleui.rc
  3. Votre sauvegarde est restaurée en remplaçant le fichier simpleui.rc corrompu.

Sinon regardez installrescuemode.

Mots clés

simplecat ces sections sont les onglets en eux même, pour retirer l'onglet apprendre supprimez la section simplecat avec l'id=“Learn”.

folder ces sections sont des répertoires. Par exemple, le répertoire Jeux dans l'onglet Multimedia.

parcel ces sections sont les icônes “éxécutables” . Par exemple, l'icône Radio Internet dans l'onglet Internet.

Supprimer des programmes ne permet pas un gain de place à cause du système de restauration de la Xandros de l'EEE PC (F9 au démarrage).

Capture d'écran :

Favoris

Les entrées dans l'onglet Favoris (autre qu'Asus.com et Personnaliser) sont situés dans /home/user/.AsusLauncher/favorites.rc

Comme simpleui.rc est chargé en premier, la façon de déplacer les icônes personnalisées à la fin est de les retirer de simpleui.rc et de l'ajouter à favorites.rc

It can be removed altogether if you wish by either deleting the entry described above, or commenting out the entry for it: add <!-- and - on either side of any piece code and it will be ignored. This is good practice as it allows for easy restoration or mistake correction.

Wallpaper

Wallpapers for easy mode are stored in /opt/xandros/share/AsusLauncher. They are named <style>_<page>_wallpaper.jpg, where style is one of the following (style - corresponding theme):

Changing these files and then reloading the theme allows you to change your desktop background. A bunch of wallpapers are in /usr/share/wallpapers (and can be symlinked to save space).

Switching Wallpapers

Quick Hide Asus Easy Menu

This allows you, in Easy Mode, to minimize the Asus QuickLauncher into a tray icon next to the shutdown symbol.

  1. Open a Terminal window.
  2. Run this line:
    sudo cp /usr/share/icewm/winoptions ~/.icewm/
  3. Run this line:
    sudo kwrite ~/.icewm/winoptions

    This starts Text Editor and opens winoptions.

  4. Paste the following lines right after it says #(re)install icewm.:
    AsusLauncher.AsusLauncher.dTitleBar: 0
    AsusLauncher.AsusLauncher.dBorder: 0
    AsusLauncher.AsusLauncher.dSysMenu: 1
    AsusLauncher.AsusLauncher.dResize: 1
    AsusLauncher.AsusLauncher.dClose: 1
    AsusLauncher.AsusLauncher.dMinimize: 1
    AsusLauncher.AsusLauncher.dMaximize: 1
    AsusLauncher.AsusLauncher.layer.Normal
    AsusLauncher.AsusLauncher.allWorkspaces: 1
    AsusLauncher.AsusLauncher.Workspace: 0
    AsusLauncher.AsusLauncher.ignoreTaskBar: 0
    AsusLauncher.AsusLauncher.fMove: 1
    AsusLauncher.AsusLauncher.fMaximise: 1
    AsusLauncher.AsusLauncher.fMinimise: 1
    AsusLauncher.AsusLauncher.forcedClose: 0
    AsusLauncher.AsusLauncher.tray: Exclusive
  5. Save the file, then restart your eeePC.

Luna

The window manager theme is set in /etc/X11/icewm/theme. Themes are available in /usr/share/icewm/themes.

Theme (Menu Bars etc.)

Files for each theme live in /usr/share/icewm/themes/Asus<Theme>/ where Theme is Green, Silver, Blue or Sunset. The files appear to be XPM files (http://en.wikipedia.org/wiki/XPM_(image_format)?).

Adding New Items

Very simple…

Open up simpleui.rc, copy an entry (preferably one that will be in the same location for laziness' sake) then change the argument to the application exec command, change the title (in your language), then add your icons, and your set to go.

A handy entry is this:

<parcel simplecat="Favorites" extraargs="/usr/bin/sudo /usr/bin/kwrite 	/opt/xandros/share/AsusLauncher/simpleui.rc"
	icon="asus_norm.png"
	selected_icon="asus_hi.png" >
	<name lang="en">Menu Edit</name>
</parcel>

This provides a shortcut to edit simpleui.rc to save a bit of time.

Note that here 'extraargs=”.. ..” ' is used. This seems to process what follows it as if typed into a command line. All references must be from root, as above, i.e. /usr/bin/sudo instead of just sudo. In contrast, some entries use 'shortcut=”.. ..” ', this is for when the application in question has an entry in /usr/share/applications/ . If this is the case the the command to use is 'shortcut=“appname.desktop”'.

Obviously, if your working version of simpleui.rc is /home/user/.AsusLauncher/simpleui.rc you will have to substitute that path for /opt/xandros/share/AsusLauncher/simpleui.rc in the code above.

Adding Website Links

To add a website link to a tab, you simply use the procedure above, the following example links to this website.

          <parcel simplecat="Favorites" extraargs="/usr/bin/firefox http://www.eeeuser.com"
            icon="web_norm.png"
            selected_icon="web_hi.png" >
            <name lang="en">Eee User</name>
          </parcel>

Just change the URL and Name to alter it to your requirements.

Note on Upgrades

It appears that when the system updates (possibly only through “sudo apt-get upgrade”) it will overwrite your modified simpleui.rc file. It is therefore worth taking a copy of simpleui.rc and placing it somewhere such as your home directory, and then copying it back to /opt/xandros/share/AsusLauncher when it gets overwritten. This will revert Asus' changes to the UI, so you may wish to manually recomposite them together.

It is believed that this does not affect the working copy of simpleui.rc if it is in /home/user/.AsusLauncher/ but then any changes the upgrade makes to the simpleui.rc in /opt/xandros/share/AsusLauncher won't appear either and will need to be manually copied over.