Latest News
Sabtu, 05 September 2020

Setting Server InfoWA


sudo apt-get install xvfb
sudo apt-get install chromium-browser
sudo apt-get install chromium-chromedriver
reboot update
 
sudo apt update && upgrade

wget https://loksado.com/files/hg680p/wlan-black.deb
sudo dpkg -i wlan-black.deb

sudo apt install chromium-browser
sudo apt-get install -y upx
sudo apt-get install xvfb
sudo apt install chromium-chromedriver
utk device stb android tvbox
sudo apt-get install xsel to install the xsel utility.
sudo apt-get install xclip to install the xclip utility.
sudo apt install xfce4-power-manager
xfce4-power-manager -c
autologin linux armbian
/etc/lightdm/lightdm.conf.d/11.armbian.conf
[SeatDefaults]
user-session=ubuntu
autologin-user=ariessoftware [nama user lgoin]
autologin-user-timeout=0
greeter-show-manual-login=false
greeter-hide-users=false
allow-guest=false
./install.sh utk memasukkan ke memory STB
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

.desktop Files

Creating a .desktop file.
Adding the .desktop file to autostart.

https://standards.freedesktop.org/desktop-entry-spec/latest/
Note that in /usr/share/applications/ a number of .desktop files already exists which can be copied into the autostart folder
For Example:
If you want to execute lxterminal automatically at startup.
Create a terminal.desktop in /etc/xdg/autostart/ .
Add some keys like:
  • [Desktop Entry]. (Must be the first line of every desktop file and is the section header to identify the block of key value pairs associated with the desktop. Necessary for the desktop to recognize the file correctly.)
  • Name of the application.(The name of the Desktop Entry group - should be unique on the system )
  • Type of the application. (Possible values are "Application", "Link" or "Directory".)
  • Exec filename of the application plus optionally arguments.
  • Terminal (Describes whether the application should run in a terminal.)
File content with the entries should be as follows:
[Desktop Entry]
Name=LXTerminal
Type=Application
Exec=lxterminal
Terminal=false
Save the .desktop file.
Note: A graphical file manager will list .desktop files not with their file name but rather with the value of the key "Name". e.g. in the example above "LXTerminal".
To disable the automatic start of an application, just either remove the respective .desktop file from /etc/xdg/autostart/ and/or .config/autostart/ or add the key NotShowIn=LXDE; to the desktop file. Alternatively use the graphical front end 'LXDE Menu'/Preferences/'Desktop Session Settings' and untick the 'Enabled' checkbox.
 

 

  • Blogger Comments
  • Facebook Comments

0 komentar:

Posting Komentar

Item Reviewed: Setting Server InfoWA Rating: 5 Reviewed By: ariesdev