Run AngryOxide on cyberdecks with small screens...

Run AngryOxide on cyberdecks with small screens...

If you run AngryOxide on a small screen/terminal windows and got the message "Too small window".. then this post, perhaps will solve your problem.

I got a Hackberry Pi which has a screen of 720x720 pixels and i prefer to use it, in terminal/tty only. I've got the desktop installed, but only for emergencies, like this one. You can't run AngryOxide, in the default terminal settings, cause it's too small. Also i changed my font size, cause the font is too small to read and i want to keep this size for everyday use. This means that i have to forget of using AngryOxide (AO) in the terminal/tty.

That's why we have to revert back to the Desktop. But even there to run AO is a pain in the ass. You have to launch a terminal application, change the settings to have a really small font size and arrange the position of it. Also we have a taskbar, that is in the way and reduces the size of the usable screen. Also i want all these to happen at once, in a command if possible... and it does.

The solution is to use startx to launch a terminal application, that will occupy the whole screen and run AO on its own. If you came just for the solution, here it is:

startx /usr/bin/xterm -geometry 118x54+0+0 -fg white -bg black -e "sudo angryoxide --interface wlan1 --

It's optimized for the screen of the Hackberry Pi, with the default settings of xterm. I used xterm cause it's lightweight, has no title/menu bars and it's perfect for what i was looking for. When you will execute the command, you wont notice that you are in an XWindows environment at all and you'll think that you are in the terminal. If you want to know a bit more and customize the command, lets explain it.

  • startx: it starts the XWindows environment. The key to the whole solution is the double dash -- at the end.
  • /usr/bin/xterm: of course is the terminal application we use. You can also use another one if you want.
  • -geometry 118x54+0+0: this parameter tells to xterm, to have 118 columns, 54 lines in size and place it self at position 0x0 (up left corner) on the screen. The size in pixels of the window, of xterm, depends on the font you use, so you may have to change these values, to find the right ones.
  • -fg white -bg black: changes the color of the foreground and background
  • -e "sudo angryoxide --interface wlan1: the -e paramater executes the command after it. Here we launch AO with the command line we want it to have. In this simple example we just specify the wifi interface
  • --: this double dash thingy... makes the difference. With out it, the whole command will not work. It tells to the XServer that before the double dashes is the command line for the program to run and after the dashes follow the paramaters for the XServer, which in this case there are none.

Run the command and you will have a working AngryOxide environment, in a small screen... for which you may need glasses to see... but the thing is that it works!

angryoxide-1024