Presuming you are logged in as the same user that's running the X display, this is fairly easy. First you need to know the display identifier; if there is only one running instance, it is probably :0. To check, use who. You'll see output including stuff like this:
goldilocks pts/5 2015-02-16 07:18 (:1)
goldilocks pts/6 2015-02-16 07:18 (...
You could could run the filesystem on a USB drive, and then you only need a 16MB (yes MB) SD card:
But for a distro all on a 1GB SD card, take a look at MINIBIAN:
Found myself in the same situation just now. Took quite some time to figure out (taking into account that I had neither a USB keyboard nor a Linux computer around this was a long quest).
The reason for this problem appearing seemingly out of the blue is fsck - the automated file system check, which runs on startup.
During this check fsck may discover that ...
Method 1: Blank the screen without turning the power off to the HDMI port.
You might need to set the screen's default state to blank (I didn't):
xset -display :0 s blank
Turn the monitor to it's default state (black hopefully):
xset -display :0 dpms force off
Turn the monitor back on by hitting a key, moving the mouse, or using this command:
This is not a direct answer to your problem, but it is a suggestion based on the context.
I am trying to setup a "kiosk mode" box. I have successfully done this with midori, but midori does not support html5.
Chromium (a fork of chrome) is available for the pi, supports HTML 5, and although it is undocumented, has a --kiosk mode. I tested this on the ...
It doesn't look like there's a way to do it directly, but the xte tool can be used to simulate a key press.
sleep 2s # give it time to start
echo key F11 | xte # simulate pressing the full screen key
The following will remove the architecture you just added:
sudo dpkg --remove-architecture i386
However, there's something important to note here. The i386 architecture generally refers to 32-bit processors based on the IA-32 architecture. i386 is compatible with the vast majority of desktops and laptops, but not your Pi. The Pi uses an ARM processor which ...
Pipe the output of the command to less:
cmd arg0 arg1 | less
In less, you can scroll up and down intuitively with the arrow keys. Use the Q key (for Quit) to exit less and return to your prompt.
You can use TinyCoreLinux. At the moment of writing this one was the latest one with just command line and SSH, having a little more then 18MB zipped. Versions having X in it's name are with GUI. And yes, there are QEMU (virtual machine) images to try too. There are many packages ready to be installed, and you can also make your own or install from source.
With Raspbmc, exit XBMC from the shutdown menu (choose exit, not shutdown). At the blue screen press Esc and you will be greeted with a login prompt. The default username is "pi", the default password is "raspberry". I believe you can also press Esc during boot to access the console. Alternatively you could log in via SSH.
This will not work on OpenELEC.
The default bash prompt is set in a system wide file; for a complete explanation of how bash sources its configuration see INVOCATION near the top of man bash. In short, that system wide file is sourced by ~/.bashrc; it is pretty obvious.
# Source global definitions
if [ -f /etc/bashrc ]; then
Evidentally, what's deciding about ...
0x5344 from the oemid means SD as in SanDisk. Type is probably not easy; I guess it is their internal name.
Read more at
For the sake of providing an answer specific to raspbian.
The background is set via /etc/alternatives/desktop-background so the background can be changed through two different ways:
sudo update-alternatives --config desktop-background and you will get a list to choose from. Those are background provided by packages.
manually overwrite the /etc/alternatives/...
If you're using Raspbian (The default Raspberry Pi OS), then you can use this:
sudo dpkg-reconfigure console-setup
Follow the steps, select "Let the system select a suitable font" and then select the font size you want.
Once you've gone through the setup tool, run sudo reboot
Hope this works :) (I usually use Arch Linux on my Pi, so this might not be the ...
I read Walter's answer here and researched more and found:
https://kb.iu.edu/d/acpy which indicated:
TERM=ansi; export TERM does the job, you can add it to your .bashrc
However, I still have grey for black so I looked a bit more and found this:
Leading to ...
The console uses bitmapped (.psf) fonts, while X can use vector fonts such as TrueType (.ttf) in the terminal apps. There are a few console fonts you can select from with sudo dpkg-reconfigure console-setup - terminus 16x32 being my favorite on a large display. There are a other bitmap console fonts around, but they tend to require manual installation and ...
Follow the instructions:
sudo apt-get update
sudo apt-get install mpg123
If you'd like to play all .mp3 files of a directory, try this command:
mpg123 -vC /your-directory/*.mp3
In addition, if you want to play .wav files, you can play them by aplay command which is part of alsamixer package.
As with nearly all things Unix/Linux, there is more than one solution.
You mentioned you want to be able to launch your server as a foreground process but be able to send it to the background and ... recall it to the foreground at a later time. I'll address answers to those questions here. There is a completely different way of doing things if you want to ...
You can use variations of the setfont command to change the font and the size of text:
And you can obviously see what fonts are available by doing:
The -r (--refresh) option to omxplayer clears the screen when it resets the video resolution and whatnot.
-r / --refresh adjust framerate/resolution to video
An alias could be useful here:
alias omxplayer='omxplayer -r -o hdmi '
Which will then always refresh (clear) the screen and send audio to the hdmi output. And yes, the trailing ...
Here's an example of a digital picture frame using epiphany kiosk style:
You will need a window manager opened before launching. matchbox-window-manager is light weight
The -a in the CLI will load it in kiosk mode:
sudo -u pi epiphany-browser -a --profile ~/.config ...
Removing your dbus would have removed most of your installed packages, so I think you would be running a very bare system. I would re-burn an image, but I guess you could try an install a desktop xserver back on it, most likely have to many errors though.
Install desktop on Raspberry Pi
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --no-...
Available as a snap package :
sudo apt-get install snapd
sudo snap install chromium
snap run chromium
However it seems to be rather unstable, and does not appear on the raspberry pi menu system. Complains about missing symbols on startup, and sometimes about the namespace of the mounted snap folder. Snap packages are put together by Canonical and not by ...
I found the solution after all. I used pm2 after all. The quick start suggested at the start of the pm2 documentation will not work. Follow the detailed instructions instead, which amount to:
Install pm2 for node (npm install -g pm2)
Type “pm2 startup” into the command line
Paste in the resulting command as instructed.
Change directories to where your app ...