Having a weird issue with Chromium on a Raspberry Pi. I am trying to get the Chrome extension "Revolver" to auto start when I load up Chromium. I want it to cycle through each of my tabs right when I launch Chromium.
This works totally fine when I physically click on the Chromium icon, it launches Chromium and then the "Revolver" extension starts working and cycles through my tabs.
However, when I launch Chromium through the Raspberry Pi's autostart file like this:
#xset s off
#xset -dpms
#xset s noblank
#chromium-browser --enable-extension-apps --enable-extensions --enable-apps
It launches chrome, but the "Revolver" extension does not auto start. It will only work if I then click on the extension icon. I am not sure why it DOES auto start when I manually launch Chromium, but DOES NOT auto start when launching through the autostart file.
Any ideas?
Related
visual studio code is not launching in linux even though it is in the path
I tried "code ." and expect to open the vscode for the current folder
export DISPLAY=:0 made my day
My Display was not set.It was unset while doing other debugging. reverting it make the window app launch from terminal.
DISPLAY is part of your linux serverx, usually the linux terminal doesn't support launching the window applications from terminal until the display is configured. so it is essential to make sure you have the right config for your DISPLAY arg for your serverx
I cannot open Appium inspector on Linux Ubuntu.
In the same folder I have 3 files:
Appium-Inspector-linux-2022.2.1.AppImage /
Appium-Server-GUI-linux-1.22.2.AppImage /
latest-linux.yml
When I open the Appium-Server-GUI-linux-1.22.2.AppImage file, start the server e click on the button to open Appium Ispector, it open a web page.
to fix this, it was necessary:
1: Start Appium Server
I did this, executing Appium-Server-GUI-linux-1.22.2.AppImage file.
2: Start Appium Inspector through of file Appium-Inspector-linux-2022.2.1.AppImage
3: Create the capabilities
After that, the Appium Inspector still don't open throught on Appium Server button, but it make it open and you can use.
Since the release of Appium v1.22 they have changed how the Appium Inspector works. I refer you to their official documentation on GitHub https://github.com/appium/appium-inspector, citing:
Appium Inspector is released in two formats:
As a desktop app for macOS, Windows, and Linux. You can get the most
recent published version of this app at the Releases section of this
repo. Simply grab the appropriate version for your OS and follow
standard installation procedures (but see the note below for macOS).
As a web application, hosted by Appium Pro. (It's currently a known
issue that the web version does not work on Safari). Please make sure
to read the note below on CORS as well.
If you like to work the old way, download Appium Desktop v1.21 or below.
install latest appium-inspector
open appium-inspector and insert "/wd/hub" in Remote Path
I can start Jupyter notebook (6.0.2) in Chrome application mode just fine using the line c.NotebookApp.browser = '"C:\Path\chrome.exe" --app=%s' in the config file.
The problem is that every script I run opens in a "normal" Chrome window. Any suggestions?
EDIT
It works with JupyterLab (1.2.3)
Warning: I'm not that good at using Linux, so be easy on me.
I'm running a CentOS 6 x64 Server. I have a swf designed to generate complex images on command. I did a lot of searching, and the best answer I could find is install Xvfb and Flash Player to run the SWF.
So I installed Xvfb fine, and downloaded the standalone flash player debugger for Linux. I use
xvfb-run ./flashplayerdebugger screenapp.swf
to generate the image. Flash player debugger is designed for x86, and was throwing an error. I googled it, and found a page telling me to install the x86 dependencies. I did it, and the errors are gone. Unfortunately the swf doesn't seem to work on the server. For testing purposes it contacts a php file which creates a text file, so I know it's working, which works fine on my Windows computer for testing.
All it does is after I run the command is hang, after waiting a bit nothing still happens. I'm not sure if it's supposed to be like that, but it's not running the simple code I have on the swf to just load a URL
[root#ms1 ~]# xvfb-run ./flashplayerdebugger screenapp.swf
Xlib: extension "RANDR" missing on display ":99".
^Z
[3]+ Stopped xvfb-run ./flashplayerdebugger screenapp.swf
I'm no Linux expert, but the test SWF works fine on Windows, just can't get it to run on Linux. If the problem is flashplayerdebugger, how can I install the correct flash player?
Try this
xvfb-run +extension RANDR ./flashplayerdebugger screenapp.swf
Also, I found that its very useful that in Linux you can just copy-paste any console error or message by ctrl+shift+c (various for different consoles) and just google about it possible solutions.
How can we install .app file into iphone simulator without having any source code?
Yes, this can be done.
If you open up Finder, and go to /Users/user/Library/Application Support/iPhone Simulator/iOS version/Applications, you will find directories for all the apps installed on the simulator.
Just zip up that top level folder for the app, and have the other user drop it in the same directory. Works like a charm.
NOTE: I think you may have to compile it for that specific version of iOS before sending it over to them.
Source : Is there a way to test iOS builds on simulator without the source code?
There are three simple steps to install .app file on iOS simulator.
STEP 1:Start iOS simulator
There are two ways to start iOS simulator
1. Using XCODE: Open Xcode and navigate to
**XCODE => Open Developer Tool => iOS Simulator**
2: Using Terminal: Type following command in terminal
**open -a "iOS Simulator" --args -CurrentDeviceUDID <Device UDID>**
Note: Do not forget to change the DeviceUDID. You can check the UDID of running simulator by using following command:
xcrun simctl list
The UDID is the alpha numeric value in highlighted box and when simulator will booted it’s status will be “Booted” instead of “Shutdown”.
STEP 2: Installation:
When device booted completely, use following command to install .app file in simulator
xcrun simctl install booted
STEP 3: Launch your app :
You can launch your app by two ways
1. Tap on the app or
2. Write the following command on terminal
xcrun simctl launch booted