Hot answers tagged

3

Execute your command with exec command to replace your bash with your script and when your script interpret exit command it will close your terminal. Run your command like: exec ./myscript.sh NOTE: Your script must have execute permission.


2

Use rfkill: $ rfkill block all This will disable all wireless adapters, WiFi, Bluetooth, NFC, GPS, whatever your computer has built in. If you only want to disable one specific adapter, find out its ID with $ rkfill list 0: hci0: Bluetooth Soft blocked: yes Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no So in ...


2

Find the device name with the command ip link, set it to down mode with ip link set <device> down. The device is most likely named something like wlp3s0. If operation isn't permitted, perform the command with sudo.


1

Install the full xorg, plus virtualbox support (you might have to reboot after that): pacman -S xorg virtualbox-guest-utils If you really want to use startx you need either to change your ~/.xinitrc to start blackbox or install ugly old twm instead.


1

There isn't one. Check if maybe the webcam is disabled in the BIOS?


1

In general case your network can be configured in the way, that you simultaneously have wireless and wired connection. E.g. part of your routes goes via wireless connection and the other part goes via wired. I would detect it in the following way: Identify the address which might be an indicator of network connection type (e.g. public google dns ...


1

/dev/null is created by the kernel at boot time, because the kernel requires it. It's not udev specific.


1

Add this line to your ~/.xinitrc somewhere before the line where you call your wm (i3 in your case). xrdb ~/.Xresources


1

You can try, but with anything complicated there's a good chance that programs compiled for distribution A won't run on distribution B because they require different sets of library versions. The easiest way to avoid getting trapped into library dependency hell is to let distributions do it for you. You have Debian packages, so install Debian, and run just ...


1

Binaries are usually built against a broad range of shared libraries, and with specific path and other configuration settings unique to each distribution. It's unlikely that binaries from one distribution will simply run on another, unless they're very simple and highly self contained. You would normally grab the original source files, and build them on ...


1

Ok, here it is answered by pierre schmitz, thx nymous for the link: openssl, phar and posix modules are now built in php7 core. Remove the corresponding directives from your php.ini, e.g. ;extension=openssl.so. php-xcache is incompatible with php7, remove package, the project seems dead. full list of 3rd party package status: | Package | Status ...



Only top voted, non community-wiki answers of a minimum length are eligible