Editing User talk:Rebhana

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
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 5: Line 5:
== My current Easy Debian Installation ==
== My current Easy Debian Installation ==
-
After installing easy-deb-chroot 0.9.54-1fremantle1 from Extras and extraction of image debian-m5-v3e.img.ext2 I have applied the following fixes and additions:  
+
----
 +
Note: On qole.org, a new image, debian-m5-v3e, is now available. This already has OpenOffice updated. The following refers to the previous version and will be updated when I find time for starting all over.
 +
----
 +
 
 +
After installing easy-deb-chroot 0.9.54-1fremantle1 from Extras and extraction of image debian-m5-v3d.img.ext2 I have applied the following fixes and additions:  
(Filenames prefixed by $CHROOT refer to files in the image. Within the Debian chroot $CHROOT is to be omitted; in Maemo $CHROOT=/.debian - read [http://wiki.maemo.org/Easy_Debian the Easy Debian wiki] to educate yourself before proceeding blindly!)
(Filenames prefixed by $CHROOT refer to files in the image. Within the Debian chroot $CHROOT is to be omitted; in Maemo $CHROOT=/.debian - read [http://wiki.maemo.org/Easy_Debian the Easy Debian wiki] to educate yourself before proceeding blindly!)
Line 25: Line 29:
=== fixing sound ===
=== fixing sound ===
-
 
-
(didn't need that any longer with new image v3e)
 
In one XTerminal:
In one XTerminal:
Line 56: Line 58:
"xvkbd -xsendevent -text '\e'"
"xvkbd -xsendevent -text '\e'"
   Shift+BackSpace
   Shift+BackSpace
-
 
-
# Shift+Tap=middle click; Fn+Tap=right click
 
-
"xdotool click 2"
 
-
m:0x1 + b:1 + release
 
-
 
-
"xdotool click 3"
 
-
m:0x80 + b:1 + release
 
</pre>
</pre>
So I changed the binding of full screen toggle to Shift+Fn+Space (which otherwise conflicts with [[N900 Shortcuts and Gestures|Maemo key bindings]]) and added additional ones for tab (\t) and escape (\e).
So I changed the binding of full screen toggle to Shift+Fn+Space (which otherwise conflicts with [[N900 Shortcuts and Gestures|Maemo key bindings]]) and added additional ones for tab (\t) and escape (\e).
-
 
-
The last two entries require
 
-
apt-get install xdotool
 
-
They emulate middle and right mouse-clicks.
 
=== Upgrades and additional installations ===
=== Upgrades and additional installations ===
-
In the new image v3e, the squeeze repository is enabled by default. I prefer having only lenny by default, and squeeze only when I really want newer package versions.
+
==== Security updates ====
-
 
+
-
==== Lenny security updates ====
+
-
After adding security updates to $CHROOT/etc/apt/sources.list (enabled by default in v3e):
+
After adding security updates to $CHROOT/etc/apt/sources.list:
  deb http://security.eu.debian.org/ lenny/updates main contrib non-free
  deb http://security.eu.debian.org/ lenny/updates main contrib non-free
-
and <em>disabling</em> squeeze and lenny-backports, I did a full upgrade by
+
and disabling lenny-backports, I did a full upgrade by
  apt-get update
  apt-get update
  apt-get upgrade
  apt-get upgrade
  apt-get clean
  apt-get clean
-
(To also update libdns do dist-upgrade in place of upgrade, but not when squeeze is enabled!)
+
(without subsequently upgrading manually the packages that were held back when doing so).
==== Additional packages ====
==== Additional packages ====
-
In order to have more space in the 2GB image, and not to run out of space during more voluminous installs, I have moved $CHROOT/var/cache/apt/archives to /home/user and provided symlinks. From debian chroot:
+
In order to have more space in the 2GB image, I have moved $CHROOT/usr/share/doc and $CHROOT/var/cache/apt/archives to /home/user and provided symlinks. From debian chroot:
 +
cd /usr/share
 +
cp -a doc /home/user/.easydebdoc
 +
rm -r doc
 +
ln -s /home/user/.easydebdoc doc
  cd /var/cache/apt
  cd /var/cache/apt
  apt-get clean
  apt-get clean
Line 92: Line 85:
  mv archives archives-
  mv archives archives-
  ln -s /home/user/.easydebarchives archives
  ln -s /home/user/.easydebarchives archives
-
To also get more space for installed software, the same can be done for example with $CHROOT/usr/share/doc :
 
-
cd /usr/share
 
-
cp -a doc /home/user/.easydebdoc
 
-
rm -r doc
 
-
ln -s /home/user/.easydebdoc doc
 
I personally found the following packages useful, which include a complete LATeX installation and the symbolic math program xmaxima, which both are fairly big.
I personally found the following packages useful, which include a complete LATeX installation and the symbolic math program xmaxima, which both are fairly big.
(Don't forget to run "apt-get clean" regularly to free the space occupied by the downloaded Debian packages once they are installed.)
(Don't forget to run "apt-get clean" regularly to free the space occupied by the downloaded Debian packages once they are installed.)
-
 
-
As a rule, I now install with
 
-
apt-get install --no-install-recommends ...
 
-
(with an eye on suggested and recommended packages which are not installed automatically). Always using "nice" in front of "apt-get" was suggested [http://talk.maemo.org/showpost.php?p=949363&postcount=2083 here] to avoid the sporadic phenomenon of reboots in the middle of the process, which always leaves the image file system corrupted. In this case one needs to start all over from a fresh image or from a <b>backup</b>(!)ed one. (Nicety can be increased to "nice -n 19" if needed.) I personally haven't suffered from this reboot problem after I just restricted the amount of packages installed in one go.
 
-
 
From <u>lenny</u>:
From <u>lenny</u>:
Line 113: Line 96:
*[http://packages.debian.org/lenny/odt2txt odt2txt]
*[http://packages.debian.org/lenny/odt2txt odt2txt]
*[http://packages.debian.org/lenny/openssh-client openssh-client] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
*[http://packages.debian.org/lenny/openssh-client openssh-client] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
-
: v3e: the full openssh suite is now already installed - IMHO the openssh-server can be de-installed
 
*[http://packages.debian.org/lenny/pgpgpg pgpgpg]
*[http://packages.debian.org/lenny/pgpgpg pgpgpg]
 +
*[http://packages.debian.org/lenny/rsync rsync]
*[http://packages.debian.org/lenny/tree tree]
*[http://packages.debian.org/lenny/tree tree]
*[http://packages.debian.org/lenny/vpnc vpnc] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
*[http://packages.debian.org/lenny/vpnc vpnc] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
 +
*[http://packages.debian.org/lenny/xmaxima xmaxima] ([http://talk.maemo.org/showpost.php?p=492696&postcount=51 screenshot here])
*[http://packages.debian.org/lenny/wxmaxima wxmaxima] (through "apt-get -t lenny-backports install wxmaxima"; [http://talk.maemo.org/showpost.php?p=806683&postcount=1704 screenshots and instructions here])
*[http://packages.debian.org/lenny/wxmaxima wxmaxima] (through "apt-get -t lenny-backports install wxmaxima"; [http://talk.maemo.org/showpost.php?p=806683&postcount=1704 screenshots and instructions here])
*[http://packages.debian.org/lenny/dvipng dvipng]
*[http://packages.debian.org/lenny/dvipng dvipng]
*[http://packages.debian.org/lenny/graphviz graphviz]
*[http://packages.debian.org/lenny/graphviz graphviz]
-
<!-- *[http://packages.debian.org/lenny/bzr bzr] -->
+
*[http://packages.debian.org/lenny/bzr bzr]
*[http://packages.debian.org/lenny/texlive-latex-base texlive-latex-base]
*[http://packages.debian.org/lenny/texlive-latex-base texlive-latex-base]
*[http://packages.debian.org/lenny/texlive-publishers texlive-publishers]
*[http://packages.debian.org/lenny/texlive-publishers texlive-publishers]
Line 140: Line 124:
*[http://packages.debian.org/squeeze/xournal xournal]
*[http://packages.debian.org/squeeze/xournal xournal]
*[http://packages.debian.org/squeeze/zim zim] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
*[http://packages.debian.org/squeeze/zim zim] (see also [http://wiki.maemo.org/Easy_Debian#Other_useful_applications_to_install_in_addition wiki])
-
*[http://packages.debian.org/squeeze/bzr bzr]
 
*[http://packages.debian.org/squeeze/cadabra cadabra] (computer algebra system for field theorists - [http://talk.maemo.org/showpost.php?p=807853&postcount=1714 screenshot]);
*[http://packages.debian.org/squeeze/cadabra cadabra] (computer algebra system for field theorists - [http://talk.maemo.org/showpost.php?p=807853&postcount=1714 screenshot]);
:pulls in new texlive installation (big!) and requires additionally texlive-latex3 - for gaining more space in the image moved also /usr/share/texmf-texlive (almost 300MB) to /home/user:
:pulls in new texlive installation (big!) and requires additionally texlive-latex3 - for gaining more space in the image moved also /usr/share/texmf-texlive (almost 300MB) to /home/user:
Line 148: Line 131:
  ln -s /home/user/.easydebtexmf-texlive texmf-texlive
  ln -s /home/user/.easydebtexmf-texlive texmf-texlive
-
Prior to image v3e, upgrade of [http://packages.debian.org/squeeze/openoffice.org OpenOffice] to 3.2.1 (including also openoffice.org-math, but leaving out openoffice.org-base which does not work in armel) through:
+
Upgrade of [http://packages.debian.org/squeeze/openoffice.org OpenOffice] to 3.2.1 (including also openoffice.org-math, but leaving out openoffice.org-base which does not work in armel):
-
  apt-get install openoffice.org-core openoffice.org-draw openoffice.org-gtk 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 ttf-opensymbol
+
  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 ttf-opensymbol python-uno
  apt-get clean
  apt-get clean
-
 
-
In v3e, OpenOffice 3.2.1-9 is already installed, but openoffice.org-math is left out. So I just did
 
-
apt-get install openoffice.org-math
 
-
By now, squeeze has further (security) updates of 3.2.1, which can be installed by the longer version above.
 
Then revert $CHROOT/etc/apt/sources.list back to lenny only. Besides being on the safe side for future installations, this also frees quite some memory in the image.
Then revert $CHROOT/etc/apt/sources.list back to lenny only. Besides being on the safe side for future installations, this also frees quite some memory in the image.
Line 162: Line 141:
== Google Streetview App through Easy Debian ==
== Google Streetview App through Easy Debian ==
-
 
-
[http://talk.maemo.org/showpost.php?p=952914&postcount=45 UPDATE:] Debernardis's strade file now works in MicroB again, thanks to some changes in google maps.
 
Thanks to the ingenuity of [http://talk.maemo.org/showthread.php?p=731567#post731567 debernardis], Easy Debian can be made to come to the rescue after the flashplayer in Maemo was no longer good enough for google streetview within google maps:
Thanks to the ingenuity of [http://talk.maemo.org/showthread.php?p=731567#post731567 debernardis], Easy Debian can be made to come to the rescue after the flashplayer in Maemo was no longer good enough for google streetview within google maps:
In the Debian image, with squeeze repository enabled, install kazehakase browser through
In the Debian image, with squeeze repository enabled, install kazehakase browser through
-
  apt-get install --no-install-recommends kazehakase libgtk2-ruby libgtk2-ruby1.8 xulrunner-1.9.1
+
  apt-get install kazehakase libgtk2-ruby libgtk2-ruby1.8 xulrunner-1.9.1
In Maemo, create /usr/share/applications/hildon/streetview.desktop with content
In Maemo, create /usr/share/applications/hildon/streetview.desktop with content
Line 204: Line 181:
; from lenny
; from lenny
-
*[http://packages.debian.org/lenny/xmaxima xmaxima] ([http://talk.maemo.org/showpost.php?p=492696&postcount=51 screenshot here]), but I'm now only using wxmaxima
 
*[http://packages.debian.org/lenny/gcalctool gcalctool]
*[http://packages.debian.org/lenny/gcalctool gcalctool]
*[http://packages.debian.org/lenny/gftp gftp]  
*[http://packages.debian.org/lenny/gftp gftp]  
Line 214: Line 190:
; from squeeze
; from squeeze
*[http://packages.debian.org/squeeze/build-essential build-essential]
*[http://packages.debian.org/squeeze/build-essential build-essential]
-
*[http://packages.debian.org/squeeze/eric eric] (needs .kbdactive for keyboard focus under debbie)
+
*[http://packages.debian.org/squeeze/calibre calibre] (needs upgrade of libpulse0, which breaks sound; - [http://talk.maemo.org/showpost.php?p=819930&postcount=1781 instructions and screenshots], after installation from squeeze  [http://talk.maemo.org/showpost.php?p=820705&postcount=1795 updated to calibre version from sid])
*[http://packages.debian.org/squeeze/pdfchain pdfchain]
*[http://packages.debian.org/squeeze/pdfchain pdfchain]
*[http://packages.debian.org/squeeze/qalculate qalculate]
*[http://packages.debian.org/squeeze/qalculate qalculate]
Line 220: Line 196:
=== Unresolved problems: ===
=== Unresolved problems: ===
-
*[http://packages.debian.org/squeeze/abiword abiword]
+
; abiword
: needs to be installed from squeeze, works, but because <b>gconf2</b> is upgraded interferes with configuration of other applications such as evince
: needs to be installed from squeeze, works, but because <b>gconf2</b> is upgraded interferes with configuration of other applications such as evince
-
*[http://packages.debian.org/squeeze/calibre calibre]
+
; calibre, eric
-
:needed upgrade of libpulse0, which breaks sound
+
:Python programs that are installable from squeeze provided libpulse0 is upgraded (breaks sound in Easy Debian, however)
-
:[http://talk.maemo.org/showpost.php?p=819930&postcount=1781 instructions and screenshots], after installation from squeeze  [http://talk.maemo.org/showpost.php?p=820705&postcount=1795 updated to calibre version from sid]
+
:Work without problems in LXDE, but when started with debbie or debbie-sue, do not get keyboard focus. The latter can be repaired with [http://talk.maemo.org/showpost.php?p=818545&postcount=1769 simple .kbdactive script] that is included in the new version of easy-deb-chroot (and mapped to Fn+Return in xbindkeys).
 +
 
----
----
Line 283: Line 260:
Include title option to fix "Info bug":
Include title option to fix "Info bug":
  zenity --display=:0 --info --title="Information" --text="This window is needed to gain keyboard focus in LXDE. Click OK." &
  zenity --display=:0 --info --title="Information" --text="This window is needed to gain keyboard focus in LXDE. Click OK." &
-
 
-
=== /usr/bin/xephwm5 ===
 
-
 
-
Change $CHROOT/usr/bin/xephwm5 so that the lines containing qobi-wmhint-fix and set-focus read:
 
-
sudo /sbin/qobi-wmhint-fix $PARWIN
 
-
#/usr/bin/set-focus $PARWIN
 
-
 
-
This resolves all issues with keyboard focus loss in LXDE for good. The new easy-deb-chroot version achieves the same through Maemo-side scripts, so this fix makes sure that one can also use the older method for starting LXDE.
 
== Proposed changes to image debian-m5-v3b.img.ext2 (old) ==
== Proposed changes to image debian-m5-v3b.img.ext2 (old) ==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)