help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating a manifest


From: Wojtek Kosior
Subject: Re: creating a manifest
Date: Mon, 27 Mar 2023 20:06:01 +0200

> and there are loads of messages:
> > gfp@Tuxedo ~$ guix shell -p ~/Projekte/Musik/guix-profil
> > gfp@Tuxedo ~ [env]$ mscore &
> > [1] 5761
> > gfp@Tuxedo ~ [env]$ ZoomBox::setLogicalZoom(): Formatting logical zoom 
> > level as 100% (rounded from 1.000000)
> > ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded 
> > from 1.000000)
> > qrc:/qml/palettes/PaletteTree.qml:772:5: QML Connections: Implicitly 
> > defined onFoo properties in Connections are deprecated. Use this syntax 
> > instead: function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > ScoreFont::draw: invalid sym 0  
> 
> I don’t know what to do with them.

It's quite common that GUI applications produce quite a lot of text
output when run from the command line. You can get rid of that text by
replacing lines like

    command-name &

with lines like

    command-name >/dev/null 2>/dev/null &

This redirects the *standard output* and *standard error output* of the
new process to your system's local black hole. Additionally, if you
don't want the processes started with "&" to be killed when you close
the terminal window, you can use the "disown" shell builtin after
spawning each process. So, in your terminal you could now write

    command-name >/dev/null 2>/dev/null &
    disown

You can also make it a bit shorter at the cost of adding a bit more
complexity. Feel free to ignore this option and its explanation if it
seems like too much of a black magic. So, you'd write in one line

    command-name >/dev/null 2>&1 & disown

The second occurrence of "/dev/null" got replaced with "&1" which is a
reference to already-assigned standard output destination. And the
newline before "disown" was removed because the shell already knows the
stuff after "&" is a separate command

Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Mon, 27 Mar 2023 11:52:20 +0000
Gottfried <gottfried@posteo.de> wrote:

> and there are loads of messages:
> > gfp@Tuxedo ~$ guix shell -p ~/Projekte/Musik/guix-profil
> > gfp@Tuxedo ~ [env]$ mscore &
> > [1] 5761
> > gfp@Tuxedo ~ [env]$ ZoomBox::setLogicalZoom(): Formatting logical zoom 
> > level as 100% (rounded from 1.000000)
> > ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded 
> > from 1.000000)
> > qrc:/qml/palettes/PaletteTree.qml:772:5: QML Connections: Implicitly 
> > defined onFoo properties in Connections are deprecated. Use this syntax 
> > instead: function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined 
> > onFoo properties in Connections are deprecated. Use this syntax instead: 
> > function onFoo(<arguments>) { ... }
> > ScoreFont::draw: invalid sym 0  
> 
> I don’t know what to do with them.

Attachment: pgpO7qfv8qquz.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]