Posted on Leave a comment

ArchLinux Printing with CUPS

#!/bin/bash

################################################################
# Install a printer on Arch Linux with cups using command line #
# Used for a HP PSC 1510 with default driver #
################################################################

sudo pacman -S cups
sudo systemctl start org.cups.cupsd

sudo systemctl status -l org.cups.cupsd
# If errors are shown add yourself to ‘lp’ group
sudo gpasswd -a ${USER} lp

sudo systemctl restart org.cups.cupsd
sudo systemctl status -l org.cups.cupsd

# If errors are shown again add yourself to ‘lpadmin’ group
sudo gpasswd -a ${USER} lpadmin

sudo systemctl restart org.cups.cupsd

# Find if your device is connected and found by the system
lsusb

# Find the URI
sudo lpinfo -v #

# Find if a driver for your device is installed
lpinfo -m

# Create a print queue with URI and driver
sudo lpadmin -p HP_PSC_1510 -E -v “usb://HP/PSC%201500%20series?serial=MY61DD31P90498&interface=1” -m drv:///sample.drv/deskjet.ppd

# Set as default
lpoptions -d HP_PSC_1510

# Set A4 Page
lpoptions -p HP_PSC_1510 -o PageSize=A4

# Enable printing
sudo cupsenable HP_PSC_1510
sudo cupsaccept HP_PSC_1510

# Restart!!
sudo systemctl restart org.cups.cupsd

# Test printer
lpr test.txt

# List other options
lpoptions -p HP_PSC_1510 -l

Posted on Leave a comment

How to Update the Pacman Databases on Arch Linux

Every Linux distribution has a package repository where precompiled packages are kept. Of course you can download and install these packages manually, but that is sometimes time consuming or nearly impossible. Because each Linux packages has some dependencies, that is they depend on some other packages, which in order depends on some other ones and so on. So a tool called package manager was created to automatically download and install packages along with their dependencies.

Posted on Leave a comment

How to Enable HTTPS on the Raspberry Pi Apache Web Server | Variax Firmation

How to Enable HTTPS on the Raspberry Pi Apache Web Server MARCH 18, 2017 ~ FIRMATION Note that this enables only “self-signed” certificates. I followed these directions but invariably encountered problems that were not addressed. Running Wheezy on a Raspberrry Pi B v1.

Thanks for the tutorial! This was a 90% solution. Even after restart, my apache server was not listening on 443 (and would only serve on 80), even though everything was correct. I had to enable the SSL module, then everything worked perfectly. In the tutorial, we have to put in terminal “sudo a2ensite ssl”, for mine to work, I also had to run “sudo a2enmod ssl”. Hope this helps someone else!

Source: How to Enable HTTPS on the Raspberry Pi Apache Web Server | Variax Firmation

Posted on Leave a comment

How to set up kiosk mode on Windows 10 October 2018 Update

Do you need to set up a kiosk device? The Windows 10 October 2018 Update makes it super easy — Here’s how to do it.

MAURO HUCULAK

On Windows 10, Assigned Access is a feature that allows network administrators to configure a PC as a kiosk device to serve a specific purpose. Usually, such configuration can be found on a PC in a lobby to allow guests to browse the internet, or on devices that display visual content like digital signs.

When using kiosk mode on Windows 10, the device signs in automatically, and only runs one Microsoft Store app in full screen inside a restricted local user account (above the Lock screen) that prevents anyone from accessing the desktop, switch apps, or change settings.

Although kiosk mode isn’t a new feature on Windows 10, starting with the October 2018 Update, Microsoft has redesigned the experience to make it easier for anyone to configure and manage as single-app kiosk machine.

In this Windows 10 guide, we’ll walk you through the steps to configure and manage kiosk mode to run a single app in full screen with the settings available starting with the October 2018 Update.

How to configure kiosk mode on Windows 10

To use Assigned access to set up and adjust kiosk mode settings on Windows 10, use these steps:

Setting up kiosk mode

To configure kiosk mode, do the following:

  1. Open Settings.
  2. Click on Accounts.
  3. Click on Family & other users.
  4. Under “Set up a kiosk,” click the Assigned access button.

  5. Click the Get started button.

  6. Type a short, but descriptive name for the kiosk account.

  7. Click the Next button.
  8. Select a Microsoft Store app from the list.

    Info: We’re selecting Microsoft Edge, which includes additional configuration options, but the settings for other apps may be different.

  9. Click the Next button.
  10. Select the option that suits your environment. (In this guide, we’re selecting “As a public browser,” to configure a device that will be used by guests to browse the internet.)

  11. Click the Next button.
  12. Type the web page address you want users to use for the home page, start page, and new tab page.
  13. Specify the time before Microsoft Edge restart the InPrivate session if no one is using the device.

  14. Click the Next button.
  15. Click the Close button.

Once you’ve completed the steps, restart your computer to start in kiosk mode.

If you want to exit the experience to shutdown or restart the computer, or access an administrator account, you’ll need to use the Ctrl + Alt + Del keyboard shortcut to bring up the Lock screen to access the sign-in screen and power options.

Changing settings

If you want to change the kiosk mode settings, using an administrator account, use these steps:

  1. Open Settings.
  2. Click on Accounts.
  3. Click on Family & other users.
  4. Under “Set up a kiosk,” click theAssigned access button.

While in the kiosk settings page, you can change a number of settings depending on the application you’re using.

If you want to use a different app, under “Kiosk info,” do the following:

  1. Select the app, and click the Change kiosk app button.

  2. Choose another application.
  3. Click the Next button.
  4. Continue with the on-screen directions to finish setting up the experience.

If the app has configurable settings, you can adjust them within the kiosk setup page. For example, when using Microsoft Edge, you can change the mode and adjust some basic browser settings.

How to disable kiosk mode on Windows 10

If you no longer need to use a PC with kiosk mode, you can remove the experience using an administrator account and these steps:

  1. Open Settings.
  2. Click on Accounts.
  3. Click on Family & other users.
  4. Under “Set up a kiosk,” click the Assigned access button.

  5. Under “Kiosk info,” select the account, and click the Remove kiosk button.
  6. Click the Remove button.

Once you’ve completed the steps, the account and any data associated with kiosk mode will be deleted from your device.

Assigned access on Windows 10 is a feature designed to set up kiosk devices on organizations, but anyone can enable and use it to turn, for example, an older machine into a jukebox or a Netflix-only streaming device.

Source: How to set up kiosk mode on Windows 10 October 2018 Update

Posted on Leave a comment

MiniDLNA – Community Help Wiki

MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP clients. The MiniDNLA daemon serves media files (music, pictures, and video) to clients on a network. Example clients include applications such as totem and xbmc, and devices such as portable media players, smartphones, and televisions. MiniDLNA is a simple, lightweight alternative to MediaTomb, but has fewer features. It does not have a web interface for administration and must be configured by editing a text file.

Source: MiniDLNA – Community Help Wiki