Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Trying to access gpsd from a script in cron

    Thank you for that suggestion.
    Unfortunately it did not work.

    I have things working by:
    - starting gpsd first when it is needed by my script and
    - having a "sleep 60" in the cronjob so that...
  2. Trying to access gpsd from a script in cron

    I have a GPS module running on a USB port.
    Once the server is running I can do sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock and then run my python script that uses gpsd to continuously read GPS...
  3. [SOLVED] Re: compiling with gcc and "undefined reference to xxx"

    Thank you MadCow108.
    I mess about for weeks and you solve the problem in 5 minutes.
    If you are ever passing through the Alps I owe you a huge beer.
    Thank you!
  4. [SOLVED] compiling with gcc and "undefined reference to xxx"

    I have run up against a wall. I really appreciate any and all help because I am so out of my depth.

    I have installed gcc on a NSLU2.
    Running gcc -o test test.c brings no error and afterwards I...
  5. Replies
    14
    Views
    1,136

    [all variants] Re: [SOLVED] User rights on a Samba share

    OK!
    Will do and get back to you with the results.
    Neill
  6. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    @Iowan

    I definitely agree with you about the "hard" way being the way where you learn the most.
    In future I will be able to set up my shares manually. :-)

    But it is not bad for Linux when...
  7. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    Thank you both of you.
    It is now as I wanted it.

    sudo apt-get install system-config-samba
    installed the program as Kemon said it would.
    I can use that to decide if a share is writable or not.
    ...
  8. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    Now I really need to get home and try that out.
    You mean I really didn't need to spend a year getting Samba to work? I could have just installed this application and done it all from there?
    Thank...
  9. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    Is it really that easy?
    Thank you so much.
    I am currently 600 kilometres away from my PC (PC in Germany and I am in Italy) but as soon as I get back I will try that.
    Wish I was going home tonight...
  10. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    Thank you for that.
    I really don't understand Samba but I will try both your ideas and get back to you to let you know if either work.
    Thanks again
    Neill
  11. Replies
    14
    Views
    1,136

    [all variants] Re: User rights on a Samba share

    Having spent an afternoon looking in to this, I am still non the wiser.
    Is it maybe something to do with the line
    directory mask = 0755
    in the conf file.

    This line suggests that the owner can...
  12. Replies
    14
    Views
    1,136

    [all variants] [SOLVED] User rights on a Samba share

    I have a samba share set up on my Kubuntu PC.
    It is working great. My son can see it from his XP PC.
    I set up a samba user with my son's login name and password.

    Here is the share out of my...
  13. Replies
    1,058
    Views
    1,801,064

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Firstly - a huge thank you.
    I changed to Linux a year ago and have never regretted it.
    But the problem of sharing files with other XP PCs in the house had driven me to distraction.
    With this...
  14. Replies
    0
    Views
    305

    [kubuntu] Shared Files and Printer

    I am sure that this is a "standard problem" but I can not find an easy answer.

    I have three PCs here at home. Mine runs Kubuntu while the two kids still use Windows XP (gamers).

    I have a...
  15. Re: I know that global variables are evil but ...

    Ok! Thanks for all the help. Now that I more or less understand what I am doing I will go away and solve the problem - probably with a global config object.
    Thanks!
  16. Re: I know that global variables are evil but ...

    Thank you all.

    To summarize -
    There are three ways I can deal with my config file.
    1. Use a singleton (still have not understood this fully).
    2. Use a global, either for the config file or the...
  17. Re: I know that global variables are evil but ...

    pmasiar wrote


    Thank you for that suggestion.
    Excuse me being a bit slow but would the object not then need to be global if I want to use the values in a variety of functions and classes?

    Or...
  18. Re: I know that global variables are evil but ...

    Thank you for the replies.
    I need to do a lot more reading about "Singletons".

    I understand from the above that reading a configuration file every time I need the serial port is not a problem but...
  19. I know that global variables are evil but ...

    As the title says "I know that global variables are evil and those who use them should be publicly humiliated but ...."

    I am writing a simple program with Python. It has a GUI made with Qt.

    The...
  20. Replies
    1
    Views
    1,559

    Re: Dialog with Qt any Python

    This thread is meant to be called "Dialog with Qt and Python" but there seems to be no way to change the name.

    I hope "the expert" stumbles over it anyway - because I am really getting no where...
  21. Replies
    1
    Views
    1,559

    Dialog with Qt any Python

    I have now been playing with Python for a few months. I have written a few very simple utilities where I use Qt for the GUI.


    Thanks to these forums and all the help I have received I have solved...
  22. Re: QFileDialog - remembering the directory (python)

    I don't know if it is elegant but it works :-)



    def _selectInputFile(self):
    # begin by getting the directory from last time
    # initial value in case the value can not be read from the...
  23. Re: QFileDialog - remembering the directory (python)

    Thank you happysmileman.

    I'll go and read the class reference again and try and really understand it this time.

    I thought there would be an easy way (easy for me that is - rather than easy for...
  24. [SOLVED] QFileDialog - remembering the directory (python)

    At the moment I use

    filename=QFileDialog.getOpenFileName("", "*.*", self, "Source File")
    if filename:
    self.lineEditInputFile.setText(filename)

    I would like to be able to remember the...
  25. Replies
    17
    Views
    724

    Re: [SOLVED] Saving data between sessions

    OK! Thank you for both tips. It is the friendly, informed, helpfull users that make Ubuntu/Python so much fun.
    T anks
    Neill
Results 1 to 25 of 68
Page 1 of 3 1 2 3