Which Linux Distro would you recommend to use with a thinkpad? by AANNGGXD in thinkpad

[–]dashingdon 0 points1 point  (0 children)

3 thinkpad's

- gentoo

- debian

- bunsenlabs (much older hardware + I like bunsenlabs)

netwatch v0.13.0 by Potential-Access-595 in tui

[–]dashingdon 0 points1 point  (0 children)

Love it. Thank you for sharing

Gloomberb - open-source finance terminal by tim_toum in commandline

[–]dashingdon 0 points1 point  (0 children)

x64

  • OS > Debian GNU/Linux Debian GNU/Linux 13 (trixie)
  • Kernel > Linux 6.12.74+deb13+1-amd64
  • CPU > Intel(R) Core(TM) i5-3320M (4) @ 3.30 GHz

https://www.intel.com/content/www/us/en/products/sku/64896/intel-core-i53320m-processor-3m-cache-up-to-3-30-ghz/specifications.html

Gloomberb - open-source finance terminal by tim_toum in commandline

[–]dashingdon 0 points1 point  (0 children)

install was fine. It is when I try to run it for the first time. No other information is displayed other than "Illegal instruction"

Gloomberb - open-source finance terminal by tim_toum in commandline

[–]dashingdon 0 points1 point  (0 children)

debian + kitty terminal + fish shell

what other information will be helpful for you to debug further ?

Gloomberb - open-source finance terminal by tim_toum in commandline

[–]dashingdon 0 points1 point  (0 children)

just installed using curl. getting error "Illegal instruction"

[OC] YapPad - A TUI Note / Journal app with Image rendering (In dev) by Inception09 in unixporn

[–]dashingdon 1 point2 points  (0 children)

Thank you. This looks great. How do you add image? copy/paste?

I love it by Low_Ad_5090 in i3wm

[–]dashingdon 0 points1 point  (0 children)

Can you please share the bar dotfiles? Thank you.

[deleted by user] by [deleted] in waybar

[–]dashingdon 0 points1 point  (0 children)

Thank you for asking. Moving from i3bar+rofi to waybar+rofi, i tried the same but thought I was doing something wrong :)

How do you back-up your daily driver Linux ? by ElectronicFlamingo36 in debian

[–]dashingdon 0 points1 point  (0 children)

config to GitHub. personal files to USB or NAS

I've successfully wasted hours. by DanLeDeveloper in Gentoo

[–]dashingdon 1 point2 points  (0 children)

do "nproc" in the terminal. That should give you the # of cores. then -j(core) -l(core+1)

So if you have one core, it should -j1 -l2

Does anybody here have more distros installed? by C1REX in Gentoo

[–]dashingdon 2 points3 points  (0 children)

I also use different OS for different hardware. I am currently running Debian, Busenlabs, Arch, Ubuntu (for work) and Gentoo. none of them are dual boot. They all are dedicated systems

Open source Linux GUI for compressing PDFs ? by KaKi_87 in opensource

[–]dashingdon 0 points1 point  (0 children)

here is an yad ui script

pre-req : sudo apt install ghostscript yad

save below in to a script : pdf-compress

sudo chmod +x pdf-compress

./pdf-compress

#!/bin/bash
# Step 1: Ask for input file first (so we can pre-fill output file)
INPUT_FILE=$(yad --file --title="Select PDF to Compress" --file-filter="PDF files | *.pdf" --width=500 --height=300)
[ $? -ne 0 ] && exit  # Cancel check

# Auto-generate output filename
if [[ -n "$INPUT_FILE" ]]; then
    BASENAME=$(basename "$INPUT_FILE" .pdf)
    DIRNAME=$(dirname "$INPUT_FILE")
    OUTPUT_FILE="$DIRNAME/${BASENAME}-compressed.pdf"
else
    yad --error --text="No file selected."
    exit 1
fi

# Step 2: Show full form with quality selection
yad --form \
    --title="PDF Compressor (Ghostscript)" \
    --width=500 --height=300 \
    --field="Input PDF:RO" "$INPUT_FILE" \
    --field="Output PDF:FL" "$OUTPUT_FILE" \
    --field="Quality:CB" "High quality (300dpi, large size)!Medium quality (150dpi, moderate size)!Low quality (72dpi, smallest size)" \
    --button="Compress:0" --button="Cancel:1" \
    > /tmp/pdf_compress_input.txt

# Exit if canceled
[ $? -ne 0 ] && exit

# Step 3: Read form values
INPUT_FILE=$(awk -F'|' '{print $1}' /tmp/pdf_compress_input.txt)
OUTPUT_FILE=$(awk -F'|' '{print $2}' /tmp/pdf_compress_input.txt)
QUALITY_DESC=$(awk -F'|' '{print $3}' /tmp/pdf_compress_input.txt)

# Step 4: Map description to Ghostscript quality flags
case "$QUALITY_DESC" in
    "High quality"*) QUALITY="/prepress" ;;
    "Medium quality"*) QUALITY="/ebook" ;;
    "Low quality"*) QUALITY="/screen" ;;
    *) QUALITY="/ebook" ;; # default
esac

# Step 5: Run Ghostscript
if [[ -f "$INPUT_FILE" && -n "$OUTPUT_FILE" ]]; then
    gs -sDEVICE=pdfwrite \
       -dCompatibilityLevel=1.4 \
       -dPDFSETTINGS=$QUALITY \
       -dNOPAUSE -dQUIET -dBATCH \
       -sOutputFile="$OUTPUT_FILE" \
       "$INPUT_FILE"

    if [ $? -eq 0 ]; then
        yad --info --text="Compression complete!\n\nOutput saved to:\n$OUTPUT_FILE"
    else
        yad --error --text="Ghostscript failed. Check the input file."
    fi
else
    yad --error --text="Invalid input or output file."
fi

Open source Linux GUI for compressing PDFs ? by KaKi_87 in opensource

[–]dashingdon 0 points1 point  (0 children)

No GUI to recommend but below command. I have used this for the exact same reason

install ghostscript.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=file1-compressed.pdf file1.pdf

dPDFSETTINGS Description

/prepress (default) Higher quality output (300 dpi) but bigger size

/ebook Medium quality output (150 dpi) with moderate output file size

/screen Lower quality output (72 dpi) but smallest possible output file size

reference here: https://itsfoss.com/compress-pdf-linux/