#lxpanel
Explore tagged Tumblr posts
myd90 · 7 years ago
Photo
Tumblr media
#raspberrypi3bplus running #lxpanel on #toshibaledtv https://www.instagram.com/p/BpFHrRXhbts/?utm_source=ig_tumblr_share&igshid=ml81g3jnvhfa
0 notes
petegallo038779-blog · 6 years ago
Text
Games.
A research study through experts at the College of Granada (UGR) has actually revealed that not either blinking traffic signal and also nor the colour yellowish have any type of result on passerbies. Two alternatives are actually champagne off-white, a light-toned tan comparable to the color of watered-down ginger ale, and champagne with dull pink undertones. Coat the whole confront with your chosen green base colour. I coloured a white colored base memory card with Trouble inks, stamped the Floral Border along the top and also bottom edges making use of one of the colours at that point marked a sentement in black cheek by jowl of the memory card.
Tumblr media
Along the brand new Aqua Blue power balance and Dark with Yellow composing powerbalance including in the variety of silicon power equilibrium bangles there are actually still 2 more power balance styles to choose from. Today it is my last and also third time to upload a card as attendee developer. PCManFM additionally possesses the capability to establish a background and also display screen icons on the pc, however doesn't included a board (for that you need to download and install and install lxpanel coming from sourceforge or the lxde internet site (). To mount icons on the desktop computer with PCManFM you require to include the appropriatedesktop files to your Desktop computer file. In addition to teaching the creatures, the Neitz research study team collaborated with the creators of a standard vision-testing approach called the Cambridge Colour Examination to perfect a way the monkeys can "tell" them which colours they were actually seeing. Irreversible Different colors: Uses hydrogen peroxide to change your hair different colors. Regularly make certain that your logo looks great in white as well as dark prior to selecting colours for the company logo. Consequently, the gods tapped the services of a demi-god called Benjamin F. Feingold, (the F standing for Faivish) a well-known alchemist, and prepared him on the job of removing a blue color from the environment.
Tumblr media
. The atmosphere and also mood specified through these candlesticks appeal significantly to many people and also when you incorporate the slight aromas that candlesticks usually produce, the mix develops a desirable setting in the property. For instance, if yellow if your primary, blue-purple and red-purple will definitely finish the split-complementary color pattern.
White wax, strenght-bodyblog.info 50 copies stickered whitelabels Touredition, henadnumbered along with unique alternative added cover (still a couple of left) as well as 20 duplicates stickered whitelabels Testpress Edition, handnumbered in inverted coverartwork (still incredibly couple of left). Ladybird has some fallout (I mean, obviously it carries out: it is actually practically pure radiance), but because the glitter is actually so light as well as little, it is actually not really noticeable on my skin. In current times Childrens wooden toys have actually become much more well-liked for an extremely modern-day main reason.
Tumblr media
What we human beings don't recognize is actually colours are our great friends, while the majority of people hesitate, it suggestions capable to embrace.check out our colour graph at the wedding dining table decor, you can likewise visit our showroom at 70 Houslow Heath Rd on Street Clair Ave west.Pee may be various colors throughout the time depending on the amount of urochrome, a natural pigment, formed due to the failure of red cell, which exists in pee. Enhancing all-natural colour of light or black eyes, qualified makeup performer have actually been performing with wonderful eye designs because the days of dark kohl utilized by Egyptian sirens.
1 note · View note
daveshevett · 6 years ago
Text
Using Magic Mirror 2 to Create a Dynamic Display / Dashboard
New Post has been published on https://planet-geek.com/2019/08/09/hacks/using-magic-mirror-2-to-create-a-dynamic-display-dashboard/
Using Magic Mirror 2 to Create a Dynamic Display / Dashboard
Tumblr media
The “Magic Mirror” craze got pretty big in the hacker community a few years ago. For those who may not be familiar with them, a Magic Mirror is setup using a small display behind a 2 way mirror to add text and information to your bathroom (or wherever) mirror. It’s pretty cool, and can be done at very low cost and with only a little bit of tech know-how.
Tumblr media
My display isn’t actually ‘mirrored’, but many people build things like this one.
I’ve always loved having ‘displays’ around my workspace – showing information that doesn’t need to sit on my ‘work’ monitors, but is handy to be able to glance at.  Being able to quickly glance oer and see  dashboards showing system status, or even something showing date, time, and the weather outside.
A few months ago I decided to take one of my spare monitors at home mounted on the wall over my desk and turn it into a permanent display. It would show my current calendar, weather, stock prices, stuff like that. I got to work.
The Hardware
This part is probably the easiest. I used a spare 24″ LCD monitor I had originally mounted to be a sort of TV display. It wasn’t showing anything yet, so I just co-opted it for the Mirror display. It had an HDMI port on it, so it was perfect.
The second component is a Raspberry Pi3 I had lying around from some  other project. This particularly Pi is pretty old, so using it just drive a mostly static display seemed great. This one has a case and power supply. I was able to just stick it to the back of the monitor, coil up a HDMI cable next to it, and I was all set.
Tumblr media
A small note here. A second display I built for our Makerspace actually uses the monitor itself to power the Pi, since the monitor had a USB port on it. A USB -> MicroUSB cable meant as soon as the monitor was powered up, the Pi would boot and start displaying information. Pretty handy.
When building up these systems, I highly recommend having a keyboard and mouse to plug into the Pi. You can use an ‘all in one’ wireless keyboard/mouse from Amazon – these are great because you don’t have to deal with the cables (particularly when the monitor is mounted on a wall), and you can just unplug the USB adapter and use the keyboard on another project at any time.
The Software
The needed packages are pretty straightforward:
Raspbian – the default Linux installation for the Raspberry Pi. Get this installed and up to date (Run the package manager updater after the install to make sure you have the latest and greatest of everything)
Using a command line or the package manager, make sure you have the following secondary tools installed (these are not installed by default):
Chromium (apt-get install chromium-browser)
npm
xdtotool
Magic Mirror 2 – This is the core software that will run your display. Follow the directions on installation carefully. Clone the repository and get it ready for use. I use the manual installation procedure , it works best for how I build systems. YMMV.
Configuring the Host
At this point, I’m assuming the manual configuration of the software above has gone correctly, and you’re able to either use the Raspbian browser or Chromium to connect to http://localhost:8080/ on the Pi and view something approaching the display you want.
Now, this is where I’ve seen a lot of tutorials and other reference material fall down. How do you go from a desktop showing your display to something that will survive reboots, auto-configures itself, etc. Well, here’s what I did to make my display boards stable and rebootable without user intervention.
Some of these things are convenience items, some are mandatory.
For the love of all that is holy, set your password. The default ‘pi’ password is well known, please reset it. This device will be running unattended for days/weeks/months. Please change the password.
Rename the host – this is super handy so you can ssh to it easily. Edit the /etc/hostname file and give it a nice name (mine is ‘mirror’). Once you do this, from your local network, you’ll be able to ssh into the pi via ‘ssh [email protected]’ – neat trick, huh?
Create an autostartup script for the Pi that starts the browser in full screen mode just after the desktop loads. Best way to do this is to edit /etc/xdg/lxsession/LXDE-pi/autostart and put the following code in that file:
@xset s noblank @xset s off @xset -dpms @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash @chromium-browser --app=http://localhost:8080 --start-fullscreen
Create a cron job entry that will cause the magic mirror server software to restart on reboot. Easiest way to do this is use the ‘crontab -e’ command to make a new entry. Add the following line to the bottom of file (note, this assumes that the Magic Mirror software is installed in /home/pi/MagicMirror – adjust if that’s not the case)
@reboot cd /home/pi/MagicMirror;node serveronly > /home/pi/nodeserver.log 2>&1
On reboot, your mirror software should come up cleanly. Here’s a small trick though that makes remote maintenance easy. If you make a change to the config of the server – add a new module, change sources, etc, and you’re like me and have long since detached the keyboard and house from the unit, this little command will force the Chromium browser to do a reload, bringing in the changes you make to your config file. No need to reboot!
DISPLAY=:0 xdotool key F5
Conclusions / Sum-up
I’ve been running my display at home, and the second display up at the lab for a few months now. I’ll write some more on a few of the modules I’ve used (hooking up to my home automation stuff has been interesting), but that’ll be in a future article. I love having the date, time, calendar, stock prices, and weather always visible. The news ticker at the bottom has been sort of ‘cute’, but I really don’t watch it that much.
Tumblr media
There are literally hundreds of third party modules available for the mirror software. You can configure the layout of the screen to do just about anything – from showing phases of the moon to displaying the next time a bus will stop in front of your office. Enjoy!
0 notes
just4programmers · 7 years ago
Text
Installing PowerShell Core on a Raspberry Pi (powered by .NET Core)
Earlier this week I set up .NET Core and Docker on a Raspberry Pi and found that I could run my podcast website quite easily on a Pi. Check that post out as there's a lot going on. I can test within a Linux Container and output the test results to the host and then open them in VS. I also explored a reasonably complex Dockerfile that is both multiarch and multistage. I can reliably build and test my website either inside a container or on the bare metal of Windows or Linux. Very fun.
As primarily a Windows developer I have lots of batch/cmd files like "test.bat" or "dockerbuild.bat." They start as little throwaway bits of automation but as the project grows inevitably more complex.
I'm not interested in "selling" anyone PowerShell. If you like bash, use bash, it's lovely, as are shell scripts. PowerShell is object-oriented in its pipeline, moving lists of real objects as standard output. They are different and most importantly, they can live together. Just like you might call Python scripts from bash, you can call PowerShell scripts from bash, or vice versa. Another tool in our toolkits.
PS /home/pi> Get-Process | Where-Object WorkingSet -gt 10MB NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName ------ ----- ----- ------ -- -- ----------- 0 0.00 10.92 890.87 917 917 docker-containe 0 0.00 35.64 1,140.29 449 449 dockerd 0 0.00 10.36 0.88 1272 037 light-locker 0 0.00 20.46 608.04 1245 037 lxpanel 0 0.00 69.06 32.30 3777 749 pwsh 0 0.00 31.60 107.74 647 647 Xorg 0 0.00 10.60 0.77 1279 037 zenity 0 0.00 10.52 0.77 1280 037 zenity
Bash and shell scripts are SUPER powerful. It's a whole world. But it is text based (or json for some newer things) so you're often thinking about text more.
pi@raspberrypidotnet:~ $ ps aux | sort -rn -k 5,6 | head -n6 root 449 0.5 3.8 956240 36500 ? Ssl May17 19:00 /usr/bin/dockerd -H fd:// root 917 0.4 1.1 910492 11180 ? Ssl May17 14:51 docker-containerd --config /var/run/docker/containerd/containerd.toml root 647 0.0 3.4 155608 32360 tty7 Ssl+ May17 1:47 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch pi 1245 0.2 2.2 153132 20952 ? Sl May17 10:08 lxpanel --profile LXDE-pi pi 1272 0.0 1.1 145928 10612 ? Sl May17 0:00 light-locker pi 1279 0.0 1.1 145020 10856 ? Sl May17 0:00 zenity --warning --no-wrap --text
You can take it as far as you like. For some it's intuitive power, for others, it's baroque.
pi@raspberrypidotnet:~ $ ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' 0.00 Mb COMMAND 161.14 Mb /usr/bin/dockerd -H fd:// 124.20 Mb docker-containerd --config /var/run/docker/containerd/containerd.toml 78.23 Mb lxpanel --profile LXDE-pi 66.31 Mb /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch 61.66 Mb light-locker
Point is, there's choice. Here's a nice article about PowerShell from the perspective of a Linux user. Can I install PowerShell on my Raspberry Pi (or any Linux machine) and use the same scripts in both places? YES.
For many years PowerShell was a Windows-only thing that was part of the closed Windows ecosystem. In fact, here's video of me nearly 12 years ago (I was working in banking) talking to Jeffrey Snover about PowerShell. Today, PowerShell is open source up at https://github.com/PowerShell with lots of docs and scripts, also open source. PowerShell is supported on Windows, Mac, and a half-dozen Linuxes. Sound familiar? That's because it's powered (ahem) by open source cross platform .NET Core. You can get PowerShell Core 6.0 here on any platform.
Don't want to install it? Start it up in Docker in seconds with
docker run -it microsoft/powershell
Sweet. How about Raspbian on my ARMv7 based Raspberry Pi? I was running Raspbian Jessie and PowerShell is supported on Raspbian Stretch (newer) so I upgraded from Jesse to Stretch (and tidied up and did the firmware while I'm at it) with:
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade $ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list $ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/raspi.list $ sudo apt-get update && sudo apt-get upgrade -y $ sudo apt-get dist-upgrade -y $ sudo rpi-update
Cool. Now I'm on Raspbian Stretch on my Raspberry Pi 3. Let's install PowerShell! These are just the most basic Getting Started instructions. Check out GitHub for advanced and detailed info if you have issues with prerequisites or paths.
NOTE: Here I'm getting PowerShell Core 6.0.2. Be sure to check the releases page for newer releases if you're reading this in the future. I've also used 6.1.0 (in preview) with success. The next 6.1 preview will upgrade to .NET Core 2.1. If you're just evaluating, get the latest preview as it'll have the most recent bug fixes.
$ sudo apt-get install libunwind8 $ wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-linux-arm32.tar.gz $ mkdir ~/powershell $ tar -xvf ./powershell-6.0.2-linux-arm32.tar.gz -C ~/powershell $ sudo ln -s ~/powershell/pwsh /usr/bin/pwsh $ sudo ln -s ~/powershell/pwsh /usr/local/bin/powershell $ powershell
Lovely.
GOTCHA: Because I upgraded from Jessie to Stretch, I ran into a bug where libssl1.0.0 is getting loaded over libssl1.0.2. This is a complex native issue with interaction between PowerShell and .NET Core 2.0 that's being fixed. Only upgraded machines like mind will it it, but it's easily fixed with sudo apt-get remove libssl1.0.0
Now this means my PowerShell build scripts can work on both Windows and Linux. This is a deeply trivial example (just one line) but note the "shebang" at the top that lets Linux know what a *.ps1 file is for. That means I can keep using bash/zsh/fish on Raspbian, but still "build.ps1" or "test.ps1" on any platform.
#!/usr/local/bin/powershell dotnet watch --project .\hanselminutes.core.tests test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./lcov
Here's a few totally random but lovely PowerShell examples:
PS /home/pi> Get-Date | Select-Object -Property * | ConvertTo-Json { "DisplayHint": 2, "DateTime": "Sunday, May 20, 2018 5:55:35 AM", "Date": "2018-05-20T00:00:00+00:00", "Day": 20, "DayOfWeek": 0, "DayOfYear": 140, "Hour": 5, "Kind": 2, "Millisecond": 502, "Minute": 55, "Month": 5, "Second": 35, "Ticks": 636623925355021162, "TimeOfDay": { "Ticks": 213355021162, "Days": 0, "Hours": 5, "Milliseconds": 502, "Minutes": 55, "Seconds": 35, "TotalDays": 0.24693868190046295, "TotalHours": 5.9265283656111105, "TotalMilliseconds": 21335502.1162, "TotalMinutes": 355.59170193666665, "TotalSeconds": 21335.502116199998 }, "Year": 2018 }
You can take PowerShell objects to and from Objects, Hashtables, JSON, etc.
PS /home/pi> $hash | ConvertTo-Json { "Shape": "Square", "Color": "Blue", "Number": 1 } PS /home/pi> $hash = @{ Number = 1; Shape = "Square"; Color = "Blue"} PS /home/pi> $hash Name Value ---- ----- Shape Square Color Blue Number 1 PS /home/pi> $hash | ConvertTo-Json { "Shape": "Square", "Color": "Blue", "Number": 1 }
Here's a nice one from MCPMag:
PS /home/pi> $URI = "https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='{0}, {1}')&format=json&env=store://datatables.org/alltableswithkeys" -f 'Omaha','NE' PS /home/pi> $Data = Invoke-RestMethod -Uri $URI PS /home/pi> $Data.query.results.channel.item.forecast|Format-Table code date day high low text ---- ---- --- ---- --- ---- 39 20 May 2018 Sun 62 56 Scattered Showers 30 21 May 2018 Mon 78 53 Partly Cloudy 30 22 May 2018 Tue 88 61 Partly Cloudy 4 23 May 2018 Wed 89 67 Thunderstorms 4 24 May 2018 Thu 91 68 Thunderstorms 4 25 May 2018 Fri 92 69 Thunderstorms 34 26 May 2018 Sat 89 68 Mostly Sunny 34 27 May 2018 Sun 85 65 Mostly Sunny 30 28 May 2018 Mon 85 63 Partly Cloudy 47 29 May 2018 Tue 82 63 Scattered Thunderstorms
Or a one-liner if you want to be obnoxious.
PS /home/pi> (Invoke-RestMethod -Uri "https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='Omaha, NE')&format=json&env=store://datatables.org/alltableswithkeys").query.results.channel.item.forecast|Format-Table
Example: This won't work on Linux as it's using Windows specific AIPs, but if you've got PowerShell on your Windows machine, try out this one-liner for a cool demo:
iex (New-Object Net.WebClient).DownloadString("http://bit.ly/e0Mw9w")
Thoughts?
Sponsor: Check out JetBrains Rider: a cross-platform .NET IDE. Edit, refactor, test and debug ASP.NET, .NET Framework, .NET Core, Xamarin or Unity applications. Learn more and download a 30-day trial!
© 2018 Scott Hanselman. All rights reserved.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
0 notes
easyastrobox · 5 years ago
Text
Mise à jour du 01/06/2020
Mise à jour du 01/06/2020
Ci-dessous une liste des dernières modifications apportées au projet Easy Astro Box :
Mise à jour du système des mises à jour.
Mise à jour de la gestion des patchs.
Mise à jour de la distribution Raspbian.
Mise à jour de nombreuses applications astro.
Mise à jour de l'interface EasyAstroBox.
Mise à jour des téléchargements
Mise à jour de la page installation sur le site internet.
Mise à jour des images EasyAstroBox.
Mise à jour de l'application EAB-Luminosity (l'écran officiel Raspberry est enfin reconnu).
Mise à jour de la configuration de l'application log2ram.
Ajout de la configuration automatique du point d'accès.
Ajout de la configuration automatique du réseau.
Ajout de la configuration automatique de Anydesk (le mot de passe est astrosecret).
Ajout de l'application ClipIt (semblable au presse-papier sur Windows).
Ajout de l'application EAB-AP-Switcher.
Ajout de l'application Florence (clavier virtuel).
Ajout de l'application notepadqq (un notepad++ pour Linux).
Ajout d'une icône pour mettre EAB en mode point d'accès.
Ajout d'une icône pour mettre EAB en mode classique.
Ajout d'un MOTD comportant quelques informations utiles.
Ajout d'un Discord afin que les utilisateurs EAB puissent partager leurs expériences (https://discord.gg/hNr9Hws).
Correction de l'accès à internet lorsque EasyAstroBox est connecté à un câble réseau.
Correction d'un problème de démarrage de l'application Indi Web Manager.
Correction d'un problème d'affichage sur les écrans officiels Raspberry.
Correction des problèmes d'affichage liés à l'application lxpanel.
Suppression des anciens outils qui ne sont plus requis avec EAB.
Suppression des anciens documents dans la section des téléchargements.
Suppression des anciennes images EAB dans la section des téléchargements.
Suppression du carré Rainbow au démarrage du Raspberry.
Suppression du SplashScreen au démarrage du Raspberry.
Suppression de l'application RaspAp qui n'est plus utilisée.
Suppression de l'application Plymouth qui n'est plus utilisée.
Suppression automatique du mode Discovery de l'application Anydesk.
Optimisation de la vitesse de démarrage.
Optimisation de la distribution Raspbian.
Certaines données et applications ne sont plus installées automatiquement. Lorsque vous effectuerez une mise à jour EasyAstroBox les options suivantes seront proposées :
Installation des catalogues Astrometry.Net.
Installation des catalogues d'étoiles (GSC).
Installation des catalogues Carte du Ciel.
Installation de l'application Anydesk.
Installation de l'application RealVNC.
Installation de l'application XRDP.
Installation de l'application VLC.
Installation de l'application LibreOffice.
Installation de l'application ProFTPd.
Installation de l'application FoxtrotGPS.
Installation des applications GPS.
⚠️ Les images sont actuellement en cours d'upload. Celle-ci seront disponible vers 4H du matin.
0 notes
leonspok · 7 years ago
Text
Raspbian: fix keyboard layout settings
Существующий диалог изменения раскладок клавиатуры по какой-то причине не может сохранить изменения, поэтому их нужно записать самому. Подозреваю, что это из-за sudo.
sudo nano /home/pi/.config/lxpanel/LXDE-pi/panels/panel
Plugin { type=xkb Config { Model=pc105 LayoutsList=us,ru VariantsList=, ToggleOpt=grp:alt_shift_toggle KeepSysLayouts=0 DisplayType=0 } }
0 notes
mbergmann-sh · 11 years ago
Text
Raspberry Pi: Bildschirmausgabe über SSH weiterleiten
Raspberry Pi: Bildschirmausgabe über SSH weiterleiten
Normalerweise wird die Raspberry Pi im Servereinsatz über SSH angesteuert und bekommt Befehle über das Terminal. Wer schon länger damit unterwegs ist, wird sich mit dem Terminal wohl fühlen und sich auskennen. Anders sieht es da meistens bei (Linux-) Einsteigern aus. Sie arbeiten lieber mit grafischen Benutzeroberflächen (GUIs). Um eine grafische Ausgabe zu bekommen, müsste für jede Arbeit am…
View On WordPress
0 notes