Recommended Posts

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

On 26/05/2023 at 11:58, Steven P. said:

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

Thanks. I think you are talking about CMD/PowerShell, not the (Windows) Terminal. The Terminal doesn't have such right-click menu, it has a "Settings", and by clicking on it, it goes to the Terminal setting page that has nothing about the feature.

ss.png.e46705d3d2f7ba07bfc4d57d1eba0a5b.png

On 26/05/2023 at 15:16, binaryzero said:

+1 Oh My Posh\Powerlines. 

Been using it for years...

Thanks. I'm not a power user of the command line. I use it for some CLI apps (like FFMPEG). I love this theme. Could you help me to make my Terminal prompt like the original SS above (from NeoWin)? I can add the clock by this command: prompt $T$H$H$H$S$P$. I know nothing more!

sss.png.11188c5a1413f2a5e83f2a305a600e3d.png

 

On 26/05/2023 at 16:16, DonC said:

On PowerShell you can define a "prompt" function to do that kind of thing but the OP is using the command shell.

EDIT: Just realised it was a Neowin screenshot and not OP's actual shell. Oh My Posh is good advice.

It's (Windows) Terminal. The SS is about Terminal version 1.17 (NeoWin blog post).

https://www.neowin.net/news/windows-terminal-preview-117-now-out-with-mica-support-and-process-restart/

On 26/05/2023 at 10:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

all the ones you see are from oh-my-post, there is even articles on MS's site on how to set it up

https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup

I now notice that it is CMD this is being used and not Powershell.

There is a way to modify the CMD prompt;

prompt | Microsoft Learn

Try this in cmd;

prompt $c$t$f$g$p$g

I didn't get it exactly the same as in your screen shot. Still trying to get the last piece.

Ok. Got it.

prompt $c$t$f$g$p$g$_%username%@%computername%$g

 

Edited by Spannercrank
On 26/05/2023 at 12:37, neo2023 said:

@Spannercrank Many thanks. Yours is closer to the Neowin SS. I think I have to ask the post author, but I don't know if he is here (in this forum)!

s.png.424d76fc7c18253225f6318cfca9d1ce.png

Try this one;

prompt $c$t$f$g$p$g$_%username%@%computername%$g

On 26/05/2023 at 07:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

I’m using Windows Terminal as well. 
 

https://starship.rs/

 

On 26/05/2023 at 13:30, Spannercrank said:

Working on it.

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

 

On 26/05/2023 at 21:17, Spannercrank said:

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

On 26/05/2023 at 21:17, Spannercrank said:

 

 

On 26/05/2023 at 18:54, neo2023 said:

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

 

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

On 26/05/2023 at 14:28, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

On 26/05/2023 at 21:58, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

On 26/05/2023 at 22:04, Spannercrank said:

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

On 26/05/2023 at 14:45, neo2023 said:

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

From the end of the prompt line remove up to and including the $_.

So you should have;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m

 

On 26/05/2023 at 20:07, neo2023 said:

