Search:

Type: Posts; User: engla; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.17 seconds.

  1. Thread: Wacom Bamboo Pen

    by engla
    Replies
    7
    Views
    1,002

    Re: Wacom Bamboo Pen

    Did you try to load the wacom driver manually?

    "sudo modprobe wacom"
  2. [SOLVED] Re: Alien Arena not starting after installed just now

    "Real" workaround (no dumb sudo tricks): Remove the symlink at ~/.config/alien-arena and put a folder in its place.


    rm -v ~/.config/alien-arena
    mkdir -p ~/.config/alien-arena
  3. Replies
    916
    Views
    171,575

    [all variants] Re: MacBookAir4,1 & MacBookAir4,2 (MBA 2011) support

    There's a comparatively simple Howto for Arch here: http://d.goodlad.net/articles/arch_linux_on_mba_42/ has anyone tried something similar for Ubuntu (use only GPT, install grub manually)?
  4. Replies
    916
    Views
    171,575

    [all variants] Re: MacBookAir4,1 & MacBookAir4,2 (MBA 2011) support

    I'm waiting for my Macbook Air 13" to arrive. Is it rude to ask for a summary of this thread?

    Things should be much better for linux on sandy bridge and macbook air-2011 now than it was half a...
  5. [ubuntu] Re: gnome-do can't fetch from gnome-dictionary... but kupfer can?

    hm, that didn't work.. (sorry)
  6. Replies
    3
    Views
    1,605

    [SOLVED] Re: VLC opens instead of Nautilus

    You can also change the program associations globally using Kupfer

    1. Select any folder in Kupfer's first pane
    2. Select 'Set Default Application...' (subject to translation in your locale) in...
  7. Replies
    18
    Views
    885

    [ubuntu] Re: switch running apps with hotkeys

    Ah, I guess you see now, that's the whole point with triggers. And why you must choose very inconvenient keyboard shortcuts for them (well) so that they don't collide with other applications.

    And...
  8. Replies
    18
    Views
    885

    [ubuntu] Re: switch running apps with hotkeys

    If you bind a trigger in Kupfer to the Launch action, for example Firefox → Launch, Kupfer will start the application if not running but focus it if already running. Pressing the trigger key...
  9. Replies
    13
    Views
    2,594

    [ubuntu] Re: gnome-do replacement

    It only says "python" in the system monitor. Show the Kupfer window while system monitor is running, then Kupfer will take its correct icon in the list. Then hover over each python process to check...
  10. Replies
    13
    Views
    3,018

    Re: Python retrieve a list of available modules

    Python has lots of awesome tools for modules and whatnot hidden away in the standard library. I discovered pkgutil -- that generalizes package listing and module loading for Python.

    I wanted to...
  11. Replies
    5
    Views
    376

    Re: Python running error

    If it's not Python 3 code, don't run it with Python 3!

    A bit OT, but if it really is Python 3, the correct way to catch an exception is like this:


    try:
    pass
    except UnicodeError as e:
    ...
  12. Replies
    10
    Views
    981

    [SOLVED] Re: Switch statement in Python?

    The goto statement you are seeking is called return. Write the code in a function and return early when the work is done early.
  13. Replies
    15
    Views
    1,118

    [gnome] Re: Gnome-Do, a pain in the a**

    hi! Did you try kupfer? I can help you debug it if you have problems. You should really try the lastest version from the PPA:

    https://launchpad.net/~kupfer-team/+archive/ppa
  14. Thread: Java and Python

    by engla
    Replies
    13
    Views
    1,046

    Re: Java and Python

    ...and this is just in from the PyPy status log.

    You know I think the PyPy JIT compiler generator is really one of the most exciting things you can follow on the web :-)

    But it's interesting...
  15. Thread: Java and Python

    by engla
    Replies
    13
    Views
    1,046

    Re: Java and Python

    Well, all is not lost. I forgot there is Psycho for Python on x86; this is mostly like a typical JIT compiler; it selects only the oft-used functions to compile, can compile different versions of the...
  16. Thread: Java and Python

    by engla
    Replies
    13
    Views
    1,046

    Re: Java and Python

    Python is not JIT compiled, it is only compiled to Python interpreter byte code. The only optimization is the peephole optimizer, optimizing smaller things on the Python level. Python does not do...
  17. Replies
    2
    Views
    1,336

    Re: How do I run terminal commands in VALA?

    Use GLib. GLib is your platform when using vala, and there is a convenient website (though not complete) to browse documentation here:

    GLib.Process.spawn_command_line_async
  18. Replies
    6
    Views
    602

    Re: Python and PyGTK questions

    It feels good to know that your program now uses a proper gtk event loop, and handles its threads correctly. Good luck with the program!
  19. Replies
    25
    Views
    1,327

    Re: simple desktop-changing script

    You got me there! Yeah I forgot the full path. Machen wir den Thread weiter komplett auf Deutsch? :-)
  20. Replies
    25
    Views
    1,327

    Re: simple desktop-changing script

    Just as an excercise, let's type this up a bit more Pythonic:



    #!/usr/bin/python

    import os
    import random

    backgrounds = os.listdir("/home/joshua/Desktop/ALL/downloaded_wallpaper/")
  21. Replies
    44
    Views
    2,835

    Re: What's the best text editor?

    I use vim. Before that, I used gedit; both can be used very successfully I guess; I am yet to find the bottom of vim -- constantly learning new stuff and configuring new smarts after what, two three...
  22. Re: Is it possible to to change the command with which a file type launches using bas

    Well you can use Python bindings for GLib to change this, just install a .desktop application description for the file, then run in python:


    python -c 'import gio;...
  23. Replies
    6
    Views
    602

    Re: Python and PyGTK questions

    You should pass timeout_add_second a function object to call later, not call the function and give it the return value:



    glib.timeout_add_seconds(120,checkMail)


    What does the checkMail...
  24. Replies
    6
    Views
    602

    Re: Python and PyGTK questions

    You should run gtk.main() in the main thread, not in a separate thread you started.

    All of your program's logic is going to happen "inside" the gtk.main() call; and you quit when you call...
  25. Re: Licencing question about linking to LGPL library with GPL changes from Debian

    Well this is difficult. All lies in how you distribute your software. If you distribute binaries compiled against Ubuntu's version of the library it may well be totally against the terms of the...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4