Je kunt deze planet ook aan je eigen RSS-verzameling toevoegen. Gebruik daarvoor deze pagina: RSS 2.0.

Leden

Deze planet wordt u gebracht door: Planetplanet

Planetplanet, een zeer flexibele feedparser met template engine. RSS, RDF, Atom, wat u maar wilt. En u kunt het presenteren op iedere denkbare wijze, dankzij de flexibele template engine.

Planet GNOME-NL

January 26, 2012

digiplace.nl

(Dit artikel is een vervolg op het eerste artikel dat hier staat gepubliceerd. Uiteraard geldt ook hier dat het opvolgen van deze instructies volledig voor eigen risico is). Deze handelingen werden uitgevoerd op een Ubuntu desktop computer. Handleidingen voor onder Windows zijn hier te vinden.

Android 4.0 (ICS) op je Android telefoon.

Na het succesvol uitvoeren van de  zgn. Recovery S-Off en het installeren van een Recovery tool op mijn HTC Sensation was ik tevreden over de gebruikte custom Roms. Er worden regelmatig nieuwe versies aangeboden via bijvoorbeeld dit overzicht: http://www.htcsensationroms.com/

De laatste tijd duiken daar ook Roms op voor Android 4.0.3 Die zijn zowel te verkrijgen met óf zonder HTC Sense 3.6.

Helaas kan je niet zonder meer dezelfde werkwijze als voorheen gebruiken. Er zijn nu eerst extra stappen noodzakelijk om die Android 4.0.3 Roms te installeren. Als je dat niet (goed) doet loop je een serieuze kans om je telefoon te “bricken”.

Er zijn twee extra stappen te ondernemen:

Installeren van een nieuwe Recovery image én het zgn. Super CID maken van je telefoon.

CID staat overigens voor “Carrier IDentification. Deze identificatie bepaald welke software geïnstalleerd kan worden op je telefoon. De Super CID heeft als voordeel dat je telefoon iedere Rom, ongeacht de gebruikte (providers) firmware zal accepteren.

Voor je gaat starten ga je eerst op je toestel bladeren naar instellingen, applicaties, Ontwikkeling en plaatst een vinkje bij USB-foutopsporing. Daarna ga je terug en naar het onderdeel Energie en verwijderd het vinkje bij Snel opstarten.

Nieuwe recovery installeren

Op dit moment heb je Recovery – v.5.0.08 nodig. Die is verpakt in een bestand met de naam PG58IMG.zip is o.a. hier te vinden. Zorg ervoor dat dit bestand wordt verplaatst naar je SD card van je telefoon. Zet daarna je telefoon uit. Start vervolgens je telefoon op door de volumeknop naar beneden te drukken en tegelijkertijd de powerknop in te drukken.

Soms werkt dat niet, dat is mede afhankelijk van welke custom rom je op dat moment draait. Soms kan je kiezen voor telefoon herstarten en dan wordt er een keuzemenu gegeven om naar Recovery te booten. En je kan altijd nog een app installeren “Quick boot” of gebruik maken van de adb setup (die volgt hierna).

Als je dan in bootmenu bent aangekomen doe je een volume UP en krijg je vanzelf de vraag “Do you want to start the update”. Die update duurt even en als alles klaar is kan je de telefoon herstarten en daarna (niet vergeten) het PG58IMG.ZIP bestand van je sdcard verwijderen.

Maak je toestel geschikt voor SUPER CID

Download adb tools voor Linux. Pak ze uit en plaats ze in een map “adb” in je eigen Home map. Open vervolgens een terminal en ga naar die map toe (cd adb).

Sluit je telefoon aan via usb aan je computer. Laat gewoon in “opladen” modus taan.

Tik in:

./adb devices

Dat commando moet een terugkoppeling geven van jouw telefoon met daarin o.a. het serienummer.

Als dat niet gebeurd doe je het volgende:

sudo gedit /etc/udev/rules.d/99-android.rules

tik je wachtwoord in en plaats de volgende opdrachtregel in het tekstbestand in:

SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″

en sluit daarna dit bestand af. Start daarna je computer opnieuw op en voer opnieuw het commando ./adb devices uit.

Als het dan wel netjes meldt kan je verder.

Tik vervolgens in:

./ adb reboot-bootloader

Daarmee wordt je telefoon opnieuw opgestart en start op in de bootloader van je telefoon. Op het scherm staat een rood blokje met daarin vermeld “fastboot USB”

If it doesn’t you can Manually put the phone in the bootloader/hboot mode
Navigate to fastboot by pressing volume down and pressing power button to select (power off > vol down + power on)
It will take you to the fastboot bootloader screen on your phone
Connect your phone via USB
Your Screen should now read fastboot USB

Tik in je terminal vervolgens de volgende opdrachten in:

./fastboot oem writecid 11111111
./fastboot reboot-bootloader (wacht tot het is rebooted)
./fastboot getvar cid (moet bevestigen dat het gaat om 11111111
./fastboot reboot

En daarmee ben je klaar.  Vanaf dat moment kan je elke custom ROM installeren op de gebruikelijke manier (zie ook het 1e artikel). De Recovery tool is nu grafisch en touch ondersteund.

Welke Custom ROM?

Goede vraag, lastig antwoord. De ontwikkelingen gaan soms dagelijks door. Ik heb zelf goede ervaringen met

Elegancia ICS Rom Series

InsertCoin ICS

Maar dat zijn dan wel ROMS met HTC Sense 3.6. Dat is prima natuurlijk. Toch vind ik het ook leuk om ANdroid zo puur mogelijk te krijgen. Dat gaat erg goed met behulp van deze ROM:

Virtuous Inquisition v3.0.0 :: AOSP-Experience Senseless ICS (4.0.3)

Ik had wel problemen met het toetsenbord (priegelig en geen ondersteuning Nederlandse taal). Maar in Market kan je Go Keyboard vinden en daarmee werd ook de juiste taalmodule aangeboden.

 

 

Al met al een geslaagde operatie. De nieuwste Android met gezichtsherkenning, uitstekende spraak herkenning, energiezuiniger dan veel andere ROMS en het ziet er uitstekend uit.

26 January 2012, 16:11
January 23, 2012

Vincent van Adrighem (adrighem)

Vincent van Adrighem (adrighem) face
Het Duitse TecChannel houdt een lijstje bij van de populaire groupware-pakketten. Zarafa staat daar nu op de tweede plaats. Joepie!

no twitter

23 January 2012, 11:00
January 21, 2012

digiplace.nl

Onlangs werd bij xs4all de beschikbare webruimte vergroot naar maar liefst 10 GB. Zoveel ruimte vraagt natuurlijk ook om een toepassing. Je kan bijvoorbeeld besluiten om daar ook je bestanden of backups op te plaatsen.

WebDAV

Gelukkig wordt er bij xs4all daarvoor een speciale toepassing voor aangeboden. Die toepassing wordt Webdisk genoemd en dat is feitelijk een zgn. WebDAV uitbreiding van het http protocol. Dankzij dit protocol kan je de beschikbare ruimte toewijzen aan je computer waardoor het lijkt dat die ruimte gewoon bij jouw computer hoort.

Je kan op verschillende manieren die ruimte aan je computer koppelen. Zelf gebruik ik het door een verbinding te maken onder Nautilus. Als de verbinding dan eenmaal tot stand is gekomen leg ik dat vast in een bladwijzer.

Je opent daarvoor Nautilus. Met CTRL+L open je de locatiebalk. Tik daarin:

davs://jouwgebruikersnaam@webdisk.xs4all.nl/jouwgebruikersnaam
vervolgens geef je het wachtwoord op van xs4all en de verbinding is gelegd. Die leg je vast in een bladwijzer.

De verbinding is veilig én snel!

21 January 2012, 21:23

Pascal de Bruijn (pmjdebruijn)

Pascal de Bruijn (pmjdebruijn) face

I’ve been posting a fair amount of photography, imaging and color management lately. While colorimetry can be a good solution to display issues, but a lot of people don’t want to take it that far.

So say you’ve just gotten a new notebook, and like many notebooks the display looks a tad blueish, and you don’t want to invest in a full blown color management solution. There is a fairly simple way to address this issue at least to an extent, and it’s called xgamma (please note that xgamma might not work if your X11 setup is in 16bit mode, which is very unlikely on a modern system).

Now before making any changes it’s a good idea to get a good image to evaluate any changes with. I can highly recommend the Smugmug Calibration Print. So open the calibration print in your favorite image viewer, and do:

# xgamma -rgamma 1.0 -ggamma 1.0 -bgamma 0.9

You should see your display shift in color. Lots of notebook display also tend to lack contrast, so in theory you can use xgamma to compensate for that too:

# xgamma -rgamma 0.9 -ggamma 0.9 -bgamma 0.8

Again check the calibration print again, make sure you can clearly distinguish all the grey patches at the top of the image.

Now when you reboot your machine these settings will be lost. The best way I’ve found to automatically apply these settings seem to be via what’s called XDG Autostart, it’s basically a set of .desktop files that are run during session startup. Most big desktop environments (GNOME/XFCE/KDE) support these.

So, put the following into /etc/xdg/autostart/xgamma.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Set display gamma corrections
GenericName=Set display gamma corrections
Comment=Applies display gamma corrections at session startup
Exec=xgamma -rgamma 0.9 -ggamma 0.9 -bgamma 0.8
Terminal=false
Type=Application
Categories=

Now reboot, and see your gamma settings being applied at during each new X11 login.

Please beware that the above correction are ballpark corrections, for real accuracy you really need to do proper color management.

21 January 2012, 18:59
January 18, 2012

Ruben Vermeersch

The schedule for the Mono devroom at FOSDEM 2012 has been finalized:

  • (11:00 – 11:45) Enough Debian packaging knowledge to hurt yourselves slightly less than you do already (Jo Shields)
  • (12:00 – 13:00) Mono – State of the Union (Miguel De Icaza)
  • (13:00 – 14:00) *** Lunch break ***
  • (14:00 – 14:30) Gluon (Federico Di Gregorio)
  • (14:40 – 15:25) Banshee: Past, Present, Future and the Crazy stuff (Bertrand Lorentz & Olivier Dufour)
  • (15:40 – 16:25) IronPython: Bringing the dynamic world to the CLR (Carlos Alberto Cortez Guevara)
  • (16:40 – 17:30) MonoGame (Dominique Louis, Dean Ellis & Kenneth Pouncy)
  • (17:45 – 18:15) XWT (Lluis Sanchez)
  • (18:30 – 19:00) MonoMac (Miguel De Icaza)

Full details (with talk abstracts) should be available on the FOSDEM website. As always, if you want to see a talk, show up early, once the room is full, you’re out of luck!

Date to put in your agenda: Feb 4, 2012.

18 January 2012, 15:00
January 17, 2012

Martijn Koedam (qball)

I have been having a lot of annoying with the latest ubuntu… Help is welcome:

A list of some of the annoyances:

  1. Printing to print-server that requires samba authentication. This worked fine in 11.04 and 10.04.. In 11.10 it never authenticated. In the end I had to use a custom backend that uses smbclient directly. It shows the same auth. popup, but printing works.
  2. Nautilus keeps drawing my background..  Even if I disable it in dconf-editor. Very very annoying.
  3. gajim does not start with python error about keychain..
  4. Strange lockups off the laptop on shutdown.
  5. Printing directly to color laserjet fails. It keeps telling me printer is busy, works fine with same settings from 11.04.
  6. if I disable wifi and turn it on again (using HW switch) I have to type: nmcli nm wifi off and nmcli wifi on a to get it working again.
  7. lightdm shutdown button does exactly nothing..  always have to switch to terminal to shutdown.
  8. etc.

It is that we use ‘ubuntu’ as sort of ‘default’ at work, but I am considering switching to something else..

With the last several releases things I use for work got worse and worse every release. It became harder and harder to use openbox+tint2 as desktop, etc.

 

17 January 2012, 20:33
January 13, 2012

Vincent van Adrighem (adrighem)

Vincent van Adrighem (adrighem) face
The Dutch Copyright protection organization BREIN has obtained a verdict that forces two major ISPs to block access to The Pirate Bay domains and gives them the right to submit future domains/IP addresses to be blocked in the future without court order. This makes me think...who is responsible for these things? Who should be responsible? An analogy make my ramblings more clear.

no twitter

13 January 2012, 11:00
January 05, 2012

Martijn Koedam (qball)

It is only a beginning, but it can be found here: http://api.sarine.nl/ifthenelse/ifthenelse/IfThenElse.html.
If you have requests let me know. (on github)

05 January 2012, 19:58
January 04, 2012

Olav Vitters (bkor)

Mutter 3.3.3 and GNOME shell 3.3.3 as seen on Mageia Cauldron:

04 January 2012, 21:44
January 03, 2012

Martijn Koedam (qball)

Because of some complains I got about the file format (xml, hard to handwrite) and the extra dependency on GTK it added, I wrote my own TinyBuilder that parses ini style files.

So an example in the current version would be:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[OutputWatch]
type=OutputWatch
kill_child = true
cmd=dbus-monitor interface=org.gnome.ScreenSaver
fire_regex=.*member=ActiveChanged.*
action=CheckScreenSaver
 
[CheckScreenSaver]
type=ExternalToolCheck
cmd=gnome-screensaver-command -q
output-compare=The screensaver is inactive
compare-old-state=true
then-action=EnableGajim
else-action=WorkHourCheck1
 
[WorkHourCheck1]
type=TimeCheck
hour=8
minute=30
then-action=WorkHourCheck2
else-action=DisableGajim
 
[WorkHourCheck2]
type=TimeCheck
hour=17
minute=30
then-action=DisableGajim
else-action=AwayGajim
 
[DisableGajim]
type=ExternalToolAction
cmd=gajim-remote change_status offline
 
[AwayGajim]
type=ExternalToolAction
cmd=gajim-remote change_status away "Leave a message after the beep" 
 
 
[EnableGajim]
type=ExternalToolAction
cmd=gajim-remote change_status online
03 January 2012, 12:54
December 30, 2011

Martijn Koedam (qball)

I am looking for somebody that can write a small gui for IfThenElse.. Basically it should allow users to draw a flowchart, edit properties on nodes and generate parsable format data for me.
I looked at goocanvas, and it seems very suited for this. I don’t have time todo it myself (though I _realy_ want too), I have to much to code/maintain at the moment anyway.
So interrested in IfThenElse and wanting to learn/experienced in for example goocanvas, contact me: #gmpc @ irc.freenode.org or qball@gmpclient.org.

Q

30 December 2011, 19:51

I blogged previous about IfThenElse..  It is a very simple tool, but combined with random other programs can become a fun and powerful tool:

The following script locks my screen, puts jabber status on away when I turn off the lights in the room.  Unlocks the screen when turning the lights back on.. Also when I start vlc/totem/mplayer it will set my jabber status to away “watching a movie”.

 

This is all described in the following xml file:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<interface>
	<object class="IfThenElseTimerTrigger" id="lights_timer">
		<property name="timeout">5</property>
		<child>
			<object class="IfThenElseMultiAction" id="main_multiplier">
				<child>
					<object class="IfThenElseChain" id="lights_chain">
						<child type="if">
							<object class="IfThenElseExternalToolCheck" id="check_light">
								<property name="cmd">./Scripts/domotica_check_light.sh</property>
								<property name="true_status">1</property>
								<property name="false_status">0</property>
								<property name="compare_old_state">true</property>
							 </object>
						</child>
						<child type="then">
							<object class="IfThenElseMultiAction" id="multiplier">
								<child>
									<object class="IfThenElseExternalToolAction" id="lights_off_action">
										<property name="cmd">gnome-screensaver-command -a -l</property>
										<property name="kill_child">false</property>
									</object>
								</child>
								<child>
									<object class="IfThenElseExternalToolAction" id="lights_off_action2">
										<property name="cmd">mpc -h 192.150.0.106 stop</property>
										<property name="kill_child">false</property>
									</object>
								</child>
								<child>
									<object class="IfThenElseExternalToolAction" id="lights_off_action3">
										<property name="cmd">gajim-remote change_status away</property>
										<property name="kill_child">false</property>
									</object>
								</child>
							</object>
						</child>
						<child type="else">
							<object class="IfThenElseMultiAction" id="lights_on_action_multi">
								<child>
									<object class="IfThenElseExternalToolAction" id="lights_on_action">
										<property name="cmd">gnome-screensaver-command -d</property>
										<property name="kill_child">false</property>
									</object>
								</child>
								<child>
									<object class="IfThenElseExternalToolAction" id="lights_on_action2">
										<property name="cmd">gajim-remote change_status online</property>
										<property name="kill_child">false</property>
									</object>
								</child>
							</object>
						</child>
					</object>
				</child>
				<child>
					<object class="IfThenElseChain" id="movie_chain">
						<child type="if">
							<object class="IfThenElseExternalToolCheck" id="check_movie">
								<property name="cmd">./Scripts/check_movie.sh</property>
								<property name="true_status">1</property>
								<property name="false_status">0</property>
								<property name="compare_old_state">true</property>
							 </object>
						</child>
						<child type="then">
							<object class="IfThenElseExternalToolAction" id="movie_on_action">
								<property name="cmd">gajim-remote change_status away "watching movie"</property>
								<property name="kill_child">false</property>
							</object>
						</child>
						<child type="else">
							<object class="IfThenElseExternalToolAction" id="movie_off_action">
								<property name="cmd">gajim-remote change_status online</property>
								<property name="kill_child">false</property>
							</object>
						</child>
					</object>
				</child>
			</object>
		</child>
	</object>
</interface>
30 December 2011, 18:49
December 29, 2011

Martijn Koedam (qball)

Another run, as you can see it is developing differently here:















 

I always find it fun to watch how it develops.

29 December 2011, 18:57

Thanks to Avuton, there is now a working windows 32 build of GMPC 11.8.

You can download it here:

Portable app: http://download.sarine.nl/Programs/gmpc/11.8.16/GmpcPortable_11.8.16_English.paf.exe

Installer: http://download.sarine.nl/Programs/gmpc/11.8.16/gmpc-11.8.16-win32.exe

Files: http://download.sarine.nl/Programs/gmpc/11.8.16/gmpc-11.8.16-win32.7z

Again, big thanks to avuton for building these.

 

29 December 2011, 15:15

I promised to put this code online, so here it is. EvO. A small program that (with very crappy results) uses ‘genetic’ algorithm to vectorize images.

It is based on this blog post: http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/

I never finished it to produce nice results like the above blog post, but I had fun time writing it.

It is written in vala. Code can be found on github: https://github.com/DaveDavenport/Evo

An example (waldo): (see full gallery here)












../evo --help
Usage:
  evo [OPTION...] Evo

Help Options:
  -?, --help           Show help options

Application Options:
  -i, --input          Input file
  -j, --threads        Number of CPU threads to run
  -p, --population     Size of the popution (default 16)
  -n, --initial        Initial file
  -r, --render         Render file
  -w, --width          Output width
  -h, --height         Output height
  --output-png         Output png instead of svg
29 December 2011, 14:49
December 27, 2011

Martijn Koedam (qball)

I wrote a small tool. in the past day. called IfThenElse (Yes needs a better name).
The idea is simple:
You have a trigger, for example a timeout.
So for example every 10 minutes check the network state.
When the network state is connected, Check every 2.5 minutes google reader for unread messages.
When there are unread messages show a status icon…

Or in image form (this is generated from a working example):

 

The whole thing is based on a one ‘main’ program that calls external scripts to function.  The program itself is written in Vala, uses GtkBuilder to dynamically load ‘flows’  like the above one.

The main goal in the future is that I can do things like, pause the music when skype calls come in. Notify me every 10 minutes when there are items on my todo list. etc.

The program is not ready for use, but I am looking for some input/help.

In a list:

  • Current input format is a GtkBuilder file.  This nicely ‘matches’ the structure of the above flow (it is just an xml file).  But is not very user friendly to write.
  • So we either generate a gui to generate the chains? (should be easy, just allow user to draw a flowchart) or come up with a better file format.
  • Use Cases.  This would help me decide what needs to be added. At the moment I have a timer trigger working, I can execute external programs for the check. Execute external programs as action or show an status icon..
  • Write examples helper scripts?   (allow directly calling of python scripts? javascript? using libpeas?)

Please mail me (qball@gmpclient.org) or contact me on irc #gmpc @ irc.freenode.net.

Q

 

Code can be found here: https://github.com/DaveDavenport/IfThenElse

27 December 2011, 20:51
December 24, 2011

Pascal de Bruijn (pmjdebruijn)

Pascal de Bruijn (pmjdebruijn) face

Usually I don’t do a lot of “real” coding for Darktable, but I had some time on my hands today, and I implemented basic Unity integration for Darktable. Since I wasn’t familiar with libunity, nor was I really familiar with the depths of Darktable code let alone CMake, the implementation took me about 2 hours.

That said, have a look at the results:

You should have seen a video here. That probably means your browser or aggregator probably doesn’t support HTML5 video. Please try to view the video on the original page or upgrade to a recent version of Firefox, Chromium or Opera.
You can also download the video for offline viewing if you prefer.

By the way, the bug I mentioned at the end of the video has been mitigated, which is a chic way of saying I kludged it so you won’t be bothered by it. But it’s not truely fixed.

24 December 2011, 21:14
December 22, 2011

digiplace.nl

Als je een iPhone 4 met IOS 5 wil verbinden met je Ubuntu 11.10 desktop dan krijg je een foutmelding: unhandeled lockdown error(-15). Dat is een bug die vooralsnog als volgt valt te omzeilen:

sudo apt-get install ifuse
sudo apt-get install  libimobiledevice-utils
(Sluit je telefoon aan)
idevicepair unpair && idevicepair pair

Nu kan je gewoon toegang verkrijgen via Nautilus,

 

22 December 2011, 20:14

Ruben Vermeersch

Mono hackers of the world, if you are planning on attending FOSDEM 2012, be aware that there is still a call for presentations up for the Mono Devroom. Go submit your talks now, you have until the end of the year to do so.

22 December 2011, 19:40

From the category of news I’ve been planning to send out for months, yet never got round to doing:

With life work getting in the way, it’s been impossible for me to further maintain F-Spot. Fortunately, Stephen Shaw has offered to pick up the task. Expect new stuff soon.

Alternatively, check out Shotwell, which has been making excellent progress lately.

22 December 2011, 19:00