Which start up program is this? Did I install it???
Enabling the Command line view will show us the location of the executable. Right click on the Top Row and Check “Command line”
From the Command line column we see that the program is Tomboy
Which start up program is this? Did I install it???
Enabling the Command line view will show us the location of the executable. Right click on the Top Row and Check “Command line”
From the Command line column we see that the program is Tomboy
OLED screens have had issues on Linux. Main problem is unable to control the screen brightness. It looks like there are some ways to do it now
Looks like icc-brightness should help. Install instructions are from here
sudo apt install -y liblcms2-dev git clone https://github.com/udifuchs/icc-brightness.git cd icc-brightness make
You can run the utility with
./icc-brightness
Installing it will set it up to automatically run on log in.
sudo make install
Log out and back in and it should work.
https://appaper.com/oled-laptop-screen-brightness-control-linux/
https://www.reddit.com/r/linux/comments/cmf0vi/the_state_of_oled_brightness_on_linux/
We can remove the border and shadows from a button by adding the following style code in your activity_main.xml file. Or what ever your XML file is.
style="?android:attr/borderlessButtonStyle"
Code for button. We are setting an image as the background.
<Button android:id="@+id/button" style="?android:attr/borderlessButtonStyle" android:layout_width="48dp" android:layout_height="48dp" android:background="@drawable/gear" android:onClick="launchSettings" android:textSize="12sp"/>
Comparison of buttons. One on the left still has the shadow on it
More info here
https://stackoverflow.com/questions/28756035/how-to-remove-button-shadow-android
https://stackoverflow.com/questions/27867284/remove-shadow-effect-on-android-button/30856094
https://askubuntu.com/questions/6995/how-to-enable-ufw-firewall-to-allow-icmp-response
Open up the UFW before.rules config file
vi /etc/ufw/before.rules
And make sure you have these rules in it
# ok icmp codes for INPUT -A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT -A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT -A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT -A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT # ok icmp code for FORWARD -A ufw-before-forward -p icmp --icmp-type destination-unreachable -j ACCEPT -A ufw-before-forward -p icmp --icmp-type time-exceeded -j ACCEPT -A ufw-before-forward -p icmp --icmp-type parameter-problem -j ACCEPT -A ufw-before-forward -p icmp --icmp-type echo-request -j ACCEPT
In Kotlin you can request if the WiFi adapter is on or off with the following code
This changes the text on a textbox, replace with your textbox.
wifiManager = this.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager textBox.text = "WiFi State = ${wifiManager.wifiState}"
The important part is
wifiManager.wifiState
It will return a number from 0-4 which indicates if it is on or off.
0 = WiFi is being disabled
1 = WiFi Disabled
2 = WiFi is being enabled
3 = WiFi is Enabled
4 = Error
Had a radio briefly showing an error in red on the web page saying “Bandwidth PLL lock lost” The radio seems to operate so not sure if it is an actual issue or maybe an ongoing bug.
These entries are from the cambium 16.1.1 Release Notes
https://community.cambiumnetworks.com/t/450-platform-series-release-16-1-1-is-now-available/65335
https://community.cambiumnetworks.com/t/pmp450-sm-v16-1-error-bandwidth-pll-lock-lost/63243
Started getting the following error while running ./validate.php for LibreNMS
Cannot load Zend OPcache - it was already loaded
Looks like the problem arises out of PHP trying to load two ini files for OPcache. Was trying to enable OPcache for LibreNMS so I created an opcache.ini file and put the settings in it. I missed the default 10-opcache.ini file.
Moving all the settings into the 10-opcache.ini file and deleting the created opcache.ini file resolved the issue for me.
https://developer.android.com/things/hardware/wifi-adb
The following command will remove all saved networks from your Android Things devices.
adb shell am startservice -n com.google.wifisetup/.WifiSetupService -a WiFiSetupService.Reset
From the start menu search for “Edit environment variables for your account”
Click Path and then Edit.
Then click new and paste in the path to the ADB directory which should be
%USERPROFILE%\AppData\Local\Android\sdk\platform-tools
And hit OK
You should be good now. You’ll need to relaunch and Command Prompts you have open, but you should be able to run adb without having to navigate to the adb folder.
Recently upgraded a UniFi-Video VM by creating a new VM and restoring the backup from the previous one. There was a separate virtual disk used for storing all the videos. Although once I reattached it, I had to change the owner to the unifi-video user. lt was reporting that the owner/group was 127 and 134, looks like that was the user ID from the previous VM.
Example output from ls -hla command
drwxr-xr-x 3 127 134 4.0K Jan 16 2020 176de761-8399-3bed-8ceb-917cbe4d25bd drwxr-xr-x 2 127 134 4.0K Sep 10 12:28 21d506ef-dded-31f2-baf8-c109a7e653b9 drwxr-xr-x 4 127 134 4.0K Jan 1 2020 1a3afc4c-a030-39a1-b139-857444c8b71c
Ended up changing the owner to the unifi-video owner with the chown command. /path/to/videos is the mount point of the video drive.
chown -R unifi-video:unifi-video /path/to/videos