Uzbl OS

This is not finished yet. I am looking into some input on the problems I am facing.
So I thought it would be a good idea to create "Uzbl OS", like Chrome OS. It is a very simple web oriented Linux distro. It starts up in "Kiosk" mode, so everything is configured via the web browser (uzbl).
It is based off of Arch Linux, larch, Uzbl, Ratpoison, X11, and Xdialog.
Security Issues:
I have added the functions "platform.shell(COMMAND)" and "platform.sudo(COMMAND)" to the Uzbl Javascript via the Uzbl ~/.config/uzbl/config file. This is accessible to all Web applications. The shell function runs under the user "web", that is not in the sudoers file. The sudo function runs the shell command: "Xdialog --yesno "Are you sure you want to give http://rmrf.com/ root priveleges? They will run command: rm -rf /" 10 120 --fill --stdout --default-no". It seems safe to me, but I bet there are some security issues with it.
Miscellaneous:
[*] There are no packages of Uzbl right now, and I'm waiting for the libwebkit/segfault problem to be fixed.
[*] It's configured for i686 right now, change run "sed 's|i686|x86_64|' pacman.conf > pacman.conf" for x86_64.
[*] The default server is my home server: http://uzbl-os.ath.cx/. This is okay for now, but eventually I might want to move to a better server.
Github: http://github.com/paradoq/uzbl-os

gajo wrote:PS: is it going to be based on archlinux?
matthewbauer wrote:It is based off of Arch Linux

Similar Messages

  • Can't get uzbl to work [solved]

    I installed uzbl-git with yaourt. Then I copied /usr/share/uzbl/examples/config/uzbl to ~/.config
    Then I try to start uzbl-browser with dmenu. It flashes the screen grey for a second then nothing happens.
    I missed a step somewhere?
    Edit: I rebuilded enchant like it says in the FAQ and now it works.
    Last edited by tladuke (2009-12-07 06:05:45)

    lustikus wrote:now that uzbl is in /community, is it better to use this version or keep the git from AUR. Seems git is even newer.
    the git version is of course newer, but also more bleeding edge, and it gives you uzbl-core, uzbl-browser and uzbl-tabbed at once.
    the official binary packages are built from stable releases and are split up.

  • Uzbl-core fails to launch after pacman update

    Trying to launch uzbl-brower, getting this information in the terminal window:
    (Note the invalid pointer just before the backtrace)
    Just did full update this morning.
    dastagg@opus:~$ uzbl-browser
    {'cookie_jar': '/home/dastagg/.local/share/uzbl/cookies.txt',
    'cookie_socket': '/home/dastagg/.cache/uzbl/cookie_daemon_socket',
    'cookie_whitelist': '/home/dastagg/.config/uzbl/cookie_whitelist',
    'daemon_mode': True,
    'daemon_timeout': 0,
    'use_whitelist': False,
    'verbose': True}
    uzbl-cookie-daemon: detected daemon listening on '/home/dastagg/.cache/uzbl/cookie_daemon_socket'
    uzbl-event-manager: will auto close.
    uzbl-event-manager: starting event manager.
    {'bind.py': '/usr/share/uzbl/examples/data/plugins',
    'cmd_expand.py': '/usr/share/uzbl/examples/data/plugins',
    'completion.py': '/usr/share/uzbl/examples/data/plugins',
    'config.py': '/usr/share/uzbl/examples/data/plugins',
    'keycmd.py': '/usr/share/uzbl/examples/data/plugins',
    'mode.py': '/usr/share/uzbl/examples/data/plugins',
    'on_event.py': '/usr/share/uzbl/examples/data/plugins',
    'plugin_template.py': '/usr/share/uzbl/examples/data/plugins',
    'progress_bar.py': '/usr/share/uzbl/examples/data/plugins'}
    uzbl-event-manager: listening on: /home/dastagg/.cache/uzbl/event_daemon
    uzbl-event-manager: entering daemon mode.
    *** glibc detected *** uzbl-core: free(): invalid pointer: 0x0000000001289080 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x71906)[0x7fce9b72f906]
    /lib/libc.so.6(cfree+0x6c)[0x7fce9b73463c]
    /usr/lib/libglib-2.0.so.0(g_strfreev+0x25)[0x7fce9bc8c555]
    /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so(NP_Initialize+0x78b)[0x7fce9045ca8b]
    /usr/lib/libwebkit-1.0.so.2(+0x97a486)[0x7fce9f08f486]
    /usr/lib/libwebkit-1.0.so.2(+0x97a5d9)[0x7fce9f08f5d9]
    /usr/lib/libwebkit-1.0.so.2(+0x73b784)[0x7fce9ee50784]
    /usr/lib/libwebkit-1.0.so.2(+0x734694)[0x7fce9ee49694]
    /usr/lib/libwebkit-1.0.so.2(+0x7350e3)[0x7fce9ee4a0e3]
    /usr/lib/libwebkit-1.0.so.2(+0x979b10)[0x7fce9f08eb10]
    /usr/lib/libwebkit-1.0.so.2(+0x731e7a)[0x7fce9ee46e7a]
    /usr/lib/libwebkit-1.0.so.2(+0x6ab918)[0x7fce9edc0918]
    /usr/lib/libwebkit-1.0.so.2(+0x731a39)[0x7fce9ee46a39]
    /usr/lib/libwebkit-1.0.so.2(+0xd31dbd)[0x7fce9f446dbd]
    /usr/lib/libwebkit-1.0.so.2(+0xa6737f)[0x7fce9f17c37f]
    /usr/lib/libwebkit-1.0.so.2(+0xa64d14)[0x7fce9f179d14]
    [0x7fce90e6250b]
    ======= Memory map: ========
    00400000-00415000 r-xp 00000000 08:05 27403                              /usr/bin/uzbl-core
    00615000-00617000 rw-p 00015000 08:05 27403                              /usr/bin/uzbl-core
    00617000-00618000 rw-p 00000000 00:00 0
    00f13000-01291000 rw-p 00000000 00:00 0                                  [heap]
    7fce85f32000-7fce85f35000 r-xp 00000000 08:05 32267                      /usr/lib/libxcb-atom.so.1.0.0
    7fce85f35000-7fce86135000 ---p 00003000 08:05 32267                      /usr/lib/libxcb-atom.so.1.0.0
    7fce86135000-7fce86136000 rw-p 00003000 08:05 32267                      /usr/lib/libxcb-atom.so.1.0.0
    7fce86136000-7fce86139000 r-xp 00000000 08:05 32273                      /usr/lib/libxcb-event.so.1.0.0
    7fce86139000-7fce86339000 ---p 00003000 08:05 32273                      /usr/lib/libxcb-event.so.1.0.0
    7fce86339000-7fce8633a000 rw-p 00003000 08:05 32273                      /usr/lib/libxcb-event.so.1.0.0
    7fce8633a000-7fce8633c000 r-xp 00000000 08:05 32270                      /usr/lib/libxcb-aux.so.0.0.0
    7fce8633c000-7fce8653c000 ---p 00002000 08:05 32270                      /usr/lib/libxcb-aux.so.0.0.0
    7fce8653c000-7fce8653d000 rw-p 00002000 08:05 32270                      /usr/lib/libxcb-aux.so.0.0.0
    7fce8653d000-7fce8661b000 r-xp 00000000 08:05 22252                      /usr/lib/libasound.so.2.0.0
    7fce8661b000-7fce8681a000 ---p 000de000 08:05 22252                      /usr/lib/libasound.so.2.0.0
    7fce8681a000-7fce86822000 rw-p 000dd000 08:05 22252                      /usr/lib/libasound.so.2.0.0
    7fce86822000-7fce8682b000 r-xp 00000000 08:05 32303                      /usr/lib/libstartup-notification-1.so.0.0.0
    7fce8682b000-7fce86a2a000 ---p 00009000 08:05 32303                      /usr/lib/libstartup-notification-1.so.0.0.0
    7fce86a2a000-7fce86a2b000 rw-p 00008000 08:05 32303                      /usr/lib/libstartup-notification-1.so.0.0.0
    7fce86a2b000-7fce86a69000 r-xp 00000000 08:05 2253                       /usr/lib/libdbus-1.so.3.4.0
    7fce86a69000-7fce86c68000 ---p 0003e000 08:05 2253                       /usr/lib/libdbus-1.so.3.4.0
    7fce86c68000-7fce86c69000 r--p 0003d000 08:05 2253                       /usr/lib/libdbus-1.so.3.4.0
    7fce86c69000-7fce86c6a000 rw-p 0003e000 08:05 2253                       /usr/lib/libdbus-1.so.3.4.0
    7fce86c6a000-7fce86c83000 r-xp 00000000 08:05 1035                       /usr/lib/libnssutil3.so
    7fce86c83000-7fce86e83000 ---p 00019000 08:05 1035                       /usr/lib/libnssutil3.so
    7fce86e83000-7fce86e88000 rw-p 00019000 08:05 1035                       /usr/lib/libnssutil3.so
    7fce86e88000-7fce86e89000 rw-p 00000000 00:00 0
    7fce86e89000-7fce86fb7000 r-xp 00000000 08:05 1033                       /usr/lib/libnss3.so
    7fce86fb7000-7fce871b7000 ---p 0012e000 08:05 1033                       /usr/lib/libnss3.so
    7fce871b7000-7fce871be000 rw-p 0012e000 08:05 1033                       /usr/lib/libnss3.so
    7fce871be000-7fce871bf000 rw-p 00000000 00:00 0
    7fce871bf000-7fce871e6000 r-xp 00000000 08:05 1028                       /usr/lib/libsmime3.so
    7fce871e6000-7fce873e6000 ---p 00027000 08:05 1028                       /usr/lib/libsmime3.so
    7fce873e6000-7fce873ea000 rw-p 00027000 08:05 1028                       /usr/lib/libsmime3.so
    7fce873ea000-7fce8741b000 r-xp 00000000 08:05 1031                       /usr/lib/libssl3.so
    7fce8741b000-7fce8761a000 ---p 00031000 08:05 1031                       /usr/lib/libssl3.so
    7fce8761a000-7fce8761d000 rw-p 00030000 08:05 1031                       /usr/lib/libssl3.so
    7fce8761d000-7fce87781000 r-xp 00000000 08:05 261667                     /usr/lib/xulrunner-1.9.2/libmozjs.so
    7fce87781000-7fce87981000 ---p 00164000 08:05 261667                     /usr/lib/xulrunner-1.9.2/libmozjs.so
    7fce87981000-7fce8798e000 rw-p 00164000 08:05 261667                     /usr/lib/xulrunner-1.9.2/libmozjs.so
    7fce8798e000-7fce87a0d000 r-xp 00000000 08:05 261654                     /usr/lib/xulrunner-1.9.2/libsqlite3.so
    7fce87a0d000-7fce87c0c000 ---p 0007f000 08:05 261654                     /usr/lib/xulrunner-1.9.2/libsqlite3.so
    7fce87c0c000-7fce87c10000 rw-p 0007e000 08:05 261654                     /usr/lib/xulrunner-1.9.2/libsqlite3.so
    7fce87c10000-7fce87c47000 r-xp 00000000 08:05 1013                       /usr/lib/libnspr4.so
    7fce87c47000-7fce87e46000 ---p 00037000 08:05 1013                       /usr/lib/libnspr4.so
    7fce87e46000-7fce87e49000 rw-p 00036000 08:05 1013                       /usr/lib/libnspr4.so
    7fce87e49000-7fce87e4b000 rw-p 00000000 00:00 0
    7fce87e4b000-7fce87e4f000 r-xp 00000000 08:05 1011                       /usr/lib/libplc4.so
    7fce87e4f000-7fce8804e000 ---p 00004000 08:05 1011                       /usr/lib/libplc4.so
    7fce8804e000-7fce8804f000 rw-p 00003000 08:05 1011                       /usr/lib/libplc4.so
    7fce8804f000-7fce8914d000 r-xp 00000000 08:05 261649                     /usr/lib/xulrunner-1.9.2/libxul.so
    7fce8914d000-7fce8934d000 ---p 010fe000 08:05 261649                     /usr/lib/xulrunner-1.9.2/libxul.so
    7fce8934d000-7fce8950e000 rw-p 010fe000 08:05 261649                     /usr/lib/xulrunner-1.9.2/libxul.so
    7fce8950e000-7fce89527000 rw-p 00000000 00:00 0
    7fce89527000-7fce8c000000 r--p 00000000 08:05 261855                     /usr/share/icons/gnome/icon-theme.cache
    7fce8c000000-7fce8c021000 rw-p 00000000 00:00 0
    7fce8c021000-7fce90000000 ---p 00000000 00:00 0
    7fce90049000-7fce9004c000 r-xp 00000000 08:05 1014                       /usr/lib/libplds4.soAborted
    dastagg@opus:~$ java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8) (ArchLinux-6.b18_1.8-1-x86_64)
    OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

    this also happens when launching midori (so it's probably a webkit+java issue):
    silvik@morgana:~$ midori
    *** glibc detected *** midori: free(): invalid pointer: 0x0841e380 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x6bb61)[0xb5cbbb61]
    /lib/libc.so.6(+0x6d3b8)[0xb5cbd3b8]
    /lib/libc.so.6(cfree+0x6d)[0xb5cc04ad]
    /usr/lib/libglib-2.0.so.0(g_free+0x36)[0xb6f9b1a6]
    /usr/lib/libglib-2.0.so.0(g_strfreev+0x20)[0xb6fb3bb0]
    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so(NP_Initialize+0x761)[0xb1eb8ad1]
    /usr/lib/libwebkit-1.0.so.2(+0x788e1d)[0xb675fe1d]
    /usr/lib/libwebkit-1.0.so.2(+0x788f72)[0xb675ff72]
    /usr/lib/libwebkit-1.0.so.2(+0x5333c9)[0xb650a3c9]
    /usr/lib/libwebkit-1.0.so.2(+0x52c2a0)[0xb65032a0]
    /usr/lib/libwebkit-1.0.so.2(+0x52ce04)[0xb6503e04]
    /usr/lib/libwebkit-1.0.so.2(+0x7885f0)[0xb675f5f0]
    /usr/lib/libwebkit-1.0.so.2(+0x529b65)[0xb6500b65]
    /usr/lib/libwebkit-1.0.so.2(+0x4a1762)[0xb6478762]
    /usr/lib/libwebkit-1.0.so.2(+0x52969c)[0xb650069c]
    /usr/lib/libwebkit-1.0.so.2(+0x5296c1)[0xb65006c1]
    /usr/lib/libwebkit-1.0.so.2(+0xb95028)[0xb6b6c028]
    /usr/lib/libwebkit-1.0.so.2(+0x95222b)[0xb692922b]
    /usr/lib/libwebkit-1.0.so.2(+0x8bc27d)[0xb689327d]
    /usr/lib/libwebkit-1.0.so.2(+0x874251)[0xb684b251]
    [0xb2bc321a]
    /usr/lib/libwebkit-1.0.so.2(+0x882f1d)[0xb6859f1d]
    /usr/lib/libwebkit-1.0.so.2(+0x93dd06)[0xb6914d06]
    /usr/lib/libwebkit-1.0.so.2(JSEvaluateScript+0x1d0)[0xb67fb5e0]
    midori(sokoke_js_script_eval+0x8a)[0x80a9f4b]
    midori[0x8061c8e]
    /usr/lib/libglib-2.0.so.0(+0x36911)[0xb6f90911]
    /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0xb6f92895]
    /usr/lib/libglib-2.0.so.0(+0x3c568)[0xb6f96568]
    /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x187)[0xb6f96aa7]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0xb7480c29]
    midori(main+0x1ac5)[0x80645fb]
    /lib/libc.so.6(__libc_start_main+0xe6)[0xb5c66b86]
    midori[0x805f6f1]
    ======= Memory map: ========
    08048000-080c6000 r-xp 00000000 09:00 31850 /usr/bin/midori
    080c6000-080c8000 rw-p 0007e000 09:00 31850 /usr/bin/midori
    08161000-08440000 rw-p 00000000 00:00 0 [heap]
    b0c00000-b0c21000 rw-p 00000000 00:00 0
    b0c21000-b0d00000 ---p 00000000 00:00 0
    b0d92000-b0d95000 r-xp 00000000 09:00 27174 /usr/lib/libxcb-atom.so.1.0.0
    b0d95000-b0d96000 rw-p 00002000 09:00 27174 /usr/lib/libxcb-atom.so.1.0.0
    b0d96000-b0d98000 r-xp 00000000 09:00 27176 /usr/lib/libxcb-event.so.1.0.0
    b0d98000-b0d99000 rw-p 00001000 09:00 27176 /usr/lib/libxcb-event.so.1.0.0
    b0d99000-b0d9b000 r-xp 00000000 09:00 27173 /usr/lib/libxcb-aux.so.0.0.0
    b0d9b000-b0d9c000 rw-p 00001000 09:00 27173 /usr/lib/libxcb-aux.so.0.0.0
    b0d9c000-b0e5d000 r-xp 00000000 09:00 29613 /usr/lib/libasound.so.2.0.0
    b0e5d000-b0e61000 rw-p 000c0000 09:00 29613 /usr/lib/libasound.so.2.0.0
    b0e61000-b0e68000 r-xp 00000000 09:00 27194 /usr/lib/libstartup-notification-1.so.0.0.0
    b0e68000-b0e69000 rw-p 00007000 09:00 27194 /usr/lib/libstartup-notification-1.so.0.0.0
    b0e69000-b0e7d000 r-xp 00000000 09:00 30358 /usr/lib/libnssutil3.so
    b0e7d000-b0e80000 rw-p 00014000 09:00 30358 /usr/lib/libnssutil3.so
    b0e80000-b0f8d000 r-xp 00000000 09:00 30356 /usr/lib/libnss3.so
    b0f8d000-b0f91000 rw-p 0010d000 09:00 30356 /usr/lib/libnss3.so
    b0f91000-b0f92000 rw-p 00000000 00:00 0
    b0f92000-b0fb4000 r-xp 00000000 09:00 30351 /usr/lib/libsmime3.so
    b0fb4000-b0fb6000 rw-p 00022000 09:00 30351 /usr/lib/libsmime3.so
    b0fb6000-b0fe2000 r-xp 00000000 09:00 30354 /usr/lib/libssl3.so
    b0fe2000-b0fe4000 rw-p 0002b000 09:00 30354 /usr/lib/libssl3.so
    b0fe4000-b1130000 r-xp 00000000 09:00 292587 /usr/lib/xulrunner-1.9.2/libmozjs.so
    b1130000-b1137000 rw-p 0014c000 09:00 292587 /usr/lib/xulrunner-1.9.2/libmozjs.so
    b1137000-b1138000 rw-p 00000000 00:00 0
    b1138000-b11ae000 r-xp 00000000 09:00 292567 /usr/lib/xulrunner-1.9.2/libsqlite3.so
    b11ae000-b11b0000 rw-p 00076000 09:00 292567 /usr/lib/xulrunner-1.9.2/libsqlite3.so
    b11b0000-b11e0000 r-xp 00000000 09:00 30336 /usr/lib/libnspr4.so
    b11e0000-b11e1000 rw-p 00030000 09:00 30336 /usr/lib/libnspr4.so
    b11e1000-b11e3000 rw-p 00000000 00:00 0
    b11e3000-b1db6000 r-xp 00000000 09:00 292562 /usr/lib/xulrunner-1.9.2/libxul.so
    b1db6000-b1e9b000 rw-p 00bd3000 09:00 292562 /usr/lib/xulrunner-1.9.2/libxul.so
    b1e9b000-b1eae000 rw-p 00000000 00:00 0
    b1eae000-b1ede000 r-xp 00000000 09:00 138761 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
    b1ede000-b1edf000 rw-p 0002f000 09:00 138761 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
    b1edf000-b1f3f000 rw-s 00000000 00:04 6815762 /SYSV00000000 (deleted)
    b1f3f000-b1f40000 ---p 00000000 00:00 0
    b1f40000-b2780000 rw-p 00000000 00:00 0
    b2781000-b2784000 r-xp 00000000 09:00 30334 /usr/lib/libplc4.so
    b2784000-b2785000 rw-p 00002000 09:00 30334 /usr/lib/libplc4.so
    b2785000-b2787000 r-xp 00000000 09:00 30337 /usr/lib/libplds4.so
    b2787000-b2788000 rw-p 00001000 09:00 30337 /usr/lib/libplds4.so
    b2788000-b278b000 r-xp 00000000 09:00 292566 /usr/lib/xulrunner-1.9.2/libxpcom.so
    b278b000-b278c000 rw-p 00002000 09:00 292566 /usr/lib/xulrunner-1.9.2/libxpcom.so
    b278c000-b2790000 r-xp 00000000 09:00 2224 /lib/libnss_dns-2.11.1.so
    b2790000-b2791000 r--p 00004000 09:00 2224 /lib/libnss_dns-2.11.1.so
    b2791000-b2792000 rw-p 00005000 09:00 2224 /lib/libnss_dns-2.11.1.so
    b27af000-b2bc1000 rw-p 00000000 00:00 0
    b2bc1000-b2bc5000 rwxp 00000000 00:00 0
    b2bc5000-b2c25000 rw-s 00000000 00:04 6782993 /SYSV00000000 (deleted)
    b2c25000-b2c5d000 r--p 00000000 09:00 131197 /usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
    b2c5d000-b2c6d000 r--p 00000000 09:00 158121 /usr/share/fonts/TTF/VeraIt.ttf
    b2c6d000-b2cbc000 r--p 00000000 09:00 131190 /usr/share/fonts/TTF/DejaVuSansMono.ttf
    b2cbc000-b2ccd000 r--p 00000000 09:00 158124 /usr/share/fonts/TTF/Vera.ttf
    b2ccd000-b2cdd000 r--s 00000000 09:00 131327 /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le32d4.cache-3
    b2cdd000-b2ce3000 r--s 00000000 09:00 130641 /var/cache/fontconfig/a98d8961fa319a64d3cfd8640c79e62d-le32d4.cache-3
    b2ce3000-b2ce9000 r--s 00000000 09:00 131322 /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-le32d4.cache-3
    b2ce9000-b2d0b000 r--s 00000000 09:00 131236 /var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3
    b2d0b000-b2d0d000 r-xp 00000000 09:00 2206 /lib/libutil-2.11.1.so
    b2d0d000-b2d0e000 r--p 00001000 09:00 2206 /lib/libutil-2.11.1.so
    b2d0e000-b2d0f000 rw-p 00002000 09:00 2206 /lib/libutil-2.11.1.so
    b2d0f000-b2d1a000 r-xp 00000000 09:00 13178 /lib/libudev.so.0.6.1
    b2d1a000-b2d1b000 rw-p 0000a000 09:00 13178 /lib/libudev.so.0.6.1
    b2d1b000-b2d2e000 r-xp 00000000 09:00 34183 /usr/lib/libgvfscommon.so.0.0.0
    b2d2e000-b2d2f000 rw-p 00013000 09:00 34183 /usr/lib/libgvfscommon.so.0.0.0
    b2d30000-b2d4b000 r--s 00000000 09:00 134246 /usr/share/mime/mime.cache
    b2d4b000-b2d4c000 r--s 00000000 09:03 2490872 /home/silvik/.local/share/mime/mime.cache
    b2d4c000-b2d6f000 r-xp 00000000 09:00 396996 /usr/lib/gio/modules/libgvfsdbus.so
    b2d6f000-b2d70000 rw-p 00023000 09:00 396996 /usr/lib/gio/modules/libgvfsdbus.so
    b2d70000-b301e000 r--p 00000000 09:00 137386 /usr/share/icons/hicolor/icon-theme.cache
    b301e000-b3047000 r-xp 00000000 09:00 131751 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
    b3047000-b3048000 rw-p 00029000 09:00 131751 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
    b3048000-b3051000 r-xp 00000000 09:00 440770 /usr/lib/midori/libcookie-manager.so
    b3051000-b3052000 rw-p 00009000 09:00 440770 /usr/lib/midori/libcookie-manager.so
    b3052000-b3055000 r-xp 00000000 09:00 440765 /usr/lib/midori/libshortcuts.so
    b3055000-b3056000 rw-p 00002000 09:00 440765 /usr/lib/midori/libshortcuts.so
    b3056000-b305a000 r-xp 00000000 09:00 440762 /usr/lib/midori/libtab-switcher.so
    b305a000-b305b000 rw-p 00003000 09:00 440762 /usr/lib/midori/libtab-switcher.so
    b305b000-b305d000 r-xp 00000000 09:00 440767 /usr/lib/midori/libmouse-gestures.so
    b305d000-b305e000 rw-p 00001000 09:00 440767 /usr/lib/midori/libmouse-gestures.so
    b305e000-b3060000 r-xp 00000000 09:00 440771 /usr/lib/midori/libcolorful-tabs.so
    b3060000-b3061000 rw-p 00001000 09:00 440771 /usr/lib/midori/libcolorful-tabs.so
    b3061000-b306d000 r-xp 00000000 09:00 440769 /usr/lib/midori/libfeed-panel.so
    b306d000-b306e000 rw-p 0000b000 09:00 440769 /usr/lib/midori/libfeed-panel.so
    b306e000-b30a9000 r-xp 00000000 09:00 25246 /usr/lib/libeggdbus-1.so.0.0.0
    b30a9000-b30ab000 rw-p 0003b000 09:00 25246 /usr/lib/libeggdbus-1.so.0.0.0
    b30ab000-b30f3000 r-xp 00000000 09:00 31860 /usr/lib/libORBit-2.so.0.1.0
    b30f3000-b30fd000 rw-p 00047000 09:00 31860 /usr/lib/libORBit-2.so.0.1.0
    b30fd000-b3117000 r-xp 00000000 09:00 16159 /usr/lib/libgnome-keyring.so.0.1.1
    b3117000-b3118000 rw-p 00019000 09:00 16159 /usr/lib/libgnome-keyring.so.0.1.1
    b3118000-b3120000 r-xp 00000000 09:00 33664 /usr/lib/libproxy.so.0.0.0
    b3120000-b3121000 rw-p 00007000 09:00 33664 /usr/lib/libproxy.so.0.0.0
    b3121000-b3150000 r-xp 00000000 09:00 32166 /usr/lib/libgconf-2.so.4.1.5
    b3150000-b3153000 rw-p 0002e000 09:00 32166 /usr/lib/libgconf-2.so.4.1.5
    b3153000-b3158000 r-xp 00000000 09:00 33668 /usr/lib/libsoup-gnome-2.4.so.1.3.0
    b3158000-b3159000 rw-p 00004000 09:00 33668 /usr/lib/libsoup-gnome-2.4.so.1.3.0
    b3159000-b31ef000 r-xp 00000000 09:00 31508 /usr/lib/libaspell.so.15.1.4
    b31ef000-b31f3000 rw-p 00095000 09:00 31508 /usr/lib/libaspell.so.15.1.4
    b31f3000-b31f7000 rw-p 00000000 00:00 0
    b31f7000-b3238000 r-xp 00000000 09:00 30372 /usr/lib/libhunspell-1.2.so.0.0.0
    b3238000-b323c000 rw-p 00041000 09:00 30372 /usr/lib/libhunspell-1.2.so.0.0.0
    b323c000-b323f000 r-xp 00000000 09:00 440760 /usr/lib/midori/libweb-cache.so
    b323f000-b3240000 rw-p 00003000 09:00 440760 /usr/lib/midori/libweb-cache.so
    b3240000-b3242000 r-xp 00000000 09:00 440766 /usr/lib/midori/libpage-holder.so
    b3242000-b3243000 rw-p 00001000 09:00 440766 /usr/lib/midori/libpage-holder.so
    b3243000-b3246000 r-xp 00000000 09:00 440768 /usr/lib/midori/libformhistory.so
    b3246000-b3247000 rw-p 00002000 09:00 440768 /usr/lib/midori/libformhistory.so
    b3247000-b3249000 r-xp 00000000 09:00 440764 /usr/lib/midori/libstatusbar-features.so
    b3249000-b324a000 rw-p 00001000 09:00 440764 /usr/lib/midori/libstatusbar-features.so
    b324a000-b324f000 r-xp 00000000 09:00 440761 /usr/lib/midori/libtoolbar-editor.so
    b324f000-b3250000 rw-p 00004000 09:00 440761 /usr/lib/midori/libtoolbar-editor.so
    b3250000-b3258000 r-xp 00000000 09:00 440772 /usr/lib/midori/libadblock.so
    b3258000-b3259000 rw-p 00007000 09:00 440772 /usr/lib/midori/libadblock.so
    b3259000-b3262000 r-xp 00000000 09:00 425387 /usr/lib/enchant/libenchant_hspell.so
    b3262000-b3264000 rw-p 00008000 09:00 425387 /usr/lib/enchant/libenchant_hspell.so
    b3264000-b3265000 ---p 00000000 00:00 0
    b3265000-b3b85000 rw-p 00000000 00:00 0
    b3b85000-b3b86000 ---p 00000000 00:00 0
    b3b86000-b4386000 rw-p 00000000 00:00 0
    b4386000-b4390000 r-xp 00000000 09:00 2226 /lib/libnss_files-2.11.1.so
    b4390000-b4391000 r--p 00009000 09:00 2226 /lib/libnss_files-2.11.1.so
    b4391000-b4392000 rw-p 0000a000 09:00 2226 /lib/libnss_files-2.11.1.so
    b4392000-b4543000 r--p 00000000 09:00 54368 /usr/lib/locale/locale-archive
    b4543000-b4547000 rw-p 00000000 00:00 0
    b4547000-b454a000 r-xp 00000000 09:00 1063 /lib/libuuid.so.1.3.0
    b454a000-b454b000 rw-p 00002000 09:00 1063 /lib/libuuid.so.1.3.0
    b454b000-b454c000 rw-p 00000000 00:00 0
    b454c000-b4550000 r-xp 00000000 09:00 25277 /usr/lib/libXdmcp.so.6.0.0
    b4550000-b4551000 rw-p 00003000 09:00 25277 /usr/lib/libXdmcp.so.6.0.0
    b4551000-b4553000 r-xp 00000000 09:00 25290 /usr/lib/libXau.so.6.0.0
    b4553000-b4554000 rw-p 00001000 09:00 25290 /usr/lib/libXau.so.6.0.0
    b4554000-b4570000 r-xp 00000000 09:00 293 /usr/lib/libgcc_s.so.1
    b4570000-b4571000 rw-p 0001c000 09:00 293 /usr/lib/libgcc_s.so.1
    b4571000-b465c000 r-xp 00000000 09:00 299 /usr/lib/libstdc++.so.6.0.13
    b465c000-b4660000 r--p 000ea000 09:00 299 /usr/lib/libstdc++.so.6.0.13
    b4660000-b4661000 rw-p 000ee000 09:00 299 /usr/lib/libstdc++.so.6.0.13
    b4661000-b4669000 rw-p 00000000 00:00 0
    b4669000-b467d000 r-xp 00000000 09:00 26464 /usr/lib/libICE.so.6.3.0
    b467d000-b467f000 rw-p 00013000 09:00 26464 /usr/lib/libICE.so.6.3.0
    b467f000-b4680000 rw-p 00000000 00:00 0
    b4680000-b4687000 r-xp 00000000 09:00 26471 /usr/lib/libSM.so.6.0.1
    b4687000-b4688000 rw-p 00006000 09:00 26471 /usr/lib/libSM.so.6.0.1
    b4688000-b46d5000 r-xp 00000000 09:00 26744 /usr/lib/libXt.so.6.0.0
    b46d5000-b46d9000 rw-p 0004c000 09:00 26744 /usr/lib/libXt.so.6.0.0Aborted
    silvik@morgana:~$ java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8) (ArchLinux-6.b18_1.8-1-i686)
    OpenJDK Client VM (build 14.0-b16, mixed mode)

  • [SOLVED]change the font that displays pages in the browser Uzbl

    hi all
    there is some form in the browser Uzbl change the type of font displayed on web pages?
    thanks
    Last edited by jccl1706 (2010-03-16 01:32:53)

    You would need to apply a style sheet that loads for all pages that you visit (fonts that you view on the web are determined by a) the designers who specify either specific fonts, or families (like serif) and b) the fonts that you have installed on your system).
    Last edited by jasonwryan (2010-03-15 22:41:21)

  • Change the font that displays pages in the browser Uzbl

    hi all
    there is some form in the browser Uzbl change the type of font displayed on web pages?
    thanks

    Please don't cross post: http://bbs.archlinux.org/viewtopic.php?id=93212

  • Uzbl, help a newbie!

    Thanks for coming in~! Prepare for newbie questions!
    I want to make the switch from Chromium to Uzbl for a majority of my browsing.
    I have used Uzbl on a live Ubuntu environment and the loading is incredibly fast. Even the initial page and all following pages. However on Arch the initial loading of Uzbl-tabbed is not as fast (understandable if this is a dependency issue). My problem isn't with the loading of the Uzbl window, it's with the loading of the actual web pages.
    I load pages very quickly on Ubuntu (around 1 second for most pages). On Arch I sometimes wait 3~6 seconds while the page loads (the meter sits at 100%) and finally it budges and loads the page. Sometimes it doesn't even load the page and I have to refresh.
    I use the default config that is used when you install Uzbl-core, Uzbl-browser and Uzbl-tabbed. Ubuntu doesn't use any of those, it has simply "uzbl" and I am not sure what it's based on. I assume the page loading speed must be a config problem with the Arch install or something. I am at work so I can't posy my config file yet, so sorry about that!
    Does anyone know what I should do about this?
    Another question, I don't like typing 'uzbl-tabbed' to load the browser with tabbing enabled. As a matter of fact I don't like writing anything longer than uzbl, so I am wondering if the only way around this is to write a simple bash script that will run 'uzbl-tabbed &' when I use uzbl. I don't use many other arguments when I run it, so having a shorter command would be much better and the default packages in the AUR doesn't seem to use the short uzbl command.
    Another newbie question, what happens to the Uzbl cache and temp files? I know it keeps cookies by default, but how does it handle the cache and emptying?

    Google wrote:
    Here's a newbie question. I put the alias inside ~/.bashrc ? I have but it isn't working. I am looking around for an answer, was afraid to ask
    edit:
    It appears to work now. I guess it just took a while. Thanks, I should have read more about .bashrc, it's really nice to be able to make an alias so simple.
    Thanks!
    Now I just need to fix the speed and get a hint style script.
    If you ever in the future change some aliases, your new aliases will not work in the terminals that were already open before you added/changed the aliases. They will work in all subsequent terminals. However, you can still have your new aliases show up in existing terminal sessions by doing
    source ~/.bashrc
    Also, look into xbindkeys, you won't regret it.
    Last edited by Inxsible (2010-07-01 17:10:36)

  • Command clash in uzbl-tabbed

    Hi all,
    I am probably doing something very wrong, but it seems to me there is a command clash for the 'gi' command in uzbl-tabbed.
    For in uzbl-browser 'gi' means go to the first input, but in uzbl-tabbed it means go to tab <index>.
    I would like to use the command to switch tabs, but at the moment it is not possible because of this clash. How should I solve this?
    jocom

    uzbl-tabbed is currently broken and waiting to be fixed (AFAIK). Be patient.

  • [uzbl] how do I clear the command bar after following a link? [SOLVED]

    It's ridiculous that I've done this again, but I've forgotten how to have uzbl automagically clear the command bar after I fl something. Yes, I know at some point it was on uzbl's wiki page; yes, I did compare my old and new configs; yes, I'm a dork and I'm just not finding the answer.

    The only part of diff that has anything to do with this is:
    < @on_event LOAD_START chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD'
    > @on_event LOAD_START @set_status <span foreground="khaki">wait</span>
    The rest is either stuff that I've commented out for now or key bindings, personal settings, etc.
    The follow link code is working now the way that it was before with the above changes. With the old way (as posted above) it wreaks all sorts of havoc with uzbl. By that I mean that the command bar would seem to clear but the data would reappear as soon as another command would start to be entered. As well, backspacing to the beginning of the command line would send uzbl to follow URLs that I didn't specify.
    By the way, no matter if the above is hackish or not, it's close to what I want. The only thing left would be for ESC to clear the numbers if I chose not to do go somewhere. Is there a way to set this up without breaking other functionality?

  • Cookie Issues in uzbl- uzbl-cookie-daemon

    I have two gmail accounts, one of which I rarely use. On the gmail login page, the less used account name seems to be permanently set in the Username field. Clicking the "sign in as a different user" link below that doesn't work, it brings me back to the login page with my alternate username filled in and unchangeable. I think this may be a cookies issue, and I don't see any cookies saved by uzbl anywhere, but I'd like to know how to restart the cookies daemons or clear the cookies. Again, I'm not sure what the issue is, so any suggestions are welcome.
    Last edited by soupcan (2010-07-22 03:08:43)

    So I'm still having this problem. uzbl-cookie-daemon seems to be malfunctioning somehow, but I've yet to find a way to view its output to see if I can spot the problem. Whenever I try to visit certain sites, the process "python /usr/bin/uzbl-cookie-daemon -v start" takes up a large part of my cpu and uzbl locks up. I've been unable to get more info than that, aside from the fact that killing the daemon allows me to access the sites in question.

  • [SOLVED] uzbl-browser and dmenu-vertical

    I recently installed the uzbl-browser, which is just great.  It uses dmenu for bookmarks, and it has been suggested (I can dredge up posts if necessary) that the "patched" version dmenu-vertical will improve the experience by listing the bookmarks vertically (horizontally you can see the first three or so, and then end up scrolling).  Looking in the AUR there are two packages: dmenu-vertical and dmenu-vertical-xft.  I chose the version with XFT support. 
    When I tried to install it, pacman complained that it conflicted with dmenu, which was already installed.  I uninstalled dmenu, which required uninstalling uzbl-browser, installed dmenu-vertical-xft, and then attempted to install uzbl-browser.  When I answered "no" to that installation's suggestion that I replace dmenu-vertical-xft with dmenu, the install aborted.
    So I have reverted to uzbl-browser with vanilla dmenu, but I would like to get it working with the vertical patch.  Has anybody done this, and if so how?
    Thanks - Hy
    Last edited by Hy Ginsberg (2010-04-10 00:10:35)

    Thanks -- just what I needed.  - Hy

  • Yanking & pasting text in xmonad/uzbl

    I use xmonad as my WM and I've been using uzbl as my browser lately. I regularly want to yank the current page URL or selected text and paste into, say, pidgin, or a text input field in a different browser window.
    When I use the "yy" or "yu" default keybinds in uzbl, it yanks it in a way that can be pasted with shift-insert into a terminal. In any other program, though, shift-insert will do nothing, but middle-click will place the yanked text. UZBL seems to be using xclip. Is there any way to change this behaviour? I don't even use the mouse usually.
    Also, occasionally when typing I accidentally manage to paste what's in the clipboard. It's not ctrl-V and it's not shift-insert, and I can never replicate the mistake, though I'd like to. Does anyone know what hotkey or combination of trackpad input and keys I could be hitting when this happens?

    Cerales wrote:Also, occasionally when typing I accidentally manage to paste what's in the clipboard. It's not ctrl-V and it's not shift-insert, and I can never replicate the mistake, though I'd like to. Does anyone know what hotkey or combination of trackpad input and keys I could be hitting when this happens?
    I've never used Xmonad, but I've noticed that, by default, my touchpad is configured to simulate a middle key click (mouse 3 button) if you do a two-finger "click". Thing is, it sometimes does it also when I touch it with a wet finger, with my thumb or, while typing, with my hand: In that cases it pastes the clipboard content.
    I actually never went through the problem, as it doesn't happen much often, but it's quite annoying sometimes.
    Davide

  • [SOLVED] How to patch package build (uzbl-git)

    Hello,
    I am experiencing a similar issue while building uzbl-git as reported here in the last few posts https://aur.archlinux.org/packages.php? … 2&detail=1
    When running "makepkg -s", I receive the following error:
    creating /usr/lib/python3.2/site-packages/uzbl
    error: could not create '/usr/lib/python3.2/site-packages/uzbl': Permission denied
    make: *** [install-event-manager] Error 1
    A user on the page posted a patch for this issue:
    PKGBUILD diff:
    ======
    14,15c14,15
    < source=()
    < md5sums=()
    > source=('Makefile.patch')
    > md5sums=('1fb21dc7128e11d9a91351702c5fee53')
    45a46,48
    >
    > # fix python site-packages installation
    > patch -p0 < "$srcdir/Makefile.patch"
    =====
    Makefile.patch:
    =====
    --- Makefile 2012-06-26 15:00:00.017779376 +0000
    +++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
    @@ -12,6 +12,7 @@
    PYTHON=python3
    PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
    COVERAGE=$(shell which coverage)
    +PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
    # --- configuration ends here ---
    =====
    Could someone enlighten me on how this patch should be applied? I have looked over the patching page on the arch wiki, but am still not sure. Should those lines be added at lines 14,15 and 45,46,48 in the PKGBUILD, respectively, and should I then create the file makefile.patch in the same directory with the second part of the code? It is unclear to me as both source=() and md5sums=() are not anywhere in the PKGBUILD, so I can't remove these lines as the patch suggests if I am reading it correctly (I have no coding experience).
    Someone posted an alternative patch, I am note sure if this is any easier to apply (https://github.com/keis/uzbl/commit/d4c … 6874dda0ea)
    Thank you in advance.
    Last edited by OLSHoya (2012-09-11 19:51:24)

    PKGBUILD
    # Maintainer: Mark Foxwell <[email protected]>
    # Contributor: Dieter Plaetinck <[email protected]>
    # Contributer: Brendan Taylor <[email protected]>
    # Contributer: L42y <[email protected]>
    pkgname=uzbl-git
    pkgver=20120212
    pkgrel=1
    pkgdesc="All uzbl web interface tools: latest from the git master branch"
    arch=('i686' 'x86_64')
    url="http://github.com/Dieterbe/uzbl/"
    license=('GPL3')
    depends=('libwebkit3' 'socat' 'zenity' 'xclip' 'dmenu' 'python2' 'pygtk')
    makedepends=('git' 'pkgconfig' 'libwebkit>=1.2.0')
    source=('Makefile.patch')
    md5sums=('1fb21dc7128e11d9a91351702c5fee53')
    provides=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed')
    conflicts=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed' 'uzbl-experimental-git')
    _gitroot="git://github.com/Dieterbe/uzbl.git"
    _gitname="uzbl"
    build() {
    cd "$srcdir"
    msg "Connecting to GIT server...."
    if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot $_gitname
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    rm -rf "$srcdir/$_gitname-build"
    git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
    cd "$srcdir/$_gitname-build"
    patch -p0 < "$srcdir/Makefile.patch"
    for file in bin/*; do
    sed -i 's_#!/usr/bin/env python$_#!/usr/bin/env python2_' $file
    done
    sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
    -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
    $(find ./ -name '*.py')
    make
    package(){
    cd "$srcdir/$_gitname-build"
    make DESTDIR="$pkgdir" PREFIX=/usr install
    Makefile.patch
    --- Makefile 2012-06-26 15:00:00.017779376 +0000
    +++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
    @@ -12,6 +12,7 @@
    PYTHON=python3
    PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
    COVERAGE=$(shell which coverage)
    +PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
    Save them both in the same folder and run makepkg. After you save Makefile.patch run "md5sum Makefile.patch" and update the md5sums array in the PKGBUILD if you need to.

  • Uzbl. A browser that adheres to the unix philosophy.

    UPDATE:
    This thread is out of date (well, at least the beginning) and no longer the most optimal means to reach the community.
    If you have useful things to contribute, our irc/mailing list/wiki is probably a better choice.
    See: http://www.uzbl.org/
    Inspired by http://bbs.archlinux.org/viewtopic.php?id=67463
    ideas on how i sort of want it:
    - Uzbl.
      In my opinion, any program can only be really useful if it complies to the unix philosophy.
      Web browsers are frequent violators of this principle.  Time to change that!
    Right now uzbl is in a very early state but here are some ideas I would like to (not) implement
    - each instance of uzbl renders 1 page (eg it's a small wrapper around webkit), no tabbing, tab previews, or speed dial
    things. we have window managers for that.
    - simple ini config file ("profile") for keyboard, network,.. settings
    - implement some basic keyboard shortcuts for going up, down, refresh etc
    - listen to signals and do useful stuff when triggered.
    -  open up a socket file/fifo/.. so we can easily control each instance by writing things like 'uri <foo>' to
    /tmp/uzbl-pid
    - MAYBE (if needed): 1 control application called uzblctrl or something. use this to modify the behavior of a uzbl
    instance (change url, refresh).  use xdotool to get the window with focus.  eg uzblctrl -win <id> -url <http://>.
      use xbindkeys to bind keys to call uzblctrl.
    - no bookmark management builtin.  make your own solution.  for pulling a bookmark a plaintxt-based program using dmenu
    would work great here. combine with uzbltcrl and xbindkeys.
      uzblctrl should support an option to query the current page so you can script something to add to your bookmarks.  use
      zenity or something to add tags.
    - similar story for history.
    - no ad blocking built in. use the power of /etc/hosts.  though uzblctrl should support an option to list all images on
    a page, so you can easily pick the links to ads to add them to your /etc/hosts. (dmenu can again be great here to
    automate this)
    - no download manager. allow user to pick wget/curl/a custom script/...
    - no build in command interpreters like ubiquity.  uzbl should be accessible and you should use a shell or similar.
    to figure out:
    - password management. maybe an encrypted store that unlocks with an ssh key?
    - how to handle hyperlinks? number them like konqueror does?
    NOTE:
    - My c skills are very rusty, it will take me a while to get back up to speed
    current state? very close to zero.
    you can all uzbl --uri http://<someurl> and it will open a window with the rendered page. That's it.
    howto @ http://github.com/Dieterbe/uzbl/blob/e3 … 580e/HOWTO
    Last edited by Dieter@be (2009-06-19 07:17:30)

    I started working on the tab feature. I am at work so can't really get much done now, but this would qualify as a start.
    Things are shamefully hardcoded but this is the jist of it. Obviouslly create_browser() and create_statusbar() need to be rewritten to create individual widgets (webkit widgets too), otherwise tabs will be useless. Yay finally a project to work on
    // Original code taken from the example webkit-gtk+ application. see notice below.
    * Copyright (C) 2006, 2007 Apple Inc.
    * Copyright (C) 2007 Alp Toker <[email protected]>
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * 1. Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * 2. Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
    * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
    * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #include <gtk/gtk.h>
    #include <gtk/gtknotebook.h>
    #include <webkit/webkit.h>
    static GtkWidget* main_window;
    static GtkWidget* uri_entry;
    static GtkStatusbar* main_statusbar;
    static WebKitWebView* web_view;
    static gchar* main_title;
    static gint load_progress;
    static guint status_context_id;
    static GtkWidget* tabs;
    static gchar* uri = NULL;
    static gboolean verbose = FALSE;
    static GOptionEntry entries[] =
    { "uri", 'u', 0, G_OPTION_ARG_STRING, &uri, "Uri to load", NULL },
    { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Be verbose", NULL },
    { NULL }
    static void
    activate_uri_entry_cb (GtkWidget* entry, gpointer data)
    const gchar* uri = gtk_entry_get_text (GTK_ENTRY (entry));
    g_assert (uri);
    webkit_web_view_load_uri (web_view, uri);
    static void update_title (GtkWindow* window)
    GString* string = g_string_new (main_title);
    g_string_append (string, " - Uzbl browser");
    if (load_progress < 100)
    g_string_append_printf (string, " (%d%%)", load_progress);
    gchar* title = g_string_free (string, FALSE);
    gtk_window_set_title (window, title);
    g_free (title);
    static void
    link_hover_cb (WebKitWebView* page, const gchar* title, const gchar* link, gpointer data)
    /* underflow is allowed */
    gtk_statusbar_pop (main_statusbar, status_context_id);
    if (link)
    gtk_statusbar_push (main_statusbar, status_context_id, link);
    static void
    title_change_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, const gchar* title, gpointer data)
    if (main_title)
    g_free (main_title);
    main_title = g_strdup (title);
    update_title (GTK_WINDOW (main_window));
    static void
    progress_change_cb (WebKitWebView* page, gint progress, gpointer data)
    load_progress = progress;
    update_title (GTK_WINDOW (main_window));
    static void
    load_commit_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data)
    const gchar* uri = webkit_web_frame_get_uri(frame);
    if (uri)
    gtk_entry_set_text (GTK_ENTRY (uri_entry), uri);
    static void
    destroy_cb (GtkWidget* widget, gpointer data)
    gtk_main_quit ();
    static void
    go_back_cb (GtkWidget* widget, gpointer data)
    webkit_web_view_go_back (web_view);
    static void
    go_forward_cb (GtkWidget* widget, gpointer data)
    webkit_web_view_go_forward (web_view);
    static GtkWidget*
    create_browser ()
    GtkWidget* scrolled_window = gtk_scrolled_window_new (NULL, NULL);
    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
    web_view = WEBKIT_WEB_VIEW (webkit_web_view_new ());
    gtk_container_add (GTK_CONTAINER (scrolled_window), GTK_WIDGET (web_view));
    g_signal_connect (G_OBJECT (web_view), "title-changed", G_CALLBACK (title_change_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "load-progress-changed", G_CALLBACK (progress_change_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "load-committed", G_CALLBACK (load_commit_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "hovering-over-link", G_CALLBACK (link_hover_cb), web_view);
    return scrolled_window;
    static GtkWidget* create_statusbar ()
    main_statusbar = GTK_STATUSBAR (gtk_statusbar_new ());
    status_context_id = gtk_statusbar_get_context_id (main_statusbar, "Link Hover");
    return (GtkWidget*)main_statusbar;
    static GtkWidget* create_window ()
    GtkWidget* window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_window_set_default_size (GTK_WINDOW (window), 800, 600);
    gtk_widget_set_name (window, "Uzbl browser");
    g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy_cb), NULL);
    return window;
    int main (int argc, char* argv[])
    gtk_init (&argc, &argv);
    if (!g_thread_supported ())
    g_thread_init (NULL);
    tabs = gtk_notebook_new();
    GtkWidget* vbox = gtk_vbox_new (FALSE, 0);
    gtk_box_pack_start (GTK_BOX (vbox), create_browser(), TRUE, TRUE, 0);
    gtk_box_pack_start (GTK_BOX (vbox), create_statusbar(), FALSE, FALSE, 0);
    gtk_notebook_append_page (GTK_NOTEBOOK (tabs), vbox, gtk_label_new ("TAB 1"));
    GtkWidget* vbox2 = gtk_vbox_new (FALSE, 0);
    gtk_box_pack_start (GTK_BOX (vbox2), gtk_label_new("tab 2 content"), TRUE, TRUE, 0);
    gtk_notebook_append_page (GTK_NOTEBOOK (tabs), vbox2, gtk_label_new ("TAB 2"));
    main_window = create_window ();
    gtk_container_add (GTK_CONTAINER (main_window), tabs);
    GError *error = NULL;
    GOptionContext* context = g_option_context_new ("- some stuff here maybe someday");
    g_option_context_add_main_entries (context, entries, NULL);
    g_option_context_add_group (context, gtk_get_option_group (TRUE));
    g_option_context_parse (context, &argc, &argv, &error);
    webkit_web_view_load_uri (web_view, uri);
    gtk_widget_grab_focus (GTK_WIDGET (web_view));
    gtk_widget_show_all (main_window);
    gtk_main ();
    return 0;

  • [SOLVED] Uzbl compared side by side with Firefox

    Hi I'm new to the forum and to Uzbl web browser.
    I compared side by side Firefox and Uzbl, and I've a problem: sometimes the same page looks bad in Uzbl, that's because text often overlaps or overruns other parts of the page.
    I noticed that Uzbl uses different fonts, and it seems to ignore that I installed ttf-liberation fonts...
    Moreover fonts seems a little bit more blurred than firefox.
    I really like this browser... is there a way to solve this problem?
    Thanks!
    Last edited by mt22 (2012-04-01 10:50:51)

    I am a web developer by trade and the way that browsers render is the bane of my existence. I don't know uzbl but see if it has the ability for user mods of the web page look a number of modern browsers do. If you look around there may also be a plugin for it for that browser. Browsers have default style sheets and if they don't allow the alteration you might be stuck, they pick the default fonts then you have the other problem in that web developers pick fonts normally by a css attribute called a font-family in that they put a list that the browser checks for fonts that it supports or has available. If the browser one doesn't support that font it goes down the developers list until one or none is found, if it finds one it uses it, if not it uses it's own default font. The other thing is maybe the developer didn't include any Linux friendly fonts. Liberation might no be in the list or the browser might not support the ones that are there. The point is that you may have to look around but accept you may not find a perfect solution. Web developers have been fighting that one from the beginning.
    Hope that helps at least ti understand what's going on.
    --jerry

  • [SOLVED] Uzbl weird characters

    When viewing some pages in uzbl, such as Youtube, I am getting a cryptic character instead of what is supposed to be there. IIRC it means that the character it is trying to load doesn't exist in the current character map, correct? How can I fix this? (Sorry if there is already a thread about this. I searched around and didn't find anything). I would also like to note that I don't have this problem in chromium or any other application.
    Thanks
    Last edited by itsbrad212 (2010-08-14 17:05:19)

    I installed ttf-dejavu and it seems to be fixed.
    Last edited by itsbrad212 (2010-08-14 17:05:58)

  • Making uzbl a little more emacsy

    Hi,
    I'm trying to change uzbl keybinding so they're more similar to Emacs.  I don't seem to be able to set a custom command to <Ctrl>a, though. It always "selects all".
    By default, the config file has
    # Readline-ish bindings.
    @ebind <Ctrl>w = event KEYCMD_STRIP_WORD
    @ebind <Ctrl>u = event SET_KEYCMD
    @ebind <Ctrl>a = event SET_CURSOR_POS 0
    @ebind <Ctrl>e = event SET_CURSOR_POS -1
    I've tried replacing '@ebind' with '@bind', but both <Ctrl>a and <Ctrl>e won't work when I'm inserting text in a text area, only when I'm typing in the command/status bar.
    A curious thing is that I'm using Emacs keybindings in GTK, so <Ctrl>a and <Ctrl>e work as I want in almost every GTK app, except uzbl.
    Any help is appreciated.

    Hi,
    I'm trying to change uzbl keybinding so they're more similar to Emacs.  I don't seem to be able to set a custom command to <Ctrl>a, though. It always "selects all".
    By default, the config file has
    # Readline-ish bindings.
    @ebind <Ctrl>w = event KEYCMD_STRIP_WORD
    @ebind <Ctrl>u = event SET_KEYCMD
    @ebind <Ctrl>a = event SET_CURSOR_POS 0
    @ebind <Ctrl>e = event SET_CURSOR_POS -1
    I've tried replacing '@ebind' with '@bind', but both <Ctrl>a and <Ctrl>e won't work when I'm inserting text in a text area, only when I'm typing in the command/status bar.
    A curious thing is that I'm using Emacs keybindings in GTK, so <Ctrl>a and <Ctrl>e work as I want in almost every GTK app, except uzbl.
    Any help is appreciated.

Maybe you are looking for