Announcement

Collapse
No announcement yet.

Pithy Nothingness

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pithy Nothingness

    From the "Almost, but not quite, entirely unlike totally useless" chapter of the Book of Trifling Stuff,

    I just added "\D{%I:%M} " before all the other escape (\[\...) sequences in my $PS1 in .bashrc.
    The result is my prompt now looks like:
    07:32 not@all:~$

    Now, since I have two clocks on screen plus another on the wall, why would I do that?
    Sometimes I run lengthy jobs - like backups or massive data transfers, for which I just turn the screen off and go do something else.
    When I come back, I wonder... how long did that take then?


    #2
    Couldn't you just run some sort of benchmark script or app to do it for you? Just asking.
    Multibooting: Kubuntu Jammy 22.04
    Before: Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
    Win / & 10 sadly
    Using Linux since June, 2008

    Comment


      #3
      I guess I could... but this way it's just... simple.
      I do:
      08:12 not@all:~$ copy 150GB of stuff to external USB disk.
      and go down to chop some wood. When I come back, it will say:
      08:44 not@all:~$
      So I know how long it took...

      I can always make a little alias to turn it on and off, but it's small and it doesn't really bother me.

      Last edited by Don B. Cilly; May 12, 2020, 11:34 AM.

      Comment


        #4
        From the "Feeling silly enough, darling?" chapter of the same Book:
        an interesting (er, well...) quote by Douglas D. Zaster (Major, S.A.S., retd.) :

        "I like dark themes. Thing is, Kate with a dark theme looks like camel dung in the Western Sahara in late autumn - which is definitely worse than, say. early spring.
        Some changes to the basic colours are definitely advisable"

        Click image for larger version

Name:	katedung.png
Views:	1
Size:	58.2 KB
ID:	644732 Click image for larger version

Name:	katecols.png
Views:	1
Size:	74.5 KB
ID:	644733

        Comment


          #5
          Originally posted by Don B. Cilly View Post
          I guess I could... but this way it's just... simple.
          Simple is good, but I would begrudge the space.

          I use zsh, and it remembers the run time in the history; -D adds the running time to history listings, for the odd occasion where I want to know.

          (To get cilly, I also get the shell to write to a log every command I run, with a timestamp and running time, to .1 ms precision, so I can tell you the send/receive backup of /home on the 1st of November 2018 took 98.0090 s.)

          Actually, it's not silly to recommend logging of the command line. Some people load the logged lines into a database, but a text log is nearly as good. I imagine there's high-powered shell/emulators that can do it. Sure, you can crank HISTSIZE up to a large number, but that makes using the line number to rerun commands tedious, and that's written when the shell exits, so that command that killed your system, or what you were doing when the power went off, is forgotten.
          Regards, John Little

          Comment


            #6
            From the "Mildly annoying trivialities in peripheral software" chapter of the same book.

            Neofetch displays an Ubuntu logo with Kubuntu. The config file says:
            # NOTE: Ubuntu has flavor variants.
            # Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.

            No mention of Kubuntu... :·/
            Still, if you tell it ascii_distro="Kubuntu"

            it does display:
            Code:
                 `.:/ossyyyysso/:
              .:oyyyyyyyyyyyyyyyyyyo:`           ------- 
            -oyyyyyyyodMMyyyyyyyysyyyyo-         OS: Ubuntu 20.04 LTS x86_64 
            -syyyyyyyyyydMMyoyyyydmMMyyyyys-       Kernel: 5.4.0-29-generic 
            oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo     Uptime: 1 hour, 58 mins 
            `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo`    Packages: 2363 (dpkg) 
            oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo    Shell: bash 5.0.16 
            -yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Resolution: 1920x1080 
            oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo   DE: Plasma 
            yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy   WM: KWin 
            yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy   Theme: Breeze Dark [Plasma], Breeze [GTK2/3] 
            oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] 
            -yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Terminal: konsole 
            oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo    CPU: Intel Celeron J1900 (4) @ 2.415GHz 
            `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo     GPU: NVIDIA GeForce GT 710 
            oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo      Memory: 1888MiB / 7925MiB 
            -syyyyyyyyydMMMysyyydMMMysyyyys-
            -oyyyyyyydMMyyyyyyysosyyyyo-                                 
              ./oyyyyyyyyyyyyyyyyyyo/.
                 `.:/oosyyyysso/:.`
            [EDIT] What it actually displays is:

            Click image for larger version

Name:	Screenshot_0515_125249.png
Views:	1
Size:	60.1 KB
ID:	644734

            But only oshunluvr can have colours here ;·) and anyway the code bit is "ovalised" :·)
            Last edited by Don B. Cilly; May 15, 2020, 05:00 AM.

            Comment


              #7
              Well, surprisingly mine does mention Kubuntu. :-)

              From the neofetch man pages:
              Code:
              […]
              --ascii_distro distro
                           Which Distro's ascii art to print
              […]
              NOTE: Ubuntu has flavor variants.
              NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
              Ubuntu-Studio, Ubuntu-Mate  or Ubuntu-Budgie to use the flavors.
              […]
              Code:
              kater@PC-Kubuntu2004:~$ apt search neofetch
              neofetch/focal,focal,now 7.0.0-1 all  [installiert]
              Shows Linux System Information with Distribution Logo
              Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
              Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

              get rid of Snap scriptreinstall Snap for release-upgrade scriptinstall traditional Firefox script

              Comment


                #8
                I have the same version.
                neofetch/focal,focal,now 7.0.0-1 all [installed]
                Shows Linux System Information with Distribution Logo


                They must have seen me coming at the repo and made a special edition just to annoy me... :·)
                ... oh I see. You are talking about the man page, I was quoting the config file...
                ~/.config/neofetch/config.conf

                Comment


                  #9
                  $ neofetch --ascii_distro Kubuntu
                  `.:/ossyyyysso/:. edwin@kurshesde
                  .yyyyyyyyyyyyyyyyyyo:` ---------------
                  -oyyyyyyyodMMyyyyyyyysyyyyo- OS: Ubuntu 20.04 LTS x86_64
                  -syyyyyyyyyydMMyoyyyydmMMyyyyys- Host: Sensitive data
                  oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo Kernel: 5.6.11-050611-generic (even if it might be sensitive data)
                  `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo` Uptime: 43 mins
                  oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo Packages: 2996 (dpkg)
                  -yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy- Shell: bash 5.0.16
                  oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo Resolution: Sensitive data
                  yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy DE: Plasma
                  yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy WM: KWin
                  oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo WM Theme: Breeze
                  -yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy- Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
                  oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo Icons: PlasmaXDark [Plasma], PlasmaXDark [GTK2/3]
                  `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo Terminal: konsole
                  oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo CPU: Sensitive data
                  -syyyyyyyyydMMMysyyydMMMysyyyys- GPU: Intel Core Processor
                  -oyyyyyyydMMyyyyyyysosyyyyo- Memory: Sensitive data
                  ./oyyyyyyyyyyyyyyyyyyo/.
                  `.:/oosyyyysso/:.`

                  Yeah... it still says Ubuntu...
                  Multibooting: Kubuntu Jammy 22.04
                  Before: Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                  Win / & 10 sadly
                  Using Linux since June, 2008

                  Comment


                    #10
                    Yes. That's a little more complicated. But, as stated there, the OS is Ubuntu, Kubuntu is the "flavour"...

                    Comment


                      #11
                      alias myneofetch='neofetch --stdout' FTW!
                      Kubuntu 20.04

                      Comment


                        #12
                        OK, I agree that is a win.

                        But, it doesn't even show Kubuntu in the logo, you almost expect Unity to jump up and bite your... ankle, at least with the blue K-logo it's somewhat reassuring ;·)
                        And, come on, those guys went to all that trouble with the ANSI and all... :·)

                        Comment


                          #13
                          The neofetch dev is pretty responsive. I guess if someone converts a KDE logo to ASCII art he may consider including it?
                          Kubuntu 20.04

                          Comment


                            #14
                            But the KDE logo is what I posted in #6.

                            If you neofetch from neon - which, even though it's practically identical to Kubuntu - except for some Plasma updates, is a distribution and not a "flavour"... :

                            Click image for larger version

Name:	neofkde.png
Views:	1
Size:	56.0 KB
ID:	644737

                            Which is the same logo.

                            Comment


                              #15
                              From the " Peripheral obsessions in conky-space" chapter:

                              The infamous Donald Brian Cilly, mainly known for clogging up nice forums with useless information, had this rather absurd fixation for "optimising" his conky every time the fancy struck him - and it did so pretty often.
                              Now, his main goal in doing so was to get the maximum amount of useful information in the least (reasonably) possible space.
                              So far, so good... but sometimes he got these wild manias...

                              He had a "disk space" section that looked like this:

                              Click image for larger version

Name:	hduneon.png
Views:	2
Size:	18.2 KB
ID:	644750

                              For some unfathomable reason, the /boot/efi entry annoyed the skittles out of him.
                              Maybe it was because it was plainly useless.
                              Maybe it was the fact that it was "the wrong size" and he didn't want to go and resize it, FAT32 partitions not being resisable and all...
                              Maybe he was just plain bonkers.

                              So what he did...

                              Click image for larger version

Name:	hduneon2.png
Views:	1
Size:	16.8 KB
ID:	644751

                              Which
                              a) doesn't look quite right, but
                              b) it does get the maximum amount of useful information in the least (reasonably) possible space. (it actually saves one line)

                              Comment

                              Working...
                              X