Search found 176 matches
- Thu 25 Aug 2011, 17:02
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
Calling a bash script
Yes it is possible to call a bash script, I used the function: public void goto_bash(Gtk.Widget object, ...){ export_variables(object); sync_command("bash -c 'do_action "+object.get_name()+"'"); } as a callback on the event to launch a single bash script named "do_action&quo...
- Mon 30 Aug 2010, 07:52
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
thanks for feedbacks
Hi, to abushcrafter: -regarding your compilation issues on version 4.3, It is because it requires a recent version of vala. -To access other dialog it is with double-click (or one click to select and enter and space to activate), I just used the default gtkiconview behavior but I will switch to sing...
- Fri 30 Jul 2010, 18:00
- Forum: Programming
- Topic: [bash] variable persistence in piping
- Replies: 17
- Views: 10393
xmllint shell
Hi,
To do basic parsing you could have a look at xmllint shell:
...but results would need some formating,
or you could use a small xml parser build using libxml2 (find an example attached),
regards,
To do basic parsing you could have a look at xmllint shell:
Code: Select all
echo "cat //contributors/name" | xmllint $my_xml_file_path --shell
or you could use a small xml parser build using libxml2 (find an example attached),
regards,
- Tue 27 Jul 2010, 10:28
- Forum: Pour les francophones
- Topic: @ASRI éducation - contrôle orthographique et grammatical
- Replies: 8
- Views: 4782
language tool en francais
Bonjour,
d'après le site de language tool:
http://www.languagetool.org/languages/
Ce programme supporte le français.
A voir aussi "After the Deadline Firefox plugin",
qui apparemment se base sur le même outil.
cordialement,
d'après le site de language tool:
http://www.languagetool.org/languages/
Ce programme supporte le français.
A voir aussi "After the Deadline Firefox plugin",
qui apparemment se base sur le même outil.
cordialement,
- Wed 21 Jul 2010, 19:20
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
multiples trays ...
Hi, I have added multiple trays support, and put everything in this small gui: http://ljfr2.perso.neuf.fr/test/jlexp100721.png To be considered as experimental. For the vala part, I made few changes: I added GtkIconView and GtkMessageDialog in the list of widget filled via bash, used var args on cal...
- Wed 30 Jun 2010, 21:06
- Forum: Pour les francophones
- Topic: Toutou Linux pour P3 300Mhz 64Mo de RAM 4Go?
- Replies: 9
- Views: 6112
Windows.
Bonjour, Normalement, Windows 98 supporte bien l'USB, est-ce Windows 95? Il faudrait essayer une version retro, la version puppy 4.1.2 retro est "assez" performante, mais j'avais essayer sur un AMD K6-II 450 Mhz et beaucoup de ram, et Abiword était parfois un peu lent (en tous cas par rapp...
- Mon 21 Jun 2010, 16:46
- Forum: Programming
- Topic: Any suggested projects for learning bash scripting?
- Replies: 9
- Views: 4372
what about this guide?
Advanced Bash-Scripting Guide
An in-depth exploration of the art of shell scripting:
http://tldp.org/LDP/abs/html/
regards,
An in-depth exploration of the art of shell scripting:
http://tldp.org/LDP/abs/html/
regards,
- Fri 18 Jun 2010, 17:23
- Forum: Desktop
- Topic: pWidgets 2.5.8
- Replies: 3227
- Views: 1151210
Advanced Bash-Scripting Guide
Hi Zigbert, You can use bash "string" operations on a "string" variable as in: http://www.tldp.org/LDP/abs/html/refcards.html#AEN22102 You may also have a look at the array section (chapter 27) of this same guide. Note that some string operations may not be available, depending o...
- Tue 15 Jun 2010, 17:07
- Forum: Desktop
- Topic: pWidgets 2.5.8
- Replies: 3227
- Views: 1151210
Hi Zigbert,
A short alternative for this kind of case esac test:
regards,
A short alternative for this kind of case esac test:
Code: Select all
#! /bin/bash
#...
TMP="BCDEFGHIJabcdefgh"
[[ "$PERCENT" -eq 0 ]] && echo A || echo ${TMP:$(( $PERCENT/6 )):1}
- Tue 15 Jun 2010, 11:16
- Forum: Pour les francophones
- Topic: [Obsolète] rmll2010
- Replies: 24
- Views: 8241
Cohabitation d'installation frugale
Bonjour, pour faire cohabiter des installations frugales, utilisez le paramètre de boot psubdir comme dans le wiki: http://www.puppylinux.org/main/index.php?file=Frugal%20Install%20to%20Hard%20Disk.txt Vous trouverez également un autre exemple explicite ici: http://www.murga-linux.com/puppy/viewtopi...
- Tue 15 Jun 2010, 07:46
- Forum: Educational
- Topic: [FOR TESTING] Gcompris 8.4.6 SFS for 4.x series Beta
- Replies: 99
- Views: 130089
Fullscreen in version 9.x.x with JWM
Hi,
For your information, Gcompris version 9.x.x fullscreen mode is buggy in JWM, it seems a JWM issue (it works fine with other wm). Using a patched 492 JWM doesn't help...
regards,
For your information, Gcompris version 9.x.x fullscreen mode is buggy in JWM, it seems a JWM issue (it works fine with other wm). Using a patched 492 JWM doesn't help...
regards,
- Thu 10 Jun 2010, 05:34
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
Multiple trays
Hi, I have no development plan, though it should not be really difficult to add multiple tray support so I may do it. Meanwhile, the edited tray is the first one inside the /root/.jwmrc-tray file: If you need to change another tray you can change tray position inside this file. Note that I have just...
- Wed 09 Jun 2010, 08:51
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
New examples and remarks
Hi, I updated my previous examples, You will find some screenshots bellow. http://ljfr2.perso.neuf.fr/test/themeconfig.png http://ljfr2.perso.neuf.fr/test/trayconfig.png http://ljfr2.perso.neuf.fr/test/paramconfig.png http://ljfr2.perso.neuf.fr/test/shortcutconfig.png http://ljfr2.perso.neuf.fr/test...
- Tue 01 Jun 2010, 10:16
- Forum: Bugs ( Submit bugs )
- Topic: jwm configurations files
- Replies: 0
- Views: 1042
jwm configurations files
Hi, The current organization of jwm configuration files is weird: -Shortcuts and windows model mode from the ~/.jwmrc file are overwritten in the ~/.jwm/jwmrc-personal file. -Styles defined in ~/.jwmrc are never used because of ~/.jwm/jwmrc-theme. ...To duplicate parameters may allow to split "...
- Mon 31 May 2010, 17:27
- Forum: Pour les francophones
- Topic: Nouveau - installations minimalistes
- Replies: 1
- Views: 1579
Dossier Startup, ltcp ...
Bonjour, Le dossier /root/Startup contient des scripts qui sont exécutés au démarrage. Il est donc facile de récupérer un fichier sur le réseau et de le lancer automatiquement via un nouveau script dans ce dossier. Ce script pourrait aussi être intégrer au sfs principal (via un remaster ou manuellem...
- Mon 31 May 2010, 06:34
- Forum: Pour les francophones
- Topic: ASRI Edu Kids Full et Light (versions Ludo-éducative)
- Replies: 167
- Views: 135183
FreeDos pour les PCs anciens
Bonjour, Pour des Pcs pas assez puissant pour faire tourner Toutou Linux convenablement, cette distribution (en anglais) pourrait vous intéresser: http://superkeen.com/peacecorpsweblog/learning-software/ ... ou si vous n’êtes pas content avec le choix des applications, vous pouvez repartir d'une ins...
- Sun 30 May 2010, 14:54
- Forum: Bugs ( Submit bugs )
- Topic: Quirky 1.2rc feedback
- Replies: 266
- Views: 188408
Apply Current GTK theme to JWM
Hi, This may have been here for a while, this JWM configuration option "Apply Current GTK theme to JWM" is buggy. In the file /usr/local/jwmconfig2/gtk2jwm: MENU_BG=`grep -v "^#" $GTKTHEME | grep -m1 '\Wbg\[NORMAL\]' | cut -d'"' -f2` ACTIVE_BG=`grep -v "^#" $GTKTHE...
- Sat 29 May 2010, 06:39
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
Source files are included
Hi, Source files are included, a brief description is made in the README file: FILE DESCRIPTION ------------------------------------------------------------------------------- xmltool (source file: xmltool.c): A small command line program to read and modify node values of an xml file. It uses libxml...
- Fri 28 May 2010, 15:32
- Forum: Programming
- Topic: Simple GUI building with vala and glade
- Replies: 15
- Views: 16819
Simple GUI building with vala and glade
Hi, Here is an example of a gui build with gtkbuilder. http://ljfr2.perso.neuf.fr/test/jlexp100609-0.0.0.pet md5sum: 472979eb1d61fe00ec1bac5d31d1f599 jlexp100609-0.0.0.pet Take care, this pet will also overwrite your tray file /root/.jwmrc-tray , so if you have any custom feature in it, make a copy,...
- Wed 14 Apr 2010, 10:15
- Forum: Pour les francophones
- Topic: Problèmes de barettes SDRAM
- Replies: 1
- Views: 1804
memtest
bonjour,
Une suggestion: lancer memtest86 depuis grub ou depuis un live CD:
- Installation (en anglais) sur une installation debian ou ubuntu:http://mydebian.blogdns.org/?p=13
-Exemple de tests: http://forum.ubuntu-fr.org/viewtopic.php?id=291268
bonne chance,
Julien
Une suggestion: lancer memtest86 depuis grub ou depuis un live CD:
- Installation (en anglais) sur une installation debian ou ubuntu:http://mydebian.blogdns.org/?p=13
-Exemple de tests: http://forum.ubuntu-fr.org/viewtopic.php?id=291268
bonne chance,
Julien