Puppy Linux Security Questions!

For discussions about security.
geo_c
Posts: 2876
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2197 times
Been thanked: 871 times

Re: Puppy Linux Security Questions!

Post by geo_c »

geo_c wrote: Sun Sep 01, 2024 6:47 pm

Got it, now I think we are hijacking this thread and should start another somewhere else in the forum.
BUT
before we go, @Governor here is a formatted full path prompt,

After using this a lot now, I notice it's best to start with your terminal very wide or maximized, as long commands will cause the display to wrap a line on itself. With the terminal wide enough it doesn't seem to be an issue.

Last edited by geo_c on Mon Sep 02, 2024 10:58 pm, edited 1 time in total.

geo_c
Old School Hipster, and Such

williwaw
Posts: 1921
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 360 times

Re: Puppy Linux Security Questions!

Post by williwaw »

a simple weather symbol in each prompt
https://github.com/jdotjdot/BashWeather ... me-ov-file

or if you want a more complete forecast....
https://askubuntu.com/questions/1305029 ... inal-opens

with something like
https://wttr.in/seattle
in the script

User avatar
Governor
Posts: 871
Joined: Sat Nov 12, 2022 7:11 pm
Location: https://www.heritage.org/voterfraud/
Has thanked: 219 times
Been thanked: 44 times

Re: Puppy Linux Security Questions!

Post by Governor »

geo_c wrote: Sun Sep 01, 2024 9:52 am
williwaw wrote: Sun Sep 01, 2024 6:12 am

i saw one once that returned the weather forecast, and another that lit up when it was lunchtime

I'll play around with that full path prompt. edit It's returning 0 for some reason.

@Governor here's a simple one I settled on last night, also you can always type pwd at the prompt and get the full path in about 1 second:

Code: Select all

PS1="\e[31m[\u]\e[32m\W/\e[32m\e[33m$:\e[0m"

Image

Using Fossapup64_9.5

So far I got this.
PS1='\[\e[93;104;1m\]\w\[\e[0m\]>'

I have the following problems with it.
It shows a weird path to the directory, one which I do not recognize and can't use.

I want this: /mnt/sdc1/Documents
It shows this: /c-drive-NTFS/c-drive-NTFS-1/Documents

How do I get my usual path?
How do I get the entire screen to be blue, and all text on the screen to be bold yellow (including all that is typed or echoed to the screen)?
Thanks!

"I awoke only to find that the rest of the world was still asleep.”
Leonardo Da Vinci

williwaw
Posts: 1921
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 360 times

Re: Puppy Linux Security Questions!

Post by williwaw »

I right click in the terminal emulator window to set background and font configs

geo_c
Posts: 2876
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2197 times
Been thanked: 871 times

Re: Puppy Linux Security Questions!

Post by geo_c »

Governor wrote: Wed Sep 04, 2024 8:01 am

So far I got this.
PS1='\[\e[93;104;1m\]\w\[\e[0m\]>'

I want this: /mnt/sdc1/Documents
It shows this: /c-drive-NTFS/c-drive-NTFS-1/Documents

It seems to work the way you want it on Uxterm in KLV-Airedale.
Image

Governor wrote: Wed Sep 04, 2024 8:01 am

How do I get the entire screen to be blue, and all text on the screen to be bold yellow (including all that is typed or echoed to the screen)?

That would be using either .Xresources or .Xdefaults. In Fossapup there is a uxrvt terminal gui that will write you a new config. It's in the menu. I think it's called uxrvt control or something like that.

geo_c
Old School Hipster, and Such

User avatar
Governor
Posts: 871
Joined: Sat Nov 12, 2022 7:11 pm
Location: https://www.heritage.org/voterfraud/
Has thanked: 219 times
Been thanked: 44 times

Re: Puppy Linux Security Questions!

Post by Governor »

williwaw wrote: Wed Sep 04, 2024 5:18 pm

I right click in the terminal emulator window to set background and font configs

Unfortunately, that isn't working in my fossapup64_9.5.

"I awoke only to find that the rest of the world was still asleep.”
Leonardo Da Vinci

geo_c
Posts: 2876
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2197 times
Been thanked: 871 times

Re: Puppy Linux Security Questions!

Post by geo_c »

Governor wrote: Thu Sep 05, 2024 7:10 am
williwaw wrote: Wed Sep 04, 2024 5:18 pm

I right click in the terminal emulator window to set background and font configs

Unfortunately, that isn't working in my fossapup64_9.5.

I haven't used fossapup 9.5 in a good while, but I just discovered a few days ago that using xterminals, like xterm, uxterm, and uxrvt, if you hold the control key and right click or left click on the terminal space, you get two sets of options. I was stunned, I never knew that existed. If you don't want to choose one of those options, it seems you need to release the mouse button over some neutral space like that title area of the option box. But it works, and there are several options there.

This option seems to be present in most of my OSs with a standard xterm.

geo_c
Old School Hipster, and Such

williwaw
Posts: 1921
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 360 times

Re: Puppy Linux Security Questions!

Post by williwaw »

geo_c wrote: Thu Sep 05, 2024 1:55 pm

I haven't used fossapup 9.5 in a good while,

me either, I guess I was mistaken about which terminal was shipped with fossapup. perhaps if GoV could tell us which terminal program he is asking about.

Post Reply

Return to “Security”