| 255 | |
| 256 | |
| 257 | == Other tips and tricks == |
| 258 | |
| 259 | === Nice working prompt === |
| 260 | |
| 261 | Configure prompt to know that you're in a `jhbuild` shell and in a `Git` repository. Different versions: |
| 262 | |
| 263 | * With `parse_git_branch`: |
| 264 | {{{ |
| 265 | #!sh |
| 266 | if [ x$UNDER_JHBUILD != x ]; then |
| 267 | PS1="\u@\h[JHBUILD]:\w\$(parse_git_branch)\$ " |
| 268 | else |
| 269 | PS1="${debian_chroot:+($debian_chroot)}\u@\h:\w\$(parse_git_branch)\$ " |
| 270 | fi |
| 271 | }}} |
| 272 | |
| 273 | * Without `parse_git_branch`: |
| 274 | {{{ |
| 275 | #!sh |
| 276 | PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1 " (\[\033[31m\]%s\[\033[00m\])")\$ ' |
| 277 | |
| 278 | if [ $UNDER_JHBUILD ]; then |
| 279 | PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h[JHBUILD]:\w$(__git_ps1 " (\[\033[31m\]%s\[\033[00m\])")\$ ' |
| 280 | fi |
| 281 | }}} |
| 282 | |
| 283 | |
| 284 | === Applications using WebKitGTK+ === |
| 285 | |
| 286 | This is a [ApplicationsGtk list of applications] using WebKitGTK+. Specially interesting is the reference web browser [http://projects.gnome.org/epiphany/ Epiphany], which is GNOME's official web browser. |
| 287 | |
| 288 | If you want to compile Epiphany against your compiled WebKit follow the instructions at https://live.gnome.org/Epiphany/Development#Getting_the_code_and_building |
| 289 | |
| 290 | |
| 291 | === Using a chroot as working environment === |
| 292 | |
| 293 | These are [wiki:WebKitGTK/Chroot some tips] regarding the usage of a chroot as working environment. |