Search found 201 matches

by Trapster
Wed Jan 29, 2025 2:57 pm
Forum: Users
Topic: How To Make a Swap Partition Run On Start UP? (Solved)
Replies: 8
Views: 200

Re: How To Make a Swap Partition Run On Start UP?

I've always added the swapon command to /etc/rc.d/rc.local

by Trapster
Mon Jan 27, 2025 3:13 pm
Forum: BookwormPup
Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
Replies: 108
Views: 4242

Re: Mistakes in GUI backup, please fix (Pupsave Backup)

Looks advanced. Does it work in Bookworm?

I do not know. I don't use Bookworm. (32bit only here)

by Trapster
Mon Jan 27, 2025 2:20 pm
Forum: BookwormPup
Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
Replies: 108
Views: 4242

Re: Mistakes in GUI backup, please fix (Pupsave Backup)

.
.
Slacko-7 from years past had this little gem for backups, snap2.

Image

Image

Image

Image

by Trapster
Sun Jan 26, 2025 1:41 pm
Forum: BookwormPup
Topic: Mistakes in GUI backup, please fix (Pupsave Backup)
Replies: 108
Views: 4242

Re: Mistakes in GUI backup, please fix (Pupsave Backup)

@Governor

Out of curiosity, how many backups do you have (compressed and uncompressed)?

by Trapster
Thu Jan 23, 2025 2:59 am
Forum: Users
Topic: Directory compare & backup - suggestions?
Replies: 28
Views: 1745

Re: Directory compare & backup - suggestions?

See this link here:
viewtopic.php?t=9860

Especially the last post

viewtopic.php?p=102528#p102528

by Trapster
Thu Jan 23, 2025 1:45 am
Forum: Programming
Topic: Create Menu Entry for Application designed to Run in Console (Solved)
Replies: 11
Views: 578

Re: Create Menu Entry for Application designed to Run in Consol

For future ref to open script in lxterminal

Put your script in an exectable file, ie /usr/local/bin/random-passwords:

#!/bin/bash

for i in $(seq 1 10); do echo $(tr -dc 'A-Za-z0-9!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~' < /dev/urandom | head -c 16) ;done

Create another executable file in /usr/local ...
by Trapster
Thu Jan 23, 2025 12:58 am
Forum: Programming
Topic: Create Menu Entry for Application designed to Run in Console (Solved)
Replies: 11
Views: 578

Re: Create Menu Entry for Application designed to Run in Consol

Is urxvt in /usr/local/bin/defaultterminal? If so, can you change it to lxterminal?

another option (probably not the correct way):
rename urxvt to urxvt-orig and symkink lxterminal to urxvt.

by Trapster
Tue Jan 21, 2025 3:42 pm
Forum: Users
Topic: rtw88_8821c Unhandled Firmware Interrupts
Replies: 11
Views: 446

Re: rtw88_8821c Unhandled Firmware Interrupts

It seems that message is from the different levels of kernel logging

Try this.
Create a file /etc/sysctl.d/local.conf

inside /etc/sysctl.d/local.conf write:
kernel.printk=1

Reboot and see if it works.

by Trapster
Sat Jan 18, 2025 1:49 am
Forum: Beginners Help
Topic: BWPUP64 problems with disk mount locations sdx...
Replies: 10
Views: 401

Re: BWPUP64 problems with disk mount locations sdx...

Get rid of the $ signs in your grub.conf.

by Trapster
Mon Jan 13, 2025 2:37 pm
Forum: Beginners Help
Topic: How to ensure rclone sync before shut down?
Replies: 1
Views: 193

Re: How to ensure rclone sync before shut down?

I don't have rclone but if you're running it in a script, you can always add this to the end of the script:

Code: Select all

xmessage -center "sync is complete"
by Trapster
Thu Jan 09, 2025 3:09 pm
Forum: Beginners Help
Topic: How to copy list of file names to clipboard?
Replies: 12
Views: 578

Re: copying list of file names

If you want a list of filenames with the full path, open a terminal in the directory you want and use:

Code: Select all

find "$PWD" > /root/list.txt

You could also do:

Code: Select all

find /some/directory > /root/list.txt
by Trapster
Fri Jan 03, 2025 3:52 pm
Forum: BookwormPup
Topic: Problem copying a folder/subfolders to another drive
Replies: 34
Views: 1621

Re: Problem copying a folder/subfolders to another drive

Remember to quote your echo's

You could also send the results to a file. then have the file open.
find "$DIR" | sort | uniq -i --all-repeated=separate > /root/find_results.txt
geany /root/find_results.txt

#!/bin/bash

DIR="$1"
if [ ! -d "$DIR" ]; then
echo "Please provide a directory as first ...
by Trapster
Wed Jan 01, 2025 4:33 pm
Forum: Beginners Help
Topic: a beginners Q about the grep command & colours
Replies: 3
Views: 229

Re: a beginners Q about the grep command & colours

You can change the highlight color of grep by using an environment variable, GREP_COLOR, which you can set like this:

export GREP_COLOR="01;32"

where "01" means: bold and "32" green. The default is "01:31" (bold red). Other colors:

31:red
32:green
33:yellow
34:blue
35:purple

then using ...
by Trapster
Wed Dec 18, 2024 4:05 pm
Forum: Users
Topic: I need an idiots guide on how to use gFTP
Replies: 8
Views: 605

Re: I need an idiots guide on how to use gFTP

Are the firewalls on?
Try turning off the firewall to connect.

by Trapster
Sat Dec 14, 2024 2:40 pm
Forum: DebianDogs
Topic: Low volume. Alsa - Pre-Amp config
Replies: 8
Views: 668

Re: Low volume. Alsa - Pre-Amp config

This is my /etc/asound.conf:

# ***** Defaults *******************************************************

# Audio card/chip and device to use and control
# In most cases these settings should remain commented (#)
# When commented, card and device 0 are usually automatically selected
# When ...
by Trapster
Mon Dec 09, 2024 11:20 pm
Forum: Beginners Help
Topic: LibreOffice Writer refuses to open
Replies: 11
Views: 728

Re: LibreOffice Writer refuses to open

The 32bit 6 series portable from mikewalsh works well on my eeepc 1005ha with 1gb ram and 1 gb swap

viewtopic.php?t=5635

by Trapster
Sun Nov 24, 2024 12:48 pm
Forum: F96-CE
Topic: Synaptic not working (F96-CE is not setup to use it) do not try to install and use it
Replies: 5
Views: 710

Re: Synaptic not working

Apt can be used to clean itself

apt clean → cleans the packages and install script in /var/cache/apt/archives/

apt autoclean → cleans obsolete deb-packages, less than clean

apt autoremove → removes orphaned packages which are not longer needed from the system, but not purges them, use the --purge ...
by Trapster
Sat Nov 23, 2024 3:39 pm
Forum: EasyOS
Topic: Latest 32bit EasyOS?
Replies: 3
Views: 424

Latest 32bit EasyOS?

I have found an easy-4.3.5(Dunfell) for my old asus laptop but it seems outdated and updates do not work.
What and where is the latest 32bit EasyOS?

by Trapster
Tue Nov 19, 2024 4:30 pm
Forum: Network/Server
Topic: Change DNS Servers Easily - Update 241124
Replies: 24
Views: 3099

Re: Change DNS Servers Easily

Nice idea.
It might be handy to show the current nameservers when starting the script.

by Trapster
Fri Nov 15, 2024 3:04 pm
Forum: Network
Topic: Google DNS
Replies: 5
Views: 856

Re: Google DNS

Isn't that what /etc/resolv.conf.head and /etc/resolv.conf.tail is for?

by Trapster
Thu Nov 14, 2024 1:54 pm
Forum: Network/Server
Topic: Openvpn Can Connect Through Proton Vpn Servers
Replies: 37
Views: 3380

Re: Openvpn Can Connect Through Proton Vpn Servers

Quick and dirty, something like this will work.

Code: Select all

#!/bin/bash

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10- > /tmp/city.txt

xmessage -center -bg orange -fg black -file /tmp/city.txt
by Trapster
Thu Nov 14, 2024 12:53 pm
Forum: F96-CE
Topic: How to use Surfshark VPN w/ F96-CE r4?
Replies: 15
Views: 1258

Re: How to use Surfshark VPN w/ F96-CE r4?

I have used these guys in the past with good luck.
Router came pre-installed with DD-WRT and they will also set up a router with your vpn credentials for an extra fee.

https://www.flashrouters.com

by Trapster
Tue Nov 12, 2024 2:03 pm
Forum: Network/Server
Topic: Openvpn Can Connect Through Proton Vpn Servers
Replies: 37
Views: 3380

Re: Openvpn Can Connect Through Proton Vpn Servers

For those who like to know where the vpn is connected to(from) without using a browser,
use this in a console:

Code: Select all

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10-

I also use this in conky.

by Trapster
Sun Nov 10, 2024 3:19 pm
Forum: Scripts
Topic: cal and repetitive patterns
Replies: 14
Views: 1354

Re: cal and repetitive patterns

From ChatGPT:

#!/bin/bash

# Define start date for the schedule (yyyy-mm-dd format)
start_date="2024-11-10"

# Number of days to generate the schedule for
days_to_generate=30

# Loop through the days and create the schedule
current_date="$start_date"
for ((i=0; i<$days_to_generate; i++)); do ...
by Trapster
Mon Oct 14, 2024 2:23 pm
Forum: BookwormPup
Topic: ConnMan is not saving WIFI connection choice (BookwormPup64 10.0.8)
Replies: 3
Views: 329

Re: ConnMan is not saving WIFI connection choice (BookwormPup64 10.0.8)

Is autoconnect checked on WIFI 1 so it's still trying to connect to it on reboot?

by Trapster
Fri Sep 13, 2024 12:28 pm
Forum: Beginners Help
Topic: I installed VMWare Horizons .deb in F96-CE_4; where is it?
Replies: 5
Views: 482

Re: Where do i see installed APPs

The executables should have installed to /usr/bin
There are 5 of them that start with vmware-****.

The desktop file is /usr/share/applications/vmware-view.desktop and executes /usr/bin/vmware-view.
You can drag this file to your desktop.
If clicking on that file doesn't work, try vmware-view in a ...

Go to advanced search