Wikipedia:Reference desk/Archives/Computing/2020 May 11
Computing desk | ||
---|---|---|
< May 10 | << Apr | May | Jun >> | May 12 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
May 11
editOpen program directly on a specific workspace
editI would like to open program directly on a specific workspace without:
- without to leave the current workspace, on which I p.e. watch a movie
For getting informations, i checked p.e.: wmctrl -h http://manpages.ubuntu.com/manpages/focal/en/man1/wmctrl.1.html
So I have found two ways, to open a programm on specific workspaces, a not exactly on the directly way which I am looking for (without to break whatching my film or what ever, on workspace 0: On this sample, I am on worksapace 0, switch to workspace 4, open the xed and stay on workspace 0.
Code: wmctrl -s 4 ; xed;
On this sample, I am on worksapace 0, switch to workspace 4, open the xed editor, wait 2 seconds and switch bac to workspace 0.
Code: wmctrl -s 4 ; xed & sleep 2; wmctrl -s 0;
The follow speed up it a little bit:
Code: wmctrl -s 4 && xed && sleep 0.5 && wmctrl -s 0;
THX — Preceding unsigned comment added by 92.208.240.96 (talk) 12:25, 11 May 2020 (UTC)
- So... are you in GNOME or what? Desktop environment matters. You implicitly told us you're on Ubuntu, but not the release version. Elizium23 (talk) 00:30, 14 May 2020 (UTC)
- Okay so it appears you are on Focal 20.04.
- Have you considered using
xed && wmctrl -r xed -t DESK
to send it to a different desktop? I believe that will not need to switch to it. The window will briefly appear in front of you, and I do not know if that is acceptable. Elizium23 (talk) 00:42, 14 May 2020 (UTC)
A strange email message.
editI have a low security email address which I give to people or organizations when I don't care about security. Occasionally I get "coded messages?" that look like this. ?UTF-32?B?YQAAAHQAAABlAAAA?==? This example is a fraction thereof. The real message is much longer.
I usually delete them but today I decided to investigate. When I opened the email I saw regular Quicken advertisement. What is that?
Thanks, AboutFace 22 (talk) 19:14, 11 May 2020 (UTC)
- @AboutFace 22: It's a part of the message, possibly its title, probably containing some non-ASCII characters like emoji, encoded in ASCII with UTF-32. --CiaPan (talk) 20:15, 11 May 2020 (UTC)
- of all the numerous binary-to-text encoding schemes, this looks most like BASE64 (indicated by the B between the question marks) using the Encoded-word syntax, but I don't know why it's displayed as-is instead of decoded and then displayed, nor as to the... sociology behind this (i.e. whether it's malicious or not. I'd say not and that it's people's or their organization's email server's software being misconfigured.) If you're really curious, there are free online BASE64 decoders if you google (copy everything after the 3rd "?" and select UTF-32 and BASE64.) Aecho6Ee (talk) 01:08, 12 May 2020 (UTC)
- Decoding the portion between the 3rd and 4th "?" using the scheme given in BASE64 results in three 32-bit strings
- of all the numerous binary-to-text encoding schemes, this looks most like BASE64 (indicated by the B between the question marks) using the Encoded-word syntax, but I don't know why it's displayed as-is instead of decoded and then displayed, nor as to the... sociology behind this (i.e. whether it's malicious or not. I'd say not and that it's people's or their organization's email server's software being misconfigured.) If you're really curious, there are free online BASE64 decoders if you google (copy everything after the 3rd "?" and select UTF-32 and BASE64.) Aecho6Ee (talk) 01:08, 12 May 2020 (UTC)
01100001000000000000000000000000 01110100000000000000000000000000 01100101000000000000000000000000
- Interpreted as binary representations of UTF-32 codes, this doesn't make sense. Reverting them does not help either. Dividing each 32-bit string into four 8-bit strings and converting to decimal gives us
97 0 0 0 116 0 0 0 101 0 0 0
- The three non-null values correspond to the ASCII values of the three characters ate, which might be part of a larger, meaningful message. --Lambiam 10:46, 13 May 2020 (UTC)
- This is little endian encoding (UTF-32LE). 93.142.75.127 (talk) 20:46, 14 May 2020 (UTC)
- The three non-null values correspond to the ASCII values of the three characters ate, which might be part of a larger, meaningful message. --Lambiam 10:46, 13 May 2020 (UTC)