Editing Easy Debian
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
Warning: This page is 33 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | This package, when installed | + | This package, when installed, will give you OpenOffice.org, Gimp, the LXDE Desktop Environment, Evince, Firefox (called Iceweasel in Debian) with Java and Flash support, printing support, and access to thousands of precompiled applications from [http://www.debian.org Debian] that can be easily browsed and downloaded. All these applications will be installed in an image file containing the Debian operation system without interfering with Maemo, but taking advantage of its infrastructure and connectivity. |
- | This package will give you all of these applications without any need for installing dependencies or other applications, and it should work on the | + | This package will give you all of these applications without any need for installing dependencies or other applications, and it should work on all of the tablets. |
== What you need: == | == What you need: == | ||
* You need 2.5 GB free on one of your memory cards, although after installing, you will only need 2 GB. | * You need 2.5 GB free on one of your memory cards, although after installing, you will only need 2 GB. | ||
- | * You need to keep your expectations reasonable. Big desktop applications like OpenOffice and Firefox run slowly on | + | * You need to keep your expectations reasonable. Big desktop applications like OpenOffice and Firefox run slowly on the tablet. They are power-hungry and designed for big, powerful CPUs. The [[Nokia N810|N8x0's]] processor is comparable to a Pentium II processor. Just imagine running these apps on your computer from the mid-90s (remember Windows 95?), and you'll get the idea. But sometimes, you really need something on the tablet that only these apps can provide, like MS Word compatibility or Java applets. On the [[Nokia N900|N900]], almost all applications run reasonably fast once loaded, but they often take somewhat long to launch. |
== Install instructions == | == Install instructions == | ||
- | * | + | * You need to install the [http://maemo.org/packages/view/easy-deb-chroot/ easy-deb-chroot package]. It can be found in the [[Extras]] repository. There may be a newer version in the [[Extras-devel]] repository. (Enabling Extras-devel is a dangerous area and you should disable it as soon as you are done installing Easy Debian, but Easy Debian is rather safe and it is optified.) |
- | + | * Once installed several new shortcut icons will be available on the applications menu. You will need to first run the one called "Debian Image Installer". A terminal program will open and ask you where to place the image file (after decompression it will be a 2 GB file), either on the [[Nokia N900|N900's]] built in storage (under MyDocs), or on an external MicroSD card (if available). That will start the download of the compressed image (about 300 MB) and eventual extraction of the image file. It may take more than 15 minutes to download if you have fast Internet connection, and another 30 minutes or more to extract it on your tablet. Make sure that there are no other processes running and that the extraction is not interrupted. | |
- | + | ** You can check for a successful download and extraction by typing<pre>ls -l MyDocs/debian*</pre> in [[terminal|XTerminal]]. The compressed image name has the ending .img.ext2.lmza; when decompressed the file name ends in .img.ext2 and it should have a file size of exactly 2147483648 bytes. | |
- | + | * This step is an alternate way to do the previous step: You can manually download the image file from [http://qole.org/files//debian-m5-v3d.img.ext2.lzma here]. Afterward you will have to copy it into <code>/home/user/MyDocs/</code> or into <code>/media/mmc1/</code> depending on whether you want it installed on the internal storage or on a removable storage. Then, when you run "Debian Image Installer" it will detect that you already have the file and proceed to extract it and set it up for you. If you have a faster computer with [http://www.7-zip.org/ programs] to unpack [[:wikipedia:Lempel%E2%80%93Ziv%E2%80%93Markov_chain_algorithm|lzma]]-compressed files, you may also skip the Debian Image Installer by copying the uncompressed file by USB to the <code>/home/user/MyDocs/</code> folder. | |
- | + | ||
- | + | ||
- | ** You can check for a successful download and extraction by typing<pre>ls -l | + | |
- | * This step is an alternate way to do the previous step: You can manually download the image file from [http://qole.org/files//debian-m5- | + | |
- | + | ||
* If you have more than one image file, you should edit <code>/home/user/.chroot</code> to select the one you want to load. Default is first in <code>/home/user/MyDocs/debian*.img*</code>, <code>/media/mmc1/debian*.img*</code> | * If you have more than one image file, you should edit <code>/home/user/.chroot</code> to select the one you want to load. Default is first in <code>/home/user/MyDocs/debian*.img*</code>, <code>/media/mmc1/debian*.img*</code> | ||
- | * | + | * Finally, when you get the "Congratulations!" message, REBOOT. |
- | * '''PR 1.2''': The new firmware broke the workarounds for loss of keyboard focus in LXDE when switching between Maemo and Debian. This is fixed in | + | * '''PR 1.2''': The new firmware broke the workarounds for loss of keyboard focus in LXDE when switching between Maemo and Debian. This is fixed in version 0.9.50 (currently in [[Extras-testing]]). |
== Easy Debian application icons == | == Easy Debian application icons == | ||
Line 29: | Line 24: | ||
; Close Debian : for unmounting the Debian image and shutting down all running Debian processes | ; Close Debian : for unmounting the Debian image and shutting down all running Debian processes | ||
- | ; Deb Img Install : for the initial download and extraction of the Debian image. For installing a new version of the Debian image from | + | ; Deb Img Install : for the initial download and extraction of the Debian image. For installing a new version of the Debian image from http:qole.org/files, delete the old image (or move/rename it appropriately) and rerun Deb Img Install. |
; Debian chroot : this runs "sudo debian" in XTerminal, which gives root access to the Debian image. This can be used for modifying the Debian image and installing further applications from the command line. The root file system of Maemo is not visible from within Debian chroot, except /home and /home/user/MyDocs, so you cannot ruin the Maemo firmware from here. | ; Debian chroot : this runs "sudo debian" in XTerminal, which gives root access to the Debian image. This can be used for modifying the Debian image and installing further applications from the command line. The root file system of Maemo is not visible from within Debian chroot, except /home and /home/user/MyDocs, so you cannot ruin the Maemo firmware from here. | ||
Line 35: | Line 30: | ||
; Debian LXDE : this launches the [http://lxde.org Lightweight X11 Desktop Environment] from where you can start all installed Debian application. Alternatively, you can start Debian applications from XTerminal with "debbie" (see below). | ; Debian LXDE : this launches the [http://lxde.org Lightweight X11 Desktop Environment] from where you can start all installed Debian application. Alternatively, you can start Debian applications from XTerminal with "debbie" (see below). | ||
- | ; Fix LXDE kbd : fixing lost keyboard focus in LXDE ( | + | ; Fix LXDE kbd : fixing lost keyboard focus in LXDE (see below) |
; GNOME ALSA mix : for configuring sound | ; GNOME ALSA mix : for configuring sound | ||
Line 49: | Line 44: | ||
== Using the LXDE Environment: == | == Using the LXDE Environment: == | ||
- | * To launch a session of LXDE (a light weight desktop environment) | + | * To launch a session of LXDE (a light weight desktop environment) whith several applications already installed in it, including OpenOffice.org, simply click on the "Debian LXDE" icon shortcut on the application menu. |
* LXDE's application menu is found at the top left corner of the screen. | * LXDE's application menu is found at the top left corner of the screen. | ||
* To momentarily go back into the Maemo environment, simply press Ctrl Backspace. To return to LXDE, click on the "Fix LXDE kbd" icon in the Maemo menu, since just going back from the Task Manager you would only be able to use the stylus thereafter. | * To momentarily go back into the Maemo environment, simply press Ctrl Backspace. To return to LXDE, click on the "Fix LXDE kbd" icon in the Maemo menu, since just going back from the Task Manager you would only be able to use the stylus thereafter. | ||
Line 63: | Line 58: | ||
If you upgrade Easy Debian and your LXDE top menu disappears, you can do one of two things: | If you upgrade Easy Debian and your LXDE top menu disappears, you can do one of two things: | ||
- | * Install the newest version (m5- | + | * Install the newest version (m5-v3d): Close Easy Debian (use the icon with the red arrow and box), delete the old image (use the File Manager to do this), and then use the "Deb Img Install" icon to download and extract the new image. |
* Keep your old image, and fix the top menu manually. Start LXDE. Tap and hold on a blank area of the left-side bar. Choose "Create New Panel". Choose "Top" and "OK". Tap and hold on new top panel. In the ''General'' tab, set the following things: Alignment: Left, Width: 25, Height: 32, Properties: Uncheck "Reserve Space..." In the ''Panel Applets'' tab, Add "Menu", "Digital Clock", "System Tray" (check "Stretch" column), "Net status monitor" (use edit button and change eth0 to wlan0, then tap on icon and set to wlan0 there too), and "CPU Usage Monitor". | * Keep your old image, and fix the top menu manually. Start LXDE. Tap and hold on a blank area of the left-side bar. Choose "Create New Panel". Choose "Top" and "OK". Tap and hold on new top panel. In the ''General'' tab, set the following things: Alignment: Left, Width: 25, Height: 32, Properties: Uncheck "Reserve Space..." In the ''Panel Applets'' tab, Add "Menu", "Digital Clock", "System Tray" (check "Stretch" column), "Net status monitor" (use edit button and change eth0 to wlan0, then tap on icon and set to wlan0 there too), and "CPU Usage Monitor". | ||
Line 74: | Line 69: | ||
=== Keyboard issues and tips === | === Keyboard issues and tips === | ||
- | + | It may happen that the hardware keyboard stops working in LXDE. It can be restored by <em>hitting the power button and then tapping outside the menu</em> or by using the "Fix LXDE keyboard" application icon. | |
- | + | ==== PR 1.2 ==== | |
- | + | ||
- | + | ||
- | The new version of easy-deb-chroot | + | The new firmware PR 1.2 breaks both ways of restoring a lost keyboard focus. |
+ | |||
+ | The new version of easy-deb-chroot, 0.9.50-1fremantle1, which can be installed from <u>Extras-Testing</u>, has a new LXDE application script with the double function of launching LXDE in the first place, and of restoring the keyboard on an already running LXDE session. (The "Fix LXDE keyboard" app is still provided but no longer needed. It is therefore sufficient to have only the "Debian LXDE" icon as a shortcut on the desktop.) | ||
+ | |||
+ | Since version 0.9.48-1fremantle1 the keyboard is fixed by the Maemo-side script /usr/bin/fixkbdfocus (which can be used with any window with keyboard focus problems by giving the window name as a parameter). | ||
+ | |||
+ | In the version of Easy Debian that is currently in Extras (0.9.46-1fremantle1), the "Fix LXDE keyboard" application requires the following modification of the file /usr/share/applications/hildon/lxdefocus.desktop. If you haven't upgraded to the newer easy-deb-chroot versions, you need to edit this file and modify the "Exec" line to read: | ||
+ | Exec=osso-xterm 'debbie xephfocus' | ||
+ | If you have reconfigured locales, you would also have to fix the xephfocus file in the Debian image, as described below. However, all that is not needed with the new version of Easy Debian, so upgrading is recommended. <b>Upgrading of the Easy Debian package can be done regardless of the Debian image that is already installed. You don't have to re-install the Debian image!</b> | ||
==== Localization ==== | ==== Localization ==== | ||
Line 99: | Line 100: | ||
and selecting from the list that is then displayed the UTF variant of the desired language, for example for German, de_DE.UTF-8. | and selecting from the list that is then displayed the UTF variant of the desired language, for example for German, de_DE.UTF-8. | ||
+ | |||
+ | ==== Fixing the keyboard focus script ==== | ||
+ | |||
+ | In languages other than da, de, en, fr, and sv, the script that retrieves lost keyboard focus and (in older images) also the one that starts LXDE need to be fixed. To fix that, open the Debian chroot terminal and edit the file <u>/usr/bin/xephfocus</u> (and in older images also /usr/bin/xephwm5) such that the "zenity" line therein reads | ||
+ | zenity --display=:0 --info --title="Information" --text="Welcome to Easy Debian LXDE. This window is needed to gain keyboard focus in LXDE. Click OK." & | ||
+ | |||
+ | Starting from version 0.9.48-1fremantle1 of Easy Debian, the xephfocus script is no longer needed. With version 0.9.50-1fremantle1, which is currently in Extras-Testing, the "Fix LXDE kbd" app is actually now superfluous. A lost keyboard is regained by simply hitting the "Debian LXDE" icon again. Note that upgrading to this Easy Debian version does <em>not</em> require a re-installation of the Debian image! | ||
==== Set Deb HW Keys app and xbindkeys ==== | ==== Set Deb HW Keys app and xbindkeys ==== | ||
- | Easy Debian provides also a "Set Deb HW Keys" application which runs xbindkeys, mapping <u>Fn+Shift+(upper row keys)</u> of the hardware keyboard to function keys F1-F12. Here the Fn (blue arrow) key has to be pressed first, which is best done by pressing with the thumb and rolling down to also press the Shift key. The function keys are sometimes needed to get in and out of certain modes of programs in particular when started from the desktop (often F1 for help; F5 for presentation or navigator mode; F11 for "Styles and Formatting" in Openoffice.) Moreover, <u>Ctrl+Up</u> and <u>Ctrl+Space</u> provide full screen toggles | + | The newest version of Easy Debian provides also a "Set Deb HW Keys" application which runs xbindkeys, mapping <u>Fn+Shift+(upper row keys)</u> of the hardware keyboard to function keys F1-F12. Here the Fn (blue arrow) key has to be pressed first, which is best done by pressing with the thumb and rolling down to also press the Shift key. The function keys are sometimes needed to get in and out of certain modes of programs in particular when started from the desktop (often F1 for help; F5 for presentation or navigator mode; F11 for "Styles and Formatting" in Openoffice.) Moreover, <u>Ctrl+Up</u> and <u>Ctrl+Space</u> provide full screen toggles. |
- | If F1-F12 do not work reliably for you, try replacing all occurrences of "xvkbd -text" in /home/user/.xbindkeysrc by "xvkbd -xsendevent -text". | + | If F1-F12 do not work reliably for you, try replacing all occurrences of "xvkbd -text" in /home/user/.xbindkeysrc by "xvkbd -xsendevent -text". |
Under LXDE, the Enter key is actually KP_Enter, while some application only accept ordinary "Return". For this eventuality, "Set Deb HW Keys" maps <u>Shift+Enter</u> to Return. | Under LXDE, the Enter key is actually KP_Enter, while some application only accept ordinary "Return". For this eventuality, "Set Deb HW Keys" maps <u>Shift+Enter</u> to Return. | ||
Line 115: | Line 123: | ||
maps Shift+BackSpace to Escape. (See e.g. http://linux.die.net/man/1/xbindkeys and http://linux.die.net/man/1/xvkbd for more possibilities.) | maps Shift+BackSpace to Escape. (See e.g. http://linux.die.net/man/1/xbindkeys and http://linux.die.net/man/1/xvkbd for more possibilities.) | ||
- | You can have xbindkeys started | + | You can have xbindkeys started also automatically by including |
@xbindkeys -f /home/user/.xbindkeysrc | @xbindkeys -f /home/user/.xbindkeysrc | ||
in /etc/xdg/lxsession/LXDE/autostart. | in /etc/xdg/lxsession/LXDE/autostart. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Note that the relevant file /home/user/.xbindkeysrc does not reside in the Debian image but in the home directory. If you upgrade to new versions of Easy Debian, and this file already exists, it will not be overwritten, but the package will install instead a newer version in /home/user/.xbindkeysrc.dist. | Note that the relevant file /home/user/.xbindkeysrc does not reside in the Debian image but in the home directory. If you upgrade to new versions of Easy Debian, and this file already exists, it will not be overwritten, but the package will install instead a newer version in /home/user/.xbindkeysrc.dist. | ||
Line 148: | Line 148: | ||
#xkbset sticky -twokey latchlock | #xkbset sticky -twokey latchlock | ||
- | In the newest image ( | + | In the newest image (v3d), the sticky keys hack is not enabled by default. To enable it, remove the #'s. |
==== xvkbd ==== | ==== xvkbd ==== | ||
Line 169: | Line 169: | ||
The above scripts run with environment variables determined largely by those set in Maemo and with working directory / . Another option is to enforce login shell behavior as follows: | The above scripts run with environment variables determined largely by those set in Maemo and with working directory / . Another option is to enforce login shell behavior as follows: | ||
- | ; sudo debian su - user: starts debian chroot shell as user with $CHROOT/etc/profile and /home/user/.profile evaluated and with working directory /home/user | + | ; sudo debian su - user : starts debian chroot shell as user with $CHROOT/etc/profile and /home/user/.profile evaluated and with working directory /home/user |
- | ; sudo debian su - user -c ''command'' : runs debian command as user with $CHROOT/etc/profile and /home/user/.profile evaluated and with working directory /home/user | + | ; sudo debian su - user -c ''command'' : runs debian command as user with $CHROOT/etc/profile and /home/user/.profile evaluated and with working directory /home/user |
- | + | In all of the above, ''command'' can be simple command-line commands with standard output or GUI programs to be run under a window manager, such as ooffice. | |
- | + | ||
- | + | ||
- | + | ||
- | In all of the above, ''command'' can be simple command-line commands with standard output or GUI programs to be run under a window manager, such as ooffice | + | |
- | + | ||
- | + | ||
=== Creating desktop shortcuts in Maemo === | === Creating desktop shortcuts in Maemo === | ||
Line 199: | Line 193: | ||
mkdir -p /home/user/.local/share/applications/hildon | mkdir -p /home/user/.local/share/applications/hildon | ||
mkdir -p /home/user/.local/share/icons/hicolor/scalable/hildon | mkdir -p /home/user/.local/share/icons/hicolor/scalable/hildon | ||
- | Newly installed application icons usually need a reboot to become visible in the application | + | Newly installed application icons usually need a reboot to become visible in the application manager. |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== Startup scripts == | == Startup scripts == | ||
Line 223: | Line 206: | ||
; $CHROOT/var/run/onchroot.rc : This script will run commands as root in the chroot every time you run a chroot command. | ; $CHROOT/var/run/onchroot.rc : This script will run commands as root in the chroot every time you run a chroot command. | ||
- | |||
- | |||
Here $CHROOT is the mount point of the Debian system (to be omitted when aleady in chroot). | Here $CHROOT is the mount point of the Debian system (to be omitted when aleady in chroot). | ||
In order to run a command in one of these scripts as "user", preface the command with ''su user -c'' | In order to run a command in one of these scripts as "user", preface the command with ''su user -c'' | ||
+ | |||
+ | |||
== Installing Applications == | == Installing Applications == | ||
Line 236: | Line 219: | ||
Note that the image cannot be expected to have an up-to-date package list. It is important that you perform "apt-get update" or use Edit -> Reload Package Information within Synaptic before installing new packages. After such installs you can invoke "apt-get clean" to free your disk space from downloaded package files. | Note that the image cannot be expected to have an up-to-date package list. It is important that you perform "apt-get update" or use Edit -> Reload Package Information within Synaptic before installing new packages. After such installs you can invoke "apt-get clean" to free your disk space from downloaded package files. | ||
- | In image v3d, only the stable Debian Lenny repository | + | In the current image (v3d), only the stable Debian Lenny repository is activated, although the Easy Debian image also involves a number of packages from the newer Debian Squeeze (testing) repository. As a result, some additional packages can only be installed with Squeeze activated (indicated by "unmet dependencies" errors when attempting to install with Lenny alone). If you need to or want to install additional packages specifically from Squeeze or even from Sid (unstable), you should uncomment the corresponding line in /etc/apt/sources.list by launching an editor in the Debian chroot terminal (app with red swirl icon), i.e., remove "#" in the beginning of the lines |
#deb http://http.us.debian.org/debian squeeze main contrib non-free | #deb http://http.us.debian.org/debian squeeze main contrib non-free | ||
Line 249: | Line 232: | ||
---- | ---- | ||
- | By the same token, watch out when new applications to be installed from Squeeze or Sid require an upgrade of gconf2. This can lead to configuration errors in other applications. | + | By the same token, watch out when new applications to be installed from Squeeze or Sid require an upgrade of gconf2. This can lead to configuration errors in other applications. |
- | |||
- | |||
- | |||
- | |||
- | |||
=== CUPS Installation Instructions === | === CUPS Installation Instructions === | ||
Line 282: | Line 260: | ||
</pre> | </pre> | ||
- | The last two lines ensure that the CUPS server is started when Easy Debian is launched. | + | The last two lines ensure that the CUPS server is started when Easy Debian is launched. |
=== Other useful applications to install in addition === | === Other useful applications to install in addition === | ||
- | The following packages are also not part of the current image ( | + | The following packages are also not part of the current image (v3d) but may be of wider interest: |
- | + | ||
- | + | ||
; vpnc : The VPN client for accessing Cisco concentrators works well when started under Debian, while under Maemo vpnc is not yet available as a stable application. Install by "apt-get install vpnc" and configure through /etc/vpnc.conf . | ; vpnc : The VPN client for accessing Cisco concentrators works well when started under Debian, while under Maemo vpnc is not yet available as a stable application. Install by "apt-get install vpnc" and configure through /etc/vpnc.conf . | ||
:This works particularly well in WLAN connections. There even microB connects via vpn. With GPRS connections, however, a browser in Debian has to be used. | :This works particularly well in WLAN connections. There even microB connects via vpn. With GPRS connections, however, a browser in Debian has to be used. | ||
- | ; openssh-client | + | ; openssh-client : To access the Debian system by ssh, one can of course use the ssh server under Maemo (which presumably every power user will have installed), for a login followed by "debian" or "debian su user". To initiate ssh connection from within the Debian system, installation of openssh-client is sufficient and does not conflict with ssh installations in Maemo. |
; gftp : X/GTK+ FTP client. Works well when started outside of LXDE by "debbie gftp". | ; gftp : X/GTK+ FTP client. Works well when started outside of LXDE by "debbie gftp". | ||
Line 301: | Line 277: | ||
; flpsed : WYSIWYG PostScript and PDF annotator, useful for filling forms, adding notes etc. Works well when started outside of LXDE by "debbie flpsed". | ; flpsed : WYSIWYG PostScript and PDF annotator, useful for filling forms, adding notes etc. Works well when started outside of LXDE by "debbie flpsed". | ||
- | ; pdfchain : a graphical user interface (only in squeeze distribution) for the PDF Tool Kit (<b>pdftk</b>, the command line tool that is already available in the stable lenny distribution) | + | ; pdfchain : a graphical user interface (only in squeeze distribution) for the PDF Tool Kit (<b>pdftk</b>, the command line tool that is already available in the stable lenny distribution) |
; abiword : Alternative to OpenOffice Writer. However, needs to be installed from the squeeze repository and does upgrade gconf2 to the squeeze version, which breaks certain other things (e.g. the configuration of evince). | ; abiword : Alternative to OpenOffice Writer. However, needs to be installed from the squeeze repository and does upgrade gconf2 to the squeeze version, which breaks certain other things (e.g. the configuration of evince). | ||
Line 315: | Line 291: | ||
sudo debian su - user -c zim | sudo debian su - user -c zim | ||
- | : The | + | : The theme provided by the v3b image does not work well with this application, but can be changed by creating the file /home/user/.gtkrc-2.0.mine with content e.g. |
gtk-theme-name="Raleigh" | gtk-theme-name="Raleigh" | ||
- | ; encfs | + | ; encfs : a user-space encrypted file system, which allows to encrypt entire folders, see http://www.arg0.net/encfs. Encfs requires the fuse kernel module, which is already available in the Maemo system, although normally not yet loaded. Because there is no group "fuse" under Maemo, it's best to change the group ownership of /dev/fuse to users, and have all that automated through the startup script $CHROOT/var/run/onfirstchroot-ext.rc (needs to be executable). Add the following lines to this script: |
modprobe fuse | modprobe fuse | ||
sleep 1 | sleep 1 | ||
Line 325: | Line 301: | ||
apt-get update | apt-get update | ||
apt-get install encfs | apt-get install encfs | ||
- | |||
adduser user fuse | adduser user fuse | ||
apt-get clean | apt-get clean | ||
:After that user (and not only root) can create and use encrypted file systems in Easy Debian. See http://www.arg0.net/encfs for how to use it. | :After that user (and not only root) can create and use encrypted file systems in Easy Debian. See http://www.arg0.net/encfs for how to use it. | ||
- | |||
- | |||
; nicotine : graphical client for the SoulSeek peer-to-peer system | ; nicotine : graphical client for the SoulSeek peer-to-peer system | ||
Line 338: | Line 311: | ||
=== Upgrading OpenOffice === | === Upgrading OpenOffice === | ||
- | The | + | The current images (up to v3d) include an OpenOffice version (3.1.1) that is no longer available in the Debian Squeeze distribution, so that additional packages like openoffice.org-math cannot be installed without downgrading to version 2.4.1, since the newer versions in Squeeze are (at the time of writing) not available for the armel architecture. However, version 3.2.0 is available for armel in Debian Sid, the unstable distribution. Currently, the version therein (1:3.2.0-9) installs fine. You need to activate both Squeeze and Sid in /etc/apt/sources.list. To install all openoffice.org packages do |
- | + | ||
- | + | ||
apt-get update | apt-get update | ||
apt-get install openoffice.org | apt-get install openoffice.org | ||
Line 346: | Line 317: | ||
To only upgrade the packages installed (leaving out base but including math), do (each apt-get command is one line) | To only upgrade the packages installed (leaving out base but including math), do (each apt-get command is one line) | ||
apt-get update | apt-get update | ||
- | apt-get install openoffice.org-writer openoffice.org-impress openoffice.org-calc openoffice.org-math openoffice.org-style-crystal openoffice.org-style-galaxy openoffice.org-style-hicontrast openoffice.org-style-tango openoffice.org-emailmerge | + | apt-get install openoffice.org-writer openoffice.org-impress openoffice.org-calc openoffice.org-math openoffice.org-style-crystal openoffice.org-style-galaxy openoffice.org-style-hicontrast openoffice.org-style-tango openoffice.org-emailmerge |
apt-get clean | apt-get clean | ||
- | + | After the procedure, don't forget to deactivate Sid in /etc/apt/sources.list! | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== FAQ == | == FAQ == | ||
'''Q:''' I have started Openoffice (evince, ...) from the desktop, entered a certain mode (presentation, navigator, formatting, full screen, ...) and cannot get out of that again.<br> | '''Q:''' I have started Openoffice (evince, ...) from the desktop, entered a certain mode (presentation, navigator, formatting, full screen, ...) and cannot get out of that again.<br> | ||
- | '''A:''' See [[# | + | '''A:''' See [[Easy_Debian#Set_Deb_HW_Keys_app_and_xbindkeys]] |
'''Q:''' I chose Iceweasel, but nothing happened!<br> | '''Q:''' I chose Iceweasel, but nothing happened!<br> | ||
Line 482: | Line 350: | ||
:Choose your language(s). | :Choose your language(s). | ||
- | :DIABLO/N8x0: Note that you should choose the language with no period between the language and the iso code (eg. " | + | :DIABLO/N8x0: Note that you should choose the language with no period between the language and the iso code (eg. "en_CA ISO-8859-1"), and optionally, the utf-8 version, too (eg. "en_CA.UTF-8"). |
:FREMANTLE/N900: Choose the UTF-8 version. | :FREMANTLE/N900: Choose the UTF-8 version. | ||
Line 510: | Line 378: | ||
apt-get install localepurge; localepurge | apt-get install localepurge; localepurge | ||
- | :This will get you at least | + | :This will get you at least 80MB back. You should probably do this first, before starting to install. Running out of space during an install in Debian is ugly. |
- | :Also, when downloading packages, remember to frequently use " | + | :Also, when downloading packages, remember to frequently use "apt-get clean" to clear out old downloaded packages. That will help with free space. |
- | :If you're comfortable with the command line, you can use the technique listed in | + | :If you're comfortable with the command line, you can use the technique listed in this post to double your install space. |
:Even with all of these tricks, you'll still run out of room fairly quickly. You'll probably have to uninstall packages in order to add new ones. | :Even with all of these tricks, you'll still run out of room fairly quickly. You'll probably have to uninstall packages in order to add new ones. | ||
- | :More advanced users can put a minimal system into an empty image and build a custom set of apps using | + | :More advanced users can put a minimal system into an empty image and build a custom set of apps using this post. The most advanced and best way: partition your SD card and put your Debian fs there. |
'''Q:''' What's this "Iceweasel"?<br> | '''Q:''' What's this "Iceweasel"?<br> | ||
'''A:''' Iceweasel is the Debian name for Firefox. It's a long story, but in short, Mozilla and Debian had a philosophical disagreement that ended in Debian renaming Firefox to Iceweasel.<br> | '''A:''' Iceweasel is the Debian name for Firefox. It's a long story, but in short, Mozilla and Debian had a philosophical disagreement that ended in Debian renaming Firefox to Iceweasel.<br> | ||
- | '''Q:''' I would like to have a separate | + | '''Q:''' I would like to have a separate /home/user directory under Debian than under Maemo. Is that possible?<br> |
- | '''A:''' | + | '''A:''' /sbin/qchroot script does mountings; one option is to not mount /home/user at all by commenting out the corresponding line in that script, which is |
mount /dev/mmcblk0p2 "$CHROOT/home" | mount /dev/mmcblk0p2 "$CHROOT/home" | ||
- | for FREMANTLE/N900. Then | + | for FREMANTLE/N900. Then /home/user/MyDocs will still get mounted, but you can keep a Debian home directory separately, in the chroot. |
'''Q:''' How is this different than the [http://trac.tspre.org/projects/nit-debian Deblet project]?<br> | '''Q:''' How is this different than the [http://trac.tspre.org/projects/nit-debian Deblet project]?<br> | ||
Line 532: | Line 400: | ||
'''Q:''' I already have Debian in a partition, or I'm running Deblet. How can I use your package with my Debian?<br> | '''Q:''' I already have Debian in a partition, or I'm running Deblet. How can I use your package with my Debian?<br> | ||
- | '''A:''' Edit the | + | '''A:''' Edit the /home/user/.chroot file to point to your Debian partition or image file. Easy Debian will do the rest. |
- | '''NOTE:''' If you are using Deblet, delete the | + | '''NOTE:''' If you are using Deblet, delete the /home/user/.synchroot file before running Easy Debian for the first time, so your Deblet config files don't get overwritten. Remember that you'll need to make a user called "user" in Deblet (with the proper ID) for things to work correctly. Also note that your maemo home directory will be used by default. This can also be changed in the .chroot file. |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== Donations == | == Donations == | ||
If you feel overwhelmed by gratitude towards [http://talk.maemo.org/member.php?u=10410 qole] for bringing a full-fledged Debian OS to your device, consider donating at [http://qole.org qole.org]. [DISCLAIMER: This entry was inserted by a grateful user, not qole himself.] | If you feel overwhelmed by gratitude towards [http://talk.maemo.org/member.php?u=10410 qole] for bringing a full-fledged Debian OS to your device, consider donating at [http://qole.org qole.org]. [DISCLAIMER: This entry was inserted by a grateful user, not qole himself.] | ||
- | |||
[[Category:Users]] | [[Category:Users]] | ||
[[Category:Power users]] | [[Category:Power users]] |
Learn more about Contributing to the wiki.