Search results

  1. fixit7

    Script to empty trash

    This script empties the Trash of any file except .deb files? It is used in a crontab job to empty the trash every 15 minutes. Anyone know why? #!/bin/bash find /home/andy/.local/share/Trash/expunged/ -type f -exec rm {} \; find /home/andy/.local/share/Trash/files/ -type f -exec rm {} \; find...
  2. fixit7

    Send large file using yahoo mail

    I am using Ubuntu_Mate 1 I could not send a mp4 using yahoo mail because it took around 30 minutes. I reduced the size using ffmpeg. ffmpeg -i sm_Julia1.mpr -s hd480 -strict -2 output.mp4 But the file was still too big. Is there another option?
  3. fixit7

    Printer question

    I have a Canon TS 9120 printer. It has 2 black ink cartridges. Why does it have two black cartridges? I printed something and it was obvious the black cartridge(s) are empty. I would think one cartridge would empty first, then the other? Why is that? Do I need to replace both?
  4. fixit7

    Copy mp3s from computer to Android phone

    I want to copy music(mp3s) from my computer to Android phone. I can not find a directory on my phone to put them. I tried send them in an email to myself and it works, but with only one or 2 songs at a time. I have about 150 megabits of songs. Is there some other way? Thanks.
  5. fixit7

    Killall Gimp

    Despite my saving images in Gimp, it shows a dialog box(Do you wanna save...) whenever I exit the program. I consider that annoying at best, a bug at wor**. Would it be ok, to do the following ? killall gimp Is there any things bad that can happen? Thanks.
  6. fixit7

    Help with aplay

    I need some help with aplay This just plays static. aplay -c 3 -t wav -r 44100 -f cd Relax_6_Seconds.wav Playing raw data 'Relax_6_Seconds.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
  7. fixit7

    Return from suspend gurus?

    Are there any gurus who know a lot about running a command after a computer resumes from suspending?
  8. fixit7

    Bash help

    I would like to modify this so it notifies me when there is 5 minutes left before it suspends. echo "This script will suspend computer in 15 minutes if there is no mouse or keyboard activity." while :; do if (( $(xprintidle) >= 900000 )); then systemctl suspend fi sleep 0.5 done
  9. fixit7

    Determine if download is occuring

    I am trying to determine if a download is concurring in my download directory. This is not working. I also do not understand what lines #1 and #2 are doing. Thanks #!/bin/bash # Estimates file usage old=$(du -sh /home/andy/Downloads/) while true; do new=$(du -sh /home/andy/Downloads/)...
  10. fixit7

    Avatar gets "head" chopped off

    Every avatar I upload gets it's "head" chopped off. I even added extra room at the top. Any fix?
  11. fixit7

    Detect mouse movement in bash script

    Syntax error near unexpected token `(' I would like to create a bash script that can detect any mouse movement and then execute a command. detect_mouse_mvt.sh /home/andy/bin/detect_mouse_mvt.sh: line 4: syntax error near unexpected token `(' /home/andy/bin/detect_mouse_mvt.sh: line 4: `fh =...
  12. fixit7

    Print bookmarks.html with the formatting

    Is there a way to print my Firefox bookmarks without all the html formatting. For example, I would want just "http://resources.hewitt.com/centerpoint/" to be printed. <DT><A HREF="http://resources.hewitt.com/centerpoint/" ADD_DATE="1352487818"
  13. fixit7

    Open .odt file with cursor at end of document

    I have a long Tips document that I frequently edit. I would like it to open with the cursor already at the end of the document. I know you can do it manually with Ctrl End. I tried this, but it does not work? https://libreofficehelp.com/how-to-save-the-last-cursor-position-in-libreoffice-writer/
  14. fixit7

    Problems with Efax

    I can not get a successful fax using Efax-gtk. Looking at the red highlighted line, it looks like it was sucessful. Socket running on port 9900 efax-0.9a: 19:48:15 opened /dev/ttyACM0 efax-0.9a: 19:48:15 using CX93001-EIS_V0.2002-V92 in class 1 efax-0.9a: 19:48:16 dialing T1-855-330-1239...
  15. fixit7

    Ping no longer works

    This used to work. It pings my internet provider. ping 47.182.239.232 -c 1 PING 47.182.239.232 (47.182.239.232) 56(84) bytes of data. --- 47.182.239.232 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms UFW is turned off. I tried this as well followed by a...
  16. fixit7

    Read only file system

    When I used gimp to save a file to a SDXC UHS card in a slot in my printer, I got this message. Read only file system. I used chown to make me own with read/write permissions. drwxrwxrwx 1 andy andy 131072 Dec 31 1969 3563-3531
  17. fixit7

    Remove printer

    The MG2220 printer is no longer connected to my computer. Yet lpstat is still showing it. How can I get that removed? andy@7_~/Downloads$ lpstat -p printer Canon_TS9100_series is idle. enabled since Mon 11 Mar 2019 04:41:26 PM CDT printer HL-2240-series is idle. enabled since Tue 12 Mar...
  18. fixit7

    Turn on printer when computer starts

    I just installed a Canon Pixma TS 9120 printer. When I reboot or cold boot without manually shutting down my printer using it's power button, it gives an error. Is there a way to stop that behavior? I had no such problem with other printers.
  19. fixit7

    Can not get Canon Pixma TS 9120 to scan

    Most hardware I have added has been hassle free with Ubuntu. Not so with printers. I installed a Canon Pixma TS 9120 printer/scanner. It prints fine, but it will not scan. Xsane says "No devices available." However, sudo sane-find-scanner # No SCSI scanners found. If you expected...
  20. fixit7

    Site not secure

    I am using FF 65.0. It has an icon in the beginning of the address bar that shows this. I have also seen on other Linux sites. I know this site is safe, but am curious as to why FF does not think so.
Top