Sunday, December 25, 2022

spacedesk and Duet Display

I found that I could install spacedesk, a well-known monitoring application, on my 4th generation iPad, which was sleeping at home, so I started using it as a second monitor for my mini PC. However, the 4th generation iPad, which is considerably slower than the latest models, in addition to the WIFI connection, causes a certain amount of display delay, and the mouse and other functions are too slow to be of practical use.
After some research, I found that Duet Display, which can be used to display a monitor using a lightning cable, can also be installed on a 4th generation iPad with iOS 10.3. This is a paid app, but I decided to purchase it this time because it seems to be useful in various situations.
When I actually tried it, I found it to be quite comfortable and almost as good as a regular monitor. The only problem is that the MINISFORUM UM350 is a mini PC and is small, so I sometimes want to use it by moving it around the room. It would be nice to be able to use it as a monitor in such cases, but Duet Display can only be connected after starting up the computer and logging in. spacedesk has an option to start without logging in 40 seconds after computer startup, so spacedesk can be used as a first monitor, but Duet Display only can't be logged in when computer starts up, so Duet Display can only be used as a second monitor. But since I only have one iPad (lol), I am pondering what combination to use.

Labels: , ,

Sunday, December 18, 2022

Reuse old iPad as a Monitor

I bought a mini-computer as my second home physical computer and have been playing around with it, but I still want two screens (lol). When I was mainly using a notebook computer, a dynabook N40, I naturally had two screens: a notebook monitor plus an external monitor (a TV, though). The mini PC is a desktop, even though it is a mini, so of course it does not come with a monitor. The MINISFORUM UM350 seems to support Display Port and Type-C output in addition to HDMI output, so it can output up to three screens simply by connecting it.
My current desk at home is not very spacious, so the Toshiba Regza I use as a monitor is also positioned so that it is somehow outside the desk with a gas pressure arm , so I was looking for something portable and space-saving to buy another monitor, but then I remembered I have an old iPad at home. The iPad I have at home is what is called a fourth generation , which was released in 2012. It is not so old from the point of view of a Linux user like me (:-o), but since iOS only supports up to 10.3, most of the apps no longer work on it (;~s). I had to use a technic to install once on a relatively newer model with my Apple ID and then put the older version of the app on my iPad. But even so, most of the apps stopped working except Safari.
I did not expect much from such a situation, but it turns out that spacedesk, a well-known monitoring app, runs on iOS 10.3 as well! So the 4th generation iPad has started its second life as a monitor (lol).

Labels: ,

Sunday, December 11, 2022

Urban Legend

When I was talking about Windows 11 and the terminal, I remembered a story from a Urban Legend board on a certain huge message board (it was 2, not 5 lol). There, it was said that the reason why you can't create a folder or file named PRN in Windows was because Bill Gates didn't like this word, or because it was the initials of someone who used to bully him (;-s).
I think anyone who was a Unix and MS-DOS user (Linux did not exist at that time) knows this, but I would like to write it down as a reminder because I think there are not so many engineers from that era anymore.
The following commands, which are commonly used in Unix (again, Linux did not exist yet in the MS-DOS era) scripts,

$ (various commands) > /dev/null
$ (various commands) > /dev/null

This means that the text information output by the command is not shown on the screen. The reason why you need to do is that sometimes the output of scripts became so huge, and you cannot see the critical message, you can omit the unnecessry output. Since MS-DOS mimics Unix a little bit (:-), you can use the same command in MS-DOS

C:\> (some commands) > NUL
C:\> (some commands) > NUL

The difference from Unix is that NUL is a reserved word, not a device.
Next, the following command on Unix,

$ tty
/dev/pts/0
$ echo "Hello World" > /dev/pts/0
$ tty
/dev/pts/0
$ echo "Hello World" > /dev/pts/0

The tty command outputs the name of the screen you are using (the name depending on your environment). The second command outputs text directly to the screen, which is what the second command means. If you have a Linux environment, try to open two terminals and write on each terminal name. It will be a simple chat (:-). Of course, since this is a standard OS device file, the contents of the /dev/pts/* file will not become "Hello World" (lol). The same function works if a printer is connected.
Similarly, in MS-DOS, the reserved word for the connected printer was PRN, so you can use

C:\> type autoexec.bat > PRN
C:\> type autoexec.bat > PRN

would print to the printer. Of course, this was only if there was a printer directly connected to the serial port of the PC. Incidentally, I remember that I used to run this command to check the contents of autoexec.bat, which was launched at the beginning of the OS, when my computer was acting strangely (:-).
I don't think anyone executes such commands nowadays, but I feel a long history in that NUL and PRN have been inherited by the current Windows as reserved words to maintain compatibility of such functions of MS-DOS (:-o).

Labels: , ,

Sunday, December 4, 2022

Windows11 Terminal

I bought a mini PC called MINISFORUM and became a Windows 11 user, and I noticed the existence of Windows Terminal, which is very useful. I used to use WinKey + r + app name or Wikey + r + cmd to use the command line. Maybe it's because I was originally an MS-DOS user (:-o). The days seem like a long time ago when MS-DOS would first start up and then I would type win to start up Windows before Windows 3.1 (:-). However, as for MicroSoft, it may be that they are still drawn to the compatibility with MS-DOS (:-s). I don't know the details of whether Windows Terminal was added only with Windows 11, or whether it existed before, but I guess Windows finally decided to get rid of the fossil-like cmd application.
However, the settings for using the terminal are in a strange place, so I feel that it is still undergoing a fearful change.
In Windows SettingsPrivacy and SecurityFor Developers, I found a setting for Terminal. It seems that if you set it here, you can use the terminal instead of the console (cmd).

Windows Terminal Settings

The good thing about the terminal is that you can use a number of windows in tabs, and above all, you can copy and paste by CTRL+c and CTRL+v after selecting a range as usual. Of course, the previously executed command can be selected with the up/down cursor keys (this may have been possible before). In the days when there was no terminal, many people used Teraterm to access Linux and other applications, but I think this is sufficient if you have a terminal (jsut personal opinion, lol). From now on, in Windows 11, you can use WinKey + r followed by

ssh [Cloud Computer Name]
ssh [Cloud Computer Name]

to connect to the Cloud Computer. That is wonderful , simple and rapid operation with the function of copy & paste!

Labels: , , ,

posted by Batasan Blog @ December 04, 2022   0 Comments

Sunday, November 27, 2022

Windows11 Right Click Menu

I recently purchased a mini PC, the most expensive one I've had for myself in a very long time, and before I knew it, I was a Windows 11 user (lol), and I've been using it with almost no problems. However, there are some differences, and the most troubling is the mouse Right-Click.
As I wrote in Keyboard Operations in Windows, I am a command line lover by nature (:-), so I try to use the keyboard without using the mouse as much as possible in Windows. Of course, I use the mouse if it is more convenient, so the typical example is Right-Click. Especially in Windows Explorer, Right Click + m (Rename) is very useful. This is not only for renaming a file, but also for copying and pasting a file name in a program or report, Right Click + m + CTLR+c is a specific combination.
It seems that this Explorer Right-Click menu has changed with Windows 11. It may be possible to make it the same as Windows 10 by changing some OS setting, but that is against my policy of using Windows as it is (as much as possible) (:-o), so I need to consider alternative methods.
For some reason, the keyboard operation SHIFT+F10, which is the original right-click menu by keyboard, seems to be the same as in Windows 10, so this is my first choice. However, the drawback is that SHIFT and F10 are a bit far from each other. As the second candidate, after right-clicking, for some reason F2 seems to be used to change the name, so I am considering which of these two candidates to make standard. I would like decide soon ,since my finger has already pressed Right Click + m + CTRL+c several times without my permission and struck out (:-o).

Labels: ,

posted by Batasan Blog @ November 27, 2022   0 Comments