25

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 (...


21

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 ...


17

Shift + PageUp or Shift + PageDown keys.


14

Console Run sudo dpkg-reconfigure console-setup and follow the on screen instructions.


10

You could could run the filesystem on a USB drive, and then you only need a 16MB (yes MB) SD card: http://www.redrobe.com/mike/boot-raspberry-pi-from-a-16mb-sd-card/ But for a distro all on a 1GB SD card, take a look at MINIBIAN: http://minibianpi.wordpress.com/features/


10

Right click the menu entry, select properties. Select the Desktop Entry tab, command shows the terminal command, in this case 'gpicview'.


9

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 ...


9

As an addition to Goldilocks' answer, for epiphany you can set the display using the --display option: epiphany --display=:0 http://example.com &


8

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. epiphany-browser http://www.playr.biz/23612/15122 sleep 2s # give it time to start echo key F11 | xte # simulate pressing the full screen key


8

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 ...


8

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 ...


7

omxplayer now has an option to set the background to black. omxplayer -b It works both on the terminal and in X. This feature should be in the current version available in raspbian.


7

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: xset -...


7

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 ...


6

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.


6

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 ...


6

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.


6

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/...


5

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 ...


5

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. https://stackoverflow.com/questions/15255070/how-do-you-scroll-up-down-on-linux-server-terminal


5

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.


4

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 ...


4

you cannot, unless you're ready to solder some external ADC converters to I2C or serial and write scripts that will read the data. there are NO embedded ADC converters on Raspberry Pi.


4

Here's an example of a digital picture frame using epiphany kiosk style: http://simplyautomationized.blogspot.com/2015/04/rpicframe-html5-kiosk-style-picture.html 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 ...


4

The correct syntax to power off are: sudo shutdown -h now sudo halt And for reboot: sudo shutdown -r now sudo reboot Be sure you use either sudo or logged as root himself.


4

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 . /etc/bashrc fi Evidentally, what's deciding about ...


4

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 ...


4

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-...


3

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".


3

They both mean the same thing, however the pound sign is more commonly used for comments. I would think that in your example both are used to distinguish between the explanation and the config option.


Only top voted, non community-wiki answers of a minimum length are eligible