User talk:Rebhana

(Proposed changes to easy-deb-chroot 0.9.46-1fremantle1)
Line 1: Line 1:
-
The following is a compilation of modifications I applied to my personal installation of Easy Debian (a digest of my contributions to the thread [http://talk.maemo.org/showthread.php?t=34550 Easy Debian Fremantle Beta Testing]) and which I suggest for inclusion in the next versions of  debian-m5-v3b.img.ext2 and the easy-deb-chroot package.
+
The following is a compilation of modifications I applied to my personal installation of Easy Debian and which I suggest for inclusion in the next versions of  debian-m5-v3b.img.ext2 and the easy-deb-chroot package.
 +
 
 +
(This is essentially a writer's digest of my contributions to the thread [http://talk.maemo.org/showthread.php?t=34550 Easy Debian Fremantle Beta Testing] - @qole: feel free to add comments, mark as "Fixed in v3c", won't fix, or whatever, as you like; all others: discussions should continue in the above talk thread, not here, please.)
== Proposed changes to image debian-m5-v3b.img.ext2 ==
== Proposed changes to image debian-m5-v3b.img.ext2 ==

Revision as of 16:55, 9 April 2010

The following is a compilation of modifications I applied to my personal installation of Easy Debian and which I suggest for inclusion in the next versions of debian-m5-v3b.img.ext2 and the easy-deb-chroot package.

(This is essentially a writer's digest of my contributions to the thread Easy Debian Fremantle Beta Testing - @qole: feel free to add comments, mark as "Fixed in v3c", won't fix, or whatever, as you like; all others: discussions should continue in the above talk thread, not here, please.)

Contents

Proposed changes to image debian-m5-v3b.img.ext2

Better internationalizability

  • change /usr/bin/xephwm5 such that:
export TWOWIN=`wmctrl -l | grep -i Info | awk '{print $1}'`

This covers languages bs, ca, cs, da, de, en_CA, en_GB, es, eu, fr, gl, hr, hu, id, it, lt, lv, nb, nl, nn, pl, pt, pt_BR, ro, sk, sq, sr@Latn, sv

  • don't enable sticky keys hack by default

therefore in /etc/xdg/lxsession/LXDE/autostart comment out:

#xkbset exp 60 =sticky =twokey =latchlock
#xkbset sticky -twokey latchlock


Preparation for "su -" in future /usr/bin/debbie

  • Add
#Messy hack to make tap-and-hold work with GTK apps.
export GTK_MODULES=libgtkstylus.so
#Some OpenOffice environment variables
export SAL_USE_VCLPLUGIN="gtk"
export OOO_FORCE_DESKTOP="gnome"
export SAL_NOOPENGL="true"
export OOO_DISABLE_RECOVERY="true"
export SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION="true"
#export SAL_DISABLE_CUPS="true"

to /etc/profile

  • Instead of "PS1='\u@\h:\w\$ '" I also suggest to put I
  PS1='deb:\w\$ '

into /etc/profile. Remove any $PS1 setting from /root/.bashrc.

packages

evince
not in LXDE menu - needs "NoDisplay=false" in /usr/share/applications/evince.desktop followed by
xdg-desktop-menu install --novendor /usr/share/applications/evince.desktop         
make evince also display postscript files
I noticed that installing "gv" pulled in the required packages to display postscript files also with evince
extra packages
are of course not needed, since everyone can install them themselves. The following packages are however small enough to consider having them added: less, openssh-client, rsync
xbindkeys
man pages are missing, but would be desirable I think. Simply re-install xbindkeys.

Sound

Not sure whether fixing sound by

debbie 
xmms2d -o pulse

and then starting lxmusic fixes the configuration stored in /home/user or in the image. If in the latter, this could be fixed in the image.

Minor cleanups

  • /etc/hosts refers to N800. Since the 2GB image doesn't work for Diablo (true?), this should be changed to N900 perhaps.
  • xephwm5 produces (harmless) error "trl: command not found"
  • /var/log could be cleaned. Since no syslog is started (at least for me it wasn't), messages, syslog, user.log could be emptied.

Proposed changes to easy-deb-chroot 0.9.46-1fremantle1

(Can be done at a later stage; in fact assumes that /etc/profile in the image has been fixed as above.)

  • "su -"

/usr/bin/debbie: add hyphen in two lines:

sudo /sbin/debian su - ...

Some applications do not work properly without that (zim), others fail in LXDE (gramps), and internationalization works better in debbie and /sbin/debian that way.

It would however be necessary to communicate this change to users of images up to v3b, so that they insert the necessary environment variables in /etc/profile.

also in debchroot.desktop:

Exec=osso-xterm "sudo debian su -"
  • .xbindkeysrc
delete spurious first lines
add tab and escape, too:
"xvkbd -xsendevent -text '\t'"
  Control + KP_Enter
"xvkbd -xsendevent -text '\e'"
  Shift + BackSpace

The last one was suggested by debernadis; the tab is my suggestion.