LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-15-2021, 11:58 AM   #91
KDSR
Member
 
Registered: Jan 2021
Location: Tucson
Distribution: Slackware
Posts: 31

Rep: Reputation: Disabled
Learned to change my $bash prompt....


I found a 10 yr old thread that gave Ideas to make the $bash prompt more personal and colorful... here is normal user:
Code:
PS1="$GRN\u@\h $BLU\w $YEL\$ $NONE$NORM"
when I am root is changes to:
Code:
PS1="$RED\u@\h $BLU\w $CYAN\$ $NONE$NORM"
so this is my user prompt......
Code:
CFB@KDSR ~ $

Last edited by KDSR; 03-15-2021 at 01:26 PM.
 
1 members found this post helpful.
Old 03-16-2021, 09:03 AM   #92
cjspizz
LQ Newbie
 
Registered: Nov 2018
Location: Rock hurtling through space-time
Distribution: Linux Mint 20.3 "Una"
Posts: 21

Rep: Reputation: 2
Question

Quote:
Originally Posted by KDSR View Post
I found a 10 yr old thread that gave Ideas to make the $bash prompt more personal and colorful...
Would you please provide a link to the old thread?
 
Old 03-16-2021, 12:21 PM   #93
KDSR
Member
 
Registered: Jan 2021
Location: Tucson
Distribution: Slackware
Posts: 31

Rep: Reputation: Disabled
What does your $bash prompt look like?

My Pleasure....

https://www.linuxquestions.org/quest...k-like-115354/
 
2 members found this post helpful.
Old 03-18-2021, 01:05 PM   #94
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,153

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
this:
https://www.linuxquestions.org/quest...9/#post6231628
 
Old 03-22-2021, 08:21 AM   #95
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I've learned this week that I like Brave browser & can take a break from using Firefox with all the security extensions I've added.
 
Old 04-20-2021, 05:23 AM   #96
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,616
Blog Entries: 19

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
I learned yesterday that you can use LibreOffice Draw to edit PDFs.
 
2 members found this post helpful.
Old 04-20-2021, 06:09 AM   #97
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
instinctively I had removed the .wine directory after testing some Windows-program. It turns out that I do not continuously use such software, so there is occasionally like 1 thing to uninstall.

Now I discovered
Code:
desert@brazil:~$ wine uninstall
and got reminded that there was DotNet stuff waiting to be erased, too. I guess, removing the whole directory is the best option.

Last edited by Michael Uplawski; 04-20-2021 at 06:12 AM. Reason: conclusion.
 
Old 04-20-2021, 02:00 PM   #98
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
xprop and xdotool

I feel that I should have known both and that there were (once) people who relied on me knowing “such things”, while I didn't. I actually like to find out that I got away economizing brain space and can eventually play with these tools for fun
 
Old 04-20-2021, 04:08 PM   #99
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
This week I learned something about EFI. I don't need to auto mount the EFI partition in /etc/fstab to boot my machine. I added noauto to the /boot/efi stanza in /etc/fstab.

I do need to manually mount the EFI partition to upgrade the kernel and initrd on the EFI partition.

This reduces the errors on the EFI disk partition and the periodic need to run fsck on the EFI partition.
 
Old 04-20-2021, 07:30 PM   #100
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
If you use Docker

Code:
docker system prune -a
I was running out of space and I couldn't figure out why docker was using so much despite pruning and removing stuff. This cleaned up 40gb of old things.
 
1 members found this post helpful.
Old 04-21-2021, 12:06 AM   #101
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
I learned yesterday that you can use LibreOffice Draw to edit PDFs.
I tried this once and found it very complex and also somewhat unreliable...?

I just tried again, just removing 1 element from a multi-page PDF with graphics - it sent LO Draw spinning on all 4 cores for a full minute just opening the PDF.
The result is also different in other places (that I didn't edit at all) and much larger than the original, viewing the resulting PDF in qpdfview also maxed out resources for a full minute.

I then tried again with a simple browser printout, that worked flawlessly afaics.

I'm just glad I do not rely on PDF's as editable documents.
 
Old 04-21-2021, 11:52 AM   #102
asashnov
LQ Newbie
 
Registered: Feb 2016
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
Regular desktop Ubuntu journals can take 25 Gb of logs, because of repetitive

Quote:
Apr 19 02:38:28 corei5 org.gnome.Shell.desktop[3766]: #7 0x7ffe05141a50 b /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:219 (0x7f5179f27780 @ 225)
Apr 19 02:38:28 corei5 org.gnome.Shell.desktop[3766]: #10 0x55f5b35bade8 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (0x7f51ac0592b8 @ 441)
Apr 19 15:20:32 corei5 gnome-shell[3766]: [AppIndicatorSupport-WARN] Attempting to re-register :1.80/org/ayatana/NotificationItem/Upwork1; resetting instead
 
Old 04-22-2021, 12:48 AM   #103
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by asashnov View Post
Regular desktop Ubuntu journals can take 25 Gb of logs, because of repetitive
So, what did you learn from that situation?
 
Old 04-22-2021, 04:44 AM   #104
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,616
Blog Entries: 19

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
Quote:
Originally Posted by ondoho View Post
So, what did you learn from that situation?
With a sysvinit boot, the solution would be obvious: just edit syslog.conf to raise the threshold for messages to be logged. But can you do something similar for systemd?
 
Old 04-22-2021, 01:06 PM   #105
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
With a sysvinit boot, the solution would be obvious: just edit syslog.conf to raise the threshold for messages to be logged. But can you do something similar for systemd?
This has nothing to do with the topic at hand.

But to humour you:
Yes you can.
Code:
man journald.conf
search for "MaxLevel"

But then again: that would be bad advice to give - like saying "fix your car/fridge/whatever by cutting the electricity from the blinking emergency light".

Last edited by ondoho; 04-22-2021 at 01:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alright, it's Wednesday. What is something you have learned *new* about Linux within the past 7 days? KGIII General 120 06-15-2021 05:19 AM
What is something new that you have learned about Linux this week? KGIII General 19 05-26-2021 01:51 PM
How do I grep my /var/log/secure file for the past 7 days or so many days? johnmccarthy Linux - Newbie 5 01-04-2013 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration