deb-gen.sh - Debian Package extractor and builder

Today I’ve published: deb-gen.sh - a Debian Package extractor and builder.
with it you can extract .deb package, edit whatever you want and rebuild it without any problem :-)
You can find it here: http://code.alexworld.it/code/deb-gen.sh.html
bye!
3 anni fa
anyRemote
The overall goal of anyRemote is to provide remote control service on Linux through Bluetooth, InfraRed, Wi-Fi or just TCP/IP connection.
anyRemote supports wide range of modern cell phones like Nokia, SonyEricsson, Motorola and others.
It was developed as thin communication layer between Bluetooth (or IR, Wi-Fi) capabled phone and Linux, and in principle could be configured to manage almost any software.
anyRemote is console application, but in addition there are GUI front ends for Gnome and KDE.
VISIT: http://anyremote.sf.net
bash scripting - VGA toggle switch
![]()
VGA port, really useful way to display through big Monitor or TV your tiny videos instead of watching them on your little notebook’s display :-)
Are you bored to have to restart X every time you want to connect your VGA cable?
Don’t you want to use gnome-display-etc-etc-manager to only configure a stupid VGA Monitor?
Don’t worry, you can use a little bash script (linked to some buttons on you panels), to manage your VGA connection.
I works like a switch, the script will enable the output choiced if this is disabled and viceversa it will disable the output if this is enabled.
But stop speaking (/writing) and watch it now:
vga.sh:
#!/bin/bash
#
# This script was created to manage an external output for notebook
# The script only needs a bit of configuration to set the default output, mode, rate and extra options,
# It works like a switch, the script will enable the output choiced if this is disabled and viceversa it will disable
# the output if this is enabled.
# It can be used on various acpi script linking it to your notebook’s fn+key.
#
# Made by: Alessandro Arrichiello <alezzandro@gmail.com>
#
# Configuration starts here:
output=”VGA”
mode=”1024x768”
rate=”60”
extra_options=”—right-of LVDS”
xrandr_cmd=”xrandr —output “$output” —mode “$mode” —rate “$rate” “$extra_options
#
# END of Configuration
xrandr_output=`xrandr|grep $output`
if [ `echo $xrandr_output|grep -c disconnected` == “1” ]; then
echo “Cable for “$output” not connected.”
else
if [ `echo $xrandr_output|grep -c connected` == “1” ]; then
if [ `echo $xrandr_output|grep -c $mode` == “1” ]; then
echo “Putting off: “$output
xrandr —output $output —off
else
echo “Putting on: “$output
`$xrandr_cmd`
fi
else
echo “Output not found check your configuration.”
fi
fi
Remember to set the right permissions (chmod +x vga.sh),
see you,
3 anni fa
Gnu/Linux - eeepc get errors with some sd cards
![]()
Hello, maybe if you have an Asus eeepc this can sound familiar:
[ 2948.736927] sd 2:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
[ 2948.741932] sd 2:0:0:0: [sdb] Write Protect is off
[ 2948.741951] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2948.741959] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2948.751918] sd 2:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
[ 2948.754938] sd 2:0:0:0: [sdb] Write Protect is off
[ 2948.754957] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2948.754964] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2948.754980] sdb: sdb1
[ 2984.386913] sd 2:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[ 2984.386941] sd 2:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[ 2984.386959] end_request: I/O error, dev sdb, sector 1983984
[ 2984.386975] Buffer I/O error on device sdb, logical block 247998
[ 2984.407911] sd 2:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[ 2984.407936] sd 2:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[ 2984.407953] end_request: I/O error, dev sdb, sector 1983984
[ 2984.407966] Buffer I/O error on device sdb, logical block 247998
[ 2984.408153] Buffer I/O error on device sdb, logical block 0
[ 2984.408186] Buffer I/O error on device sdb, logical block 0
[ 2984.408229] Buffer I/O error on device sdb, logical block 0
[ 2984.408296] Buffer I/O error on device sdb, logical block 247999
[ 2984.408341] Buffer I/O error on device sdb, logical block 247999
[ 2984.408382] Buffer I/O error on device sdb, logical block 247999
[ 2984.408421] Buffer I/O error on device sdb, logical block 247999
What?? Are you going crazy with some SD CARDS?
Cannot you mount them an dmesg shows you something like previous logfile?
Don’t worry man, the soution is very simple:
reboot your eeepc, press F2 to enter BIOS and set the Variable: “OS Installation” to: [Finished].
That’s all, all of your sd cards will begin to work without any problems!
see you!
3 anni fa
Time of Debian for my little nslu2..
Time of Armel!
EABI is the new “Embedded” ABI by ARM ltd. EABI is actually a family of ABI’s and one of the “subABIs” is GNU EABI, for Linux. The effective changes for users are:
-
Floating point performance, with or without an FPU is very much faster, and mixing soft and hardfloat code is possible
- Structure packing is not as painful as it used to be
- More compatibility with various tools (in future - currently linux-elf is well supported)
-
A more efficient syscall convention
- At present (with gcc-4.1.1) it works with ARMv4t, ARMv5t processors and above, but supporting ARMv4 (e.g., StrongARM) requires toolchain modifications. See “Thumb interworking” below.
Source: http://wiki.debian.org/ArmEabiPort
3 anni fa


