Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    4

    [ubuntu] Re: I screwed up QT5

    The link you provide for the PPA indicates that the package installs everything in /opt. It says "Source /opt/qt512/bin/qt512-env.sh to set the correct environment."

    My take on that is that the...
  2. [SOLVED] Re: how to fix ' ModuleNotFoundError: No module named 'tkinter' ' error ?

    sudo apt install python3-tk
  3. Replies
    2
    Views
    3

    [ubuntu] Re: gVim menus disappeared

    As I understand it, there are 2 possible causes: menus are disabled in gVim settings or the window manager is "showing" the menu bar in some invisible place. For the first case, if you do:

    :set...
  4. [SOLVED] Re: Two users at the same time - one in background

    Instead of logging out, if you lock the screen, then a second user can login from the locked screen.
  5. Replies
    2
    Views
    3

    Re: rsync intermittent failures

    @TheFu Thanks for your reply. Yes it is ssh. Your suggestions are worth looking into - I will do this.
  6. Replies
    2
    Views
    3

    rsync intermittent failures

    As per this thread I am backing up a website using rsynch thus:

    rsync -avz --copy-links user@some-ftp.site.com: .
    Intermittently it fails with:


    receiving file list ... Write failed: Broken...
  7. Replies
    3
    Views
    4

    Re: Using bzip2 in a C program on Ubuntu

    gcc main.c -lbz2
    Some time ago, gcc was changed to require libraries to occur after the code that used them. Once upon a time it didn't matter.
  8. [xubuntu] Re: /snap/bin in PATH but directory does not exist

    You get /snap/bin in your path because of /etc/profile.d/apps-bin-path.sh which is provided by the snapd package. I believe that recent versions of all Ubuntu flavours, including Server (don't...
  9. Replies
    7
    Views
    8

    [ubuntu] Re: Problem with makefile error cs0009

    You need a programmer with expertise in mono and mcs and possibly Steam. While it may be possible that someone here can help you, I'm not sure that "New to Ubuntu" is the best forum in which to find...
  10. Thread: Qt5-sdk

    by spjackson
    Replies
    1
    Views
    2

    Re: Qt5-sdk

    I'm not sure which version of Ubuntu you are on. For 18.04 the following should be sufficient. The same list may also work with 19.


    sudo apt install build-essential qttools5-dev-tools qt5-qmake...
  11. Replies
    11
    Views
    12

    Re: python variable type

    Yes. This is an aspect of dynamic typing. If you want to declare a variable of a particular type and to ensure that only values of that type can be assigned to it, then you need a statically typed...
  12. [SOLVED] Re: pydf - adding strange characters to redirected output

    Those characters are part of escape sequences to change the colour of text in the terminal. These escape sequences are not interpreted by the printer. Use the following to disable colour switching.
    ...
  13. Replies
    2
    Views
    3

    [SOLVED] Re: Damaged .WAV file

    Thank you so much. Why didn't I notice that? That's worked.
  14. Replies
    2
    Views
    3

    [SOLVED] Damaged .WAV file

    I have a portable Digital Voice Recorder which records audio and saves in .WAV format. This normally works fine but on the odd occasion the .WAV file is damaged in some way. At present I have such a...
  15. [SOLVED] Re: How with grep command exclude search in dubdirectory ?

    grep -Hrn 'backend' --include="*.vue" /mnt/_work_sdb8/wwwroot/lar/hostels2/resources/js/components/BS4 | grep -v /admin/
  16. Re: preserve permissions while zip folders

    Welcome to the forums.

    The zip and unzip commands in the zip package are from Info-Zip and these normally preserve permissions where possible. An alternative would be to use a compressed tar, if...
  17. Replies
    6
    Views
    7

    Re: Make mv not move directories

    This is a very interesting question.


    * matches 'Corbeil'
    [A-Z] matches 'l' (for many collations)
    ? matches 'e'


    *[A-Z]? would not match bbbbab because 'a' is outside the range A-Z...
  18. Thread: script

    by spjackson
    Replies
    12
    Views
    13

    Re: script

    In your original post, you had backslash characters (e.g. \Polar=) but in this example where it does not work, you have pipe characters (e.g. |Polar=). Therefore you would need to change the...
  19. Thread: script

    by spjackson
    Replies
    12
    Views
    13

    Re: script

    Assuming your text is in a file data.txt then something like the following should get the values you are looking for.


    tr -d '\n' < data.txt | sed 's/\\/\n\\/g' | fgrep '\Polar=' | sed...
  20. [SOLVED] Re: ls command with digital format of access

    Not with ls, but stat may help, e.g.
    stat --printf="%a\t%n\n" *
  21. Replies
    11
    Views
    12

    Re: File header size in Bytes

    As has been said, unlike .bmp files, many file formats do not specify any "header" data.

    All of the major current LibreOffice native formats are zip archives (.odt, .ods etc.). All of the major...
  22. Re: How to copy one file to multiple sibling folders using the terminal?

    for dir in b c d e ; do cp a/1.txt "$dir" ; done
  23. Re: GLIB in C programming: No such file or directory

    I am pretty sure that there isn't a straight forward way to force gcc to pick up extra include paths and extra libraries without you specifying them on the command line. In practice, a Makefile or...
  24. Re: GLIB in C programming: No such file or directory

    You need to tell the compiler where to find the necessary from your newly added package.

    gcc -O2 $(pkg-config --cflags glib-2.0 json-glib-1.0) -o test test.c $(pkg-config --libs glib-2.0...
  25. [SOLVED] Re: $PATH reports: No such file or directory

    man 5 environment says "The file must consist of simple NAME=VALUE pairs on separate lines." I don't think you can have the spaces before and after the =, just as with variable assignment in the...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4