Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Sunday, September 02, 2018

Enabling tapping on touchpad on Debian Mate Desktop.

I installed Mate Desktop on Debian 9 "Stretch" recently and found that tapping on touchpad did not work and the setting was missing in Mate Control Centre.

After searching I found the solution on Debian Wiki
# mkdir -p /etc/X11/xorg.conf.d
# echo 'Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf


Thursday, July 25, 2013

Installed Debian on Samsung Galaxy 5 (GT-I5503)

People generally look for installing other ROMs on their phones after getting root access but being Linux user I was looking for installing Linux Distribution without disturbing the original ROM. After googling I got this thread on xdadevelopers site. The idea of installing Debian using the original ROM appealed to me. Accordingly I downloaded the Debian Kit application by Sven-Ola Tuecke from Android Market. You can read about this application here.

Following are the Prerequisites which are easily met by even old Android phones (mine was bought in 2010):
  • Root access to your Android device is required. No root, no Debian.
  • Kernel supports mounting loop disks or you have at least an external SD card with a spare partition.
  • Kernel supports the ext2, ext3, or ext4 file systems.
  • CPU architecture is ARM (little endian) or i386 (ia-32 bit).
  • 128 Mb of RAM or more, otherwise the launcher app may be killed during installation.
  • 512 Mb of free space on SD card (either internal or external).
  • Internet connection to download 100-500 Mb of software packages.
  • Terminal app installed, alternatively ADB access.
  • If you are a noob: command line input and text file editing is a must.
To make it easy the Debian Kit applications checks the above requirements and reports the suitability of the phone.

There are procedures to run Linux in chroot environment on Android Phones but the Debian Kit method works as follows:
The kit does not use the chroot command to make up a separate Debian environment (refer to schroot(1) for a similar technique). Instead, Debian subdirectories and files (such as /lib or /etc/resolv.conf) are added to the Android RAM-disk based file system with symlinks or bind-mounts. With this, e.g. you have access to newly mounted devices such as USB drives and the SD card. Also, can use Debian commands to compile packages that in turn can use a working chroot. This works, because a typical Android device has a file system (e.g. Libraries below /system/lib) that does not overlap the Debian file system (e.g. Libraries below /lib and /usr/lib). However, some files may overlap - which triggers a warning displayed if you start the deb script. For example, the Android /etc/hosts file is replaced by the Debian version while Debian is mounted. Which in turn may influence the inner working of your Android software stack. This is especially true with custom ROMs, because these typically add some Linux stuff that the ROM developer may miss. All changes are reverted if you issue the deb u command or simply by restarting your device.

After rooting my phone as described in previous post I have installed Andromized version of Debian on my phone and presently downloading andromized-lxde.

Following is the screenshot of my phone:
and on right side is the screen-shot running Bash shell on Debian and downloading required files for andromized-lxde desktop.

The internet speed is slow on the mobile using GPRS 2G and I will upload the image of andromized-lxde desktop later on when it gets installed on the phone.

Update on 26th July 2013
I am posting the screen shots of LXDE Desktop and the Leafpad running on it. When I tried Iceweasel the mobile crashed but it used to crash otherwise also before installing Debian.


Friday, August 12, 2011

How to get new Indian Rupee Symbol ₹ on Keyboard shortcut on Debian or Ubuntu?

The new Indian Rupee Symbol ₹ exists for more than one year now. There are various posts on the Internet describing how to type it. The symbol has been included in UTF-8 as U+20B9. Most fonts now support this character therefore you don't need to install any special font for typing it.

You already know how to type $ sign (by pressing shift +4). There is a new Keyboard Layout "India English with Rupee Sign" in new xkb-data file but the stable Linux Distributions have not updated their files.


If you want to get this Keyboard Layout on Debian or Ubuntu download the latest xkb-data file. It is available on Debian Sid as xkb-data (2.1-2)  You can download and install it on Debian or Ubuntu.

After installation you need to select the Keyboad Layout "India English with Rupee Sign". Now you can type ₹ by using Right Alt +4 key combination.

Update: Ubuntu 12.04 has this Keyboard Layout Emglish (India, with Rupee sign).

Tuesday, July 29, 2008

Debian Lenny rocks on 32 MB RAM.

Recently I downloaded the 150 MB netinst CD image of Debian Lenny Beta2 from this page.

Initially I installed it on my COMPAQ Presario 2500 series Laptop. After installing the base system I added xorg, IceWM and slim since I wanted very lightweight system. I found really a very light Debian.

Inspired by the lightness I decided to try it on my old desktop Pentium MMX 200 Mhz 32 MB RAM.

The installer went into Low Memory mode and loaded minimum installer components and asked to add additional components I wanted. I did not add anything. This resulted into failure of Network Card Detection. I bypassed the Network Configuration. The installer contacts NTP server after Network configuration. When it could not contact NTP server it simply asked whether hardware clock was set to UTC or not and proceeded to install the base system. The installer automatically selected the 486 Kernel image. At select and install software stage (after Base Install) I unchecked every thing and the base installation was finished.

After booting I configured the network by editing /etc/network/interfaces file and started the network. I updated and upgraded the system through apt-get (including Kernel 2.6.24 to 2.6.25) and could reboot into the new Kernel.

I added xorg and icewm and edited xorg.conf to configure the serial mouse, added Modeline, PreferredMode in Monitor Section, Default depth, depth and Mode to use in screen section. I made .xnitrc to boot into IceWM and used startx to get into IceWM.

The result on IceWM:
$ free -m
Total used free
Mem: 28 26 2
-/+ buffers/cache11 17
Swap 243 1 243

$ ps aux | wc -l
31

I have reduced the tty terminal processes by commenting getty lines in /etc/inittab file.

I added Kazehakase web browser. It gives performance similar to Firefox 1.5 on old DSL.

We are registered voters of Bhopal as per Final eRoll published on 21 Feb 2026.

 We relocated to Bhopal from Delhi wef 28 June 2025. I immediately applied for change of address on Aadhar and got it on 06 July 2025. Then ...