@Spannercrank Thanks 👍🏻. My last question. I see the command text and background colour I type is changing to a new colour (Aqua text on Black Background). Should it be there, or can I change it to the default (Terminal's default colours)?

image.png.f4d7f416f6a4e3faaa588f50c3eb9238.png

For that you need to put the colour reset code on the end:

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$e[0m

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Kdenlive 26.04.2 by Razvan Serea Kdenlive is an acronym for KDE Non-Linear Video Editor. It works on GNU/Linux, Windows and BSD. Through the MLT framework, Kdenlive integrates many plugin effects for video and sound processing or creation. Furthermore Kdenlive brings a powerful titling tool, a DVD authoring (menus) solution, and can then be used as a complete studio for video creation. Kdenlive supports all of the formats supported by FFmpeg or libav (such as QuickTime, AVI, WMV, MPEG, and Flash Video, among others), and also supports 4:3 and 16:9 aspect ratios for both PAL, NTSC and various HD standards, including HDV and AVCHD. Video can also be exported to DV devices, or written to a DVD with chapters and a simple menu. Video editing features: Multi-track editing with a timeline and supports an unlimited number of video and audio tracks. A built-in title editor and tools to create, move, crop and delete video clips, audio clips, text clips and image clips. Ability to add custom effects and transitions. A wide range of effects and transitions. Audio signal processing capabilities include normalization, phase and pitch shifting, limiting, volume adjustment, reverb and equalization filters as well as others. Visual effects include options for masking, blue-screen, distortions, rotations, colour tools, blurring, obscuring and others. Configurable keyboard shortcuts and interface layouts. Rendering is done using a separate non-blocking process so it can be stopped, paused and restarted. Kdenlive also provides a script called the Kdenlive Builder Wizard (KBW) that compiles the latest developer version of the software and its main dependencies from source, to allow users to try to test new features and report problems on the bug tracker. Project files are stored in XML format. An archiving feature allows exporting a project among all assets into a single folder or compressed archive. Built-in audio mixer Kdenlive 26.04.2 changelog: Remove not needed actions from render info, fix rough size calculation for rendering. Fix clip sometimes not inserted in timeline when moving vertically in bin drag. Fix transcoding from clip properties. Cleanup render profile audio quality. Use percent based value for audio quality, and adjust the range accordingly per codec. Fixes bug #520750 Enforce even numbers for render width/height. Fixes bug #520737 Fix nightly flatpak - disable rnnoise until implemented. Fix missing initialization. Edit mediacapture.cpp. Fix document unnecessarily marked as modified on opening, triggering a backup request. Fix incorrect detection of missing and remote clips causing unwanted backups. Fixes issue #2194 Fix tests. Fix tmp files copied to wrong location when setting project folder. Fixes bug #467740 Fix color clips not selected on creation. Use QFileInfo instead of QUrl/QDir to try fixing Windows shared drives. Fixes bug #451413 Fix timeline preview incorrectly invalidated when a track with effect duration changed. Fixes bug #514541 Fix missing var. Display paths in native format in render widget. Fixes bug #520428 Simple splash: fix pressing return always triggered the same button. Minor update to simple splash. Fix unwanted clips added to timeline and cleanup. Fixes issue #2190 Minor layout improvements to welcome screen, add Quit and Open shortcuts. Fix broken welcome dialog layout in tiling compositors. (craft) Limit the number of CPU cores used during a Windows build with mingw as some .cpp files are memory intensive to build. (kde-ci) Limit the number of CPU cores used during a build as some .cpp files are memory intensive to build. (kde-ci) Cleanup old entries. Another fix for animation crash. Fix uninitialized function - crash on create animation. Another attempt to fix MacOS permissions. MacOS: fix bundle release version. Fix MacOS plist path. Fix MacOS build. Explicitely link against Qt::Core. Download: Kdenlive 26.04.2 | 128.0 MB (Open Source) Download: Standalone Executable View: Kdenlive Home page Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Here's how to watch the Xbox Games Showcase today and what to expect by Pulasthi Ariyasinghe The June games showcase week has been a packed one, with everything from major presentations like Sony and Summer Game Fest to indie-focused reveals coming in almost every day. Now, it's almost time for another big one, with Microsoft bringing its Xbox Games Showcase back later today. This is a double feature too, with a Gears of War E-Day deep dive also being attached to it. For anyone wanting to tune in online, the 2026 Xbox Games Showcase is kicking off at 10 AM PT | 1 PM ET | 6 PM BST | 7 PM CEST later today, June 7. The event will be available to watch on the official Xbox YouTube (4K 60FPS), Twitch, Facebook, Steam, Amazon Live, and other portals. Separate livestreams for American Sign Language and Audio Description will also be available. "This year marks 25 years of XBOX, and this Showcase is poised to be a true celebration, offering world premieres, new gameplay, fresh updates, and more for a swathe of projects we cannot wait to share," said Microsoft about this presentation. With a new CEO behind it that is pulling off some interesting moves, Xbox may have some surprises to reveal today. New looks at first-party games like Halo Campaign Evolved from Halo studios, Fable from Playground Games, InXile Entertainment's Clockwork Revolution, Mojang's Minecraft Dungeons II, and Call of Duty: Modern Warfare 4 from Infinity Ward are to be expected here. We may finally get to see the new Blade from Arcane Studios in action and a new Persona game from Atlus at the showcase too. Surprise announcements may also arrive from other Microsoft-owned studios like Bethesda, MachineGames, Ninja Theory, Obsidian, Rare, World's Edge, or Blizzard. Considering how every new release nowadays is staying away from November and December to avoid Grand Theft Auto VI's release, any launch dates Microsoft announces will probably skip those months as well. Once the Xbox Games Showcase ends, Microsoft will immediately kick off the Gears of War: E-Day Direct. This deep dive into the upcoming prequel from The Coalition should attach gameplay footage and perhaps a release window to the highly anticipated project.
    • People in the '50s and '60s had the same attitude, and we're still here over a half century later.
    • So after some fiddling I was able to get it to run at a pretty stable 30FPS. I'm slightly surprised about how much fiddling I had to do to get there though given what I thought was reasonable hardware: Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics Memory: 16 GiB of RAM Graphics Processor 1: AMD Radeon 780M Graphics Graphics Processor 2: AMD Radeon RX 7700S I think I could do it better if I use Linux rather than Windows, Windows RAM usage is stupid without stripping the system down. But once I got it working in a reasonable state, it was so awesome! I felt like a new Bond! If anyone has any advice to get things going a bit smoother FPS-wise, I'd appreciate it.
    • Something is rotten in the state of Denmark Australia
  • Recent Achievements

    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
    • Rising Star
      olavinto went up a rank
      Rising Star
    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      PsYcHoKiLLa
      256
    3. 3
      Steven P.
      74
    4. 4
      +Edouard
      70
    5. 5
      FloatingFatMan
      69
  • Tell a friend

    Love Neowin? Tell a friend!