在閱讀本頁之前,你必須先學會如何開啟終端機視窗。請參閱開啟終端機視窗。
閱讀關於 SublimePorte 開發的精靈導引程式:自訂簡易模式的桌面圖示項目。
cp /opt/xandros/share/AsusLauncher/simpleui.rc /home/user/simpleui.rc.old
現在你的 simpleui.rc 被備份到你的家目錄並改為 simpleui.rc.old 的檔名。
mkdir /home/user/.AsusLauncher/
這個步驟將在你的 home 資料夾創建一個隱藏的工作目錄(如果它尚未存在的話)。
cp /opt/xandros/share/AsusLauncher/simpleui.rc /home/user/.AsusLauncher/simpleui.rc
你現有的 simpleui.rc 被複製到這個隱藏的工作目錄中。
sudo kwrite /home/user/.AsusLauncher/simpleui.rc
如果還能進入終端機,並且先前已經做過 simpleui.rc 的備份,那麼你可以進行回存復原:
cp /home/user/simpleui.rc.old /home/user/.AsusLauncher/simpleui.rc
另一種方法可以參閱救援模式。
simplecat 段落負責定義「分頁標籤」。所以如果你想移除 學習 這個分頁標籤,就把由 id=“學習” 所帶出的整個 simplecat 段落刪除。
folder 段落負責定義「資料夾」。例如 娛樂 分頁標籤之下的 遊戲 就是一個資料夾。
parcel 段落負責定義可點選啟動的「桌面項目圖示」。例如 網路 分頁標籤下的 網際網路收音機 就是一個可啟動的圖示。
由於 Eee PC Xandros 的回存復原功能(開機時按 F9),即使刪除程式本身也並不會釋放出更多可用的磁碟空間。
在「我的最愛」分頁標籤中的項目圖示(除了預設的 Asus.com 及自訂我的最愛之外),都存放在 /home/user/.AsusLauncher/favorites.rc 檔案中。
由於進入系統時 simpleui.rc 會先被載入,因此若想刪除自訂我的最愛項目圖示,必須將它從 simpleui.rc 移到 favorites.rc 去。
如果你很想將它徹底移除,可以將上述的設定內容文字刪掉,或者在設定檔中將這些文字標記為註解:在段落文字前後分別加上 <!-- 及 -->就可以讓其中包夾的段落被忽略。這個技巧是便於快速還原或除錯時的好方法。例如:
<!-- 加上前後的記號之後,在設定檔中,這段文字全都會被視為註解,而不會被執行 -->
「易模式」下的桌布圖檔被存放在 /opt/xandros/share/AsusLauncher 目錄中。它們被依特定的方式命名:<style>_<page>_wallpaper.jpg。其中 <style> 包括下列四種:
更換這些圖檔並且重新載入佈景主題,將可讓你改變桌面背景。在 /usr/share/wallpapers 裡面有一堆桌布可以用,你也可以使用符號連結(symlink)來節省儲存空間。
This allows you, in Easy Mode, to minimize the Asus QuickLauncher into a tray icon next to the shutdown symbol.
sudo cp /usr/share/icewm/winoptions ~/.icewm/
sudo kwrite ~/.icewm/winoptions
This starts Text Editor and opens winoptions.
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
The window manager theme is set in /etc/X11/icewm/theme. Themes are available in /usr/share/icewm/themes.
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)?).
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.
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.
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.