Tag Info

Hot answers tagged

4

Have monit keep an eye on those daemons: Monit is a small utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. For example, apache is using too much resources. Monit can stop or restart apache and send you an alert message [...] The ...


3

The login1 interface provides the signal now. Here is the modified code: #!/usr/bin/python # slightly different code for handling suspend resume # using login1 interface signals # import dbus # for dbus communication (obviously) import gobject # main loop from dbus.mainloop.glib import DBusGMainLoop # integration into the main loop def ...


2

As can be seen in the QString documentation, QString is a mutable object.


2

If you are referring to the sys/msg.h header file specifically, then it should be provided by the libc6-dev development package First make sure that the package is installed, either via the Software Center application or from a terminal using sudo apt-get install libc6-dev after which you should be able to browse the header file at ...


2

As a possible solution I suggest removing ibus. It has been reported that is causing issues with gedit. To do that, run: sudo apt-get remove ibus Then reboot, to be sure, and check if the problem went away.


1

On Linux, lightblue internally uses the PyBluez library, which doesn't currently allow a socket to opened on a specific HCI device. PyBluez internally uses the Linux bluetooth sockets functionality, so it depends on whether that allows sockets to be created for a specific HCI device. My guess is that it doesn't, else this functionality would have been ...


1

import QtQuick 2.3 import QtQuick.Controls 1.2 Button { id: myButton text: text ? text : "default text" } This answer throws a warning for me. QML Button: Binding loop detected for property "text" Changing text to modelText instead throws an error. ReferenceError: modelText is not defined This stops the Javascript execution for me; i.e. the ...


1

I can't tell why it doesn't work for you without more information about your setup, but this is how I set it up and it works just fine (as far as I can tell, not knowing assembly). Download Tasm for Windows from sourceforge and install it with WINE. Then download and install dosbox for Windows (direct link). Now you should have two shortcuts on your ...


1

You can list the files in a given directory with QDir::entryList(). QDir has a number of other methods that may be useful for you as well.



Only top voted, non community-wiki answers of a minimum length are eligible