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 (...
sudo stands for Super User Do; it allows you to run as another user, usually the super user (root), to carry out administrative tasks, such as update the software, change filesystems, and start daemons.
root has the ultimate power and can run pretty much anything. It can, therefore, do a lot of damage to your system and in the worst case, you will have to ...
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:
sudo sh -c "TERM=linux setterm -foreground black >/dev/tty0"
sudo sh -c "TERM=linux setterm -clear all >/dev/tty0"
This will change the font color to black, than clears the screen.
Or in a single line:
sudo sh -c "TERM=linux setterm -foreground black -clear all >/dev/tty0"
And set it back to normal:
sudo sh -c "TERM=linux setterm -foreground ...
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
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 ...
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 ...
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:
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 ...
If it's the console, you can change the framebuffer_width and
framebuffer_height values in /boot/config.txt. Similarly, for X, you can set the hdmi_group and hdmi_mode, though they aren't so obviously easy to change.
This is almost certainly a bug in the graphics driver. It sounds as though SDL is initializing the graphics API, at which point the graphics driver takes over the display. Because you killed SDL it never ran the code to deinitialize the graphics API, and so it is just sitting waiting for graphics commands which will never come.
This indicates a badly ...
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.
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 ...
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.
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 ...
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 ...
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 ...
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-...
Ctrl-Alt key combos won't work on Raspbmc because XBMC running on the Pi runs under OpenGL directly on the framebuffer, and not under X11 like it would on a regular Linux desktop.
In order to get a terminal in Raspbmc you need to quite out of XBMC without powering off. This should be possible by going to the little power icon and selecting "Exit".