This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mount --bind /dev /mnt/dev | |
| mount --bind /dev/pts /mnt/dev/pts | |
| mount --bind /proc /mnt/proc | |
| mount --bind /sys /mnt/sys | |
| mount --bind /run /mnt/run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nano /usr/lib/udev/hwdb.d/61-evdev.hwdb | |
| # Goodix Touchscreen and Pen | |
| evdev:name:*Goodix* | |
| EVDEV_ABS_00=::2178 | |
| EVDEV_ABS_01=::1364 | |
| EVDEV_ABS_35=::2178 | |
| EVDEV_ABS_36=::1364 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/udev/hwdb.d/61-sensor-local.hwdb | |
| udevadm info -n /dev/iio:device0 | |
| In your case: KIOX000A | |
| dmidecode | grep Manufacturer | |
| dmidecode | grep Product | |
| cat /sys/class/dmi/id/modalias | |
| sensor:modalias:acpi:[driver name]*:dmi:*:svn[Manufacturer]*:pn[Product Name]:* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| based on https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu | |
| sudo apt install iio-sensor-proxy inotify-tools | |
| nano /opt/autorotate.sh | |
| #!/bin/bash | |
| # https://github.com/julienw/config-files/blob/master/yoga/rotate-screen.sh | |
| # October 2016 - Tested and worked on Toshiba Radius 11 Convertible Laptop with Debian 8.5 Sid and XFCE 4.12 | |
| # This is a bash script to make screen autorotation possible based on device orientation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use Xft? | |
| use_xft yes | |
| xftfont DejaVuSans:size=12 | |
| xftalpha 0.8 | |
| text_buffer_size 2048 | |
| # Update interval in seconds | |
| update_interval 5 | |
| # This is the number of times Conky will update before quitting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To summarize, the following icons (other than a cursor icon which seems perhaps to have been found) were searched for: | |
| - /usr/share/pixmaps/preferences-system-network.(png|xpm|svg) | |
| - /usr/share/pixmaps/network-transmit.(png|xpm|svg) | |
| - /usr/share/pixmaps/network-wireless-signal-good-symbolic.(png|xpm|svg) | |
| - /usr/share/pixmaps/network-wireless-connected-75-symbolic.(png|xpm|svg) | |
| A run of `apt-file find preferences-system-network.png`, just the first one, yields a lot of icon themes - all of them in `/usr/share/icons` (as they should be!) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adb shell settings put system accelerometer_rotation 0 #disable auto-rotate | |
| adb shell settings put system user_rotation 3 #270° clockwise | |
| accelerometer_rotation: auto-rotation, 0 disable, 1 enable | |
| user_rotation: actual rotation, clockwise, 0 0°, 1 90°, 2 180°, 3 270° | |
| wm help | |
| set-user-rotation [free|lock] [-d DISPLAY_ID] [rotation] | |
| Set user rotation mode and user rotation. | |
| wm set-user-rotation lock 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EFI\Microsoft\Boot\bootmgfw.efi rename to EFI\Microsoft\Boot\bootmgfw10.efi | |
| custom.cfg | |
| menuentry 'Windows Boot Manager (on /dev/mmcblk1p1)' { | |
| insmod part_gpt | |
| insmod fat | |
| if [ x$feature_platform_search_hint = xy ]; then | |
| search --no-floppy --fs-uuid --set=root B2A3-BBDC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is soultion how to fix no splash screen in Ubuntu after nvidia proprietary driver installation. It's no matter what Ubuntu version you use, it should work anyway. | |
| Open your terminal and type | |
| sudo apt-get install v86d | |
| Then | |
| sudo gedit /etc/default/grub | |
| Find this line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HEDEF=/mnt | |
| mount /dev/sda4 $HEDEF | |
| cd $HEDEF | |
| wget -c https://repo-default.voidlinux.org/live/current/void-x86_64-musl-ROOTFS-20210930.tar.xz | |
| tar xvf void-x86_64-musl-ROOTFS-20210930.tar.xz -C $HEDEF | |
| wget -c https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS-20210930.tar.xz |
OlderNewer