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

Shift + PageUp or Shift + PageDown keys.


12

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/


11

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


10

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


10

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


9

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


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

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

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


7

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.


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

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


6

0x5344 from the oemid means SD as in SanDisk. Type is probably not easy; I guess it is their internal name. Read more at https://www.cameramemoryspeed.com/sd-memory-card-faq/reading-sd-card-cid-serial-psn-internal-numbers/


5

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

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: https://unix.stackexchange.com/questions/93814/cant-apply-brightness-to-terminals-background-color Leading to ...


5

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


5

Follow the instructions: sudo apt-get update sudo apt-get install mpg123 mpg123 your-music.mp3 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. aplay your-music.wav


5

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


4

You can use variations of the setfont command to change the font and the size of text: setfont /usr/share/consolefonts/Lat15-TerminusBold20x10.psf.gz And you can obviously see what fonts are available by doing: ls /usr/share/consolefonts


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

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


4

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


4

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


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