Search:

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

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. [SOLVED] Re: cannot print from Brother MFC 7860DW after upgrading to 18.04

    I don't have the same printer as you but I am running a Brother MFC 7820N. When I run the dpkg command I get the following:



    ii brmfc7820nlpr:i386 2.0.1-1 ...
  2. Replies
    6
    Views
    7

    Re: Resync to multi computer

    I have set up public/private keys locally to use ssh. I then use the following script to pull from my server onto either another desktop or laptop.



    #!/usr/bin/env bash

    function usagexit()...
  3. Re: How to relaunch a bash script with all of the same inputs

    Have you tried the following:



    $0 "$@"


    to relaunch?
  4. Replies
    1
    Views
    2

    [all variants] Re: How to make a generic makefile

    It's been a while since I wrote a makefile, but I always had a line where my objects (.o) depended upon my include files (.h):



    OBJS=a.o b.o
    INCS=c.h

    $(OBJS): $(INCS)
  5. [ubuntu] Re: How do I stop Ubuntu from automatically adding network printers?

    This should be controlled by the file cups-browsed.conf in /etc/cups. Change the line

    BrowseRemoteProtocols dnssd cups

    to be

    BrowseRemoteProtocols none
  6. Thread: struct

    by edadasiewicz
    Replies
    7
    Views
    8

    Re: struct

    The alignment of items within structures, classes, and unions is not defined, except that members are laid out in order of declaration. This is a direct quote from The Practice of Programming by...
  7. [ubuntu] Re: Epson Perfection V600 Photo scanner not detected with Vuescan

    Check out this link http://ask.xmodulo.com/change-usb-device-permission-linux.html

    I know that I have a similar file in /etc/udev/rules.d.
  8. [ubuntu] Re: Epson Perfection V600 Photo scanner not detected with Vuescan

    I created the script so that I could call it from vuescan.desktop in /usr/share/applications. If I try to start vuescan as root (via sudo) I get the same error as you indicated but vuescan still...
  9. [ubuntu] Re: Epson Perfection V600 Photo scanner not detected with Vuescan

    It only contains 3 lines:

    #!/bin/sh
    cd /opt/vuescan
    exec ./vuescan "$@"

    If I wrote it them I borrowed it from somewhere (I used to run Arch Linux) since I always start my scripts with
    ...
  10. [ubuntu] Re: Epson Perfection V600 Photo scanner not detected with Vuescan

    I have the same scanner/software running OK under 18.04. I do have the following packages installed libcanberra-gtk3-module and libcanberra-gtk-module. Also, I run vuescan as a normal user. The...
  11. [SOLVED] Re: scp from computer to Android phone

    I have both openssh-server and openssh-sftp-server installed on my desktop. With those 2 I am able to access the desktop (thru ssh and sftp) from other desktops, laptops, tablets and smartphones.
  12. [SOLVED] Re: scp from computer to Android phone

    I use Ghost Commander on both my Android tablet (rooted) and Pixel phone (non-rooted) with the sftp-plugin.
  13. Replies
    3
    Views
    4

    [SOLVED] Re: VIM trouble

    There are a number of files & directories under /usr/share/vim -- man vim shows even more.
  14. Replies
    5
    Views
    6

    [ubuntu] Re: sudo not found using terminal

    The sudo executable should have been installed in /usr/bin and /usr/bin should be in your PATH -- echo $PATH.
  15. [server] Re: Apache php7_module disappeared after upgrading from 16-LTS to 18-LTS

    I have php running ok on my server. There is a php7.2.conf and .load in mods-enabled. And the .load one points to /usr/lib/apache2/modules/libphp7.2.so. I have packages libapache2-mod-php and...
  16. Replies
    3
    Views
    4

    [ubuntu] Re: How to delete oldest folder

    Just add some double quotes:

    rm -R "$(ls -t1 | tail -n 1)"
  17. Replies
    8
    Views
    9

    [SOLVED] Re: Check return value of find

    You could capture the result of find in an environment variable and then test the variable. For example:

    files=$(find $Scripts_Backups -mindepth 1 -mtime +3 -print -delete)
    if [[ $files ]]; then...
  18. [SOLVED] Re: (Bash) How can I check if my script is already running in another instance?

    I would consider using a lock file. Check out the flock command which manages locks from shell scripts.
  19. [ubuntu] Re: Cannot paste account details into google online accounts setup pane

    I just tried on my Google account and had no problems hi-lighting and middle-clicking from a terminal window. Is it something with your password manager? I would try copy/paste from the password...
  20. Re: (Bash) What is the difference between using and not using "env"?

    The only time I have ever used env is in a shebang statement -- i.e. "#!/usr/bin/env bash" as the first statement of a bash shell script, "#!/usr/bin/env python3" as the first statement in a python3...
  21. Re: (Bash) What is the difference between using and not using "env"?

    From the "point of view" of myscript they will be the same. But the 2nd line will actually cause 2 processes to be executed since env is an executable which will get overlayed by myscript.
  22. [ubuntu] Re: Black background for title bar and dock when maximized

    Install the gnome-shell extension Dynamic panel transparency. I unchecked 'Transition when windows touch the panel' and set Transition Speed to 0ms.
  23. [ubuntu] Re: please how change purple boot colour to black?

    I also installed the other Plymouth themes from the repo and eventually settled on ubuntu-gnome-logo.plymouth. I have eliminated purple on my 3 machines. I don't necessarily dislike the color...
  24. [ubuntu] Re: please how change purple boot colour to black?

    I was able to change everything by following the instructions at the following links:

    http://ubuntuhandbook.org/index.php/2017/10/change-login-screen-background-ubuntu-17-10/
    ...
  25. [SOLVED] Re: golang read from file x bytes but also include '\n'

    I don't understand the meaning of reading the next 'x' bytes AND up to the next '\n'. In all of the go code I have written I was always reading up to the next '\n' by using the bufio package. For...
Results 1 to 25 of 30
Page 1 of 2 1 2