Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: du -hsc return me two different values

    The most likely reason that two identical directory trees would have a different size when reported by du is that the 2 filesystems on which they reside have a different block size.

    I confess to...
  2. Re: Python3 need help with TKinter scroll bar for program

    Currently you are using a label to display the text and labels are not normally scrollable. I would suggest using a text box instead. Here's an example...
  3. Thread: File Manager

    by spjackson
    Replies
    4
    Views
    5

    [SOLVED] Re: File Manager

    Thunar, the default File Manager on Xfce, supports this. If you drag the current url from url box in Firefox and drop it on a Thunar window, you get a dialog for creating a desktop configuration file...
  4. Replies
    4
    Views
    5

    [SOLVED] Re: imap server for mail archive

    I would say that Dovecot is the main candidate, followed by Courier and Cyrus. All of these are in the repositories.
  5. Replies
    7
    Views
    8

    [SOLVED] Re: pychess 20.04

    When I run it from the terminal, the only warning I get at startup is


    /usr/lib/python2.7/dist-packages/pychess/System/gstreamer.py:35: PyGIWarning: Gst was imported without specifying a version...
  6. Replies
    7
    Views
    8

    [SOLVED] Re: pychess 20.04

    Yes, I have a working pychess on 20.04 after doing:


    sudo apt install pychess
  7. Replies
    5
    Views
    6

    Re: Useradd -M creates home directory

    What you show is that the home directory field is set in /etc/passwd, not that the home directory is actually created. Is it created? It isn't for me. If what you are wanting is for the home...
  8. [SOLVED] Re: 7zip Utility Password issue Ubuntu 20.04

    Encryption of a 0 byte file is er... special. Nothing encrypts to nothing. If you repeat the test with a file whose size is greater than 0 you will need to enter the password to extract it.

    Note...
  9. [SOLVED] Re: Struggling with the "column" command, option -c

    Fair enough, so as I said earlier...

    e.g.


    column some_flags_here < some_file | expand | cut -c 1-100

    or use setterm.

    If you want column to truncate the lines without help from any other...
  10. [SOLVED] Re: Struggling with the "column" command, option -c

    I have never come across the column program. What is it supposed to do? It's unclear to me from the man page. There are many more commonly used tools that can be made to truncate lines, including awk...
  11. [gnome] Re: why the ubuntu 18.04 and 20.04 or later can't set a password for a compress arch

    The answer depends on which file manager you are using.

    I use Ubuntu Studio 20.04 (which is based on Xubuntu) so the default file manager is Thunar. With Thunar, you can right-click on (say) a...
  12. [SOLVED] Re: regex to match lines containing one or more characters

    There are 2 problems with that.
    1. & has meaning to the shell. An incomplete sed command is backgrounded then another command beginning with /g is attempted to be executed. You need to prevent the...
  13. [ubuntu] Re: Failed to install git-email Depends: git (< 1:2.17.0-.)

    It looks like it's trying to install an older version of git-email. Try


    sudo apt update

    then re-try the install.
  14. Re: Problem to communicate with serial port

    [Posted in error.]
  15. Re: Problem to communicate with serial port

    Welcome to the forums.

    I haven't done serial comms in Python, but I suspect you don't have read/write permission to the device. Typically, you would need to be in the group dialout. You could test...
  16. Re: [BASH scripting] wc command giving different output when executed by script

    TheFu's sensible and extensive advice notwithstanding, the reason your script is failing is because

    doesn't do what you think it does. It assigns ls to the variable numFiles then tries to execute...
  17. Thread: ftp-upload

    by spjackson
    Replies
    2
    Views
    3

    Re: ftp-upload

    I'm not sure what your server requires but it looks like sftp or scp might possibly be what you need to use.
  18. Replies
    2
    Views
    3

    Re: Problem with cron scheduling

    The format of the examples you have given look fine. Here are 2 thoughts.


    Perhaps you are editing the file directly rather than via 'crontab -e', in which case cron would not receive a signal...
  19. Replies
    4
    Views
    5

    Re: windows 10 necessary in Virtualbox?

    If your sole objective is to run Ubuntu inside Virtualbox as per your first sentence, then there is no need to install Windows in a separate Virtualbox VM. There can be reasons for choosing to do...
  20. Replies
    1
    Views
    2

    Re: cant use x11 from one account

    This ought to do it:


    AccountA$ chmod go=r ~/.Xauthority # Allow AccountB to copy this file
    AccountA$ su AccountB
    AccountB$ cp ~AccountA/.Xauthority ~
  21. [SOLVED] Re: Getting a simple AST working in Python

    For a program you need data structures and algorithm. You've made a start at some data structures but you are lacking an algorithm. Choose an algorithm...
  22. Replies
    2
    Views
    3

    [SOLVED] Re: git over ssh with non-default port

    Thanks. That's helpful so I can now do:


    $ git clone myalias:/path/to/repo.git

    but that still didn't work - same timeout error.

    It turns out that for this server, the URL must have a...
  23. Replies
    2
    Views
    3

    [SOLVED] git over ssh with non-default port

    We've recently changed hosting provider and are having trouble getting git working.

    ssh works with authorized_keys so:


    $ ssh user@myhost -p NNNNN

    works, giving me a shell (albeit a...
  24. Replies
    2
    Views
    3

    Re: pthread creation

    We would need to see some code in order to be able to determine why it is not doing what you expect. However, as I understand it, when a pthread exits, it does not raise any signal, nor does it when...
  25. [SOLVED] Re: Increased virtual disk size not seen by guest

    The reason the new size wasn't recognised appears to be because there was a snapshot of the VM. Removing the snapshot has solved the problem.
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4