Microk8s Dashboard On Remote Laptop https://askubuntu.com/questions/1562933/microk8s-dashboard-on-remote-laptop

I have installed Ubuntu latest version to a cluster bramble of 4 Raspberry Pi 4;s each with 4Gb

I use a miniswitch to link all via ethernet

The 4 Pi's have static Ips for wirelss, starting 198.162.0.100 for first node

I have installed microk8s to all and set up a cluster

I can see all 4 nodes

On the first node, if I plug in a keyboard,mouse and hdmi screen,and open up firefox, I am able to get to the K8s dashboard after entering the token

What I would like to do though,is access the dashboard via a remote laptop (also running Ubuntu latest)

But using the instructions on the canonical microk8s, I cant get a connection, even though I can ssh to all 4 nodes okay,.UFW is inactive on all machines

Can anyone advise why its not connecting at all?

PCSpecialist Lafite Pro 16 (AMD Ryzen AI 7) - keyboard backlight control on Ubuntu 25.10 (kernel 6.17) https://askubuntu.com/questions/1562932/pcspecialist-lafite-pro-16-amd-ryzen-ai-7-keyboard-backlight-control-on-ubun

I recently purchased a PCSpecialist Lafite Pro 16 and installed Ubuntu 25.10 running Kernel 6.17. Everything works flawlessly except for the keyboard backlight, which I cannot turn on or control.

Specs:

  • Model: PCSpecialist Lafite Pro 16 AMD
  • CPU: AMD Ryzen AI 7 350 8 Core (5.0 GHz Turbo, 50 AI TOPS)
  • GPU: Integrated AMD Radeon™ 860M
  • Screen: 16" QHD+ (2560 x 1600) 240Hz LED
  • OS: Ubuntu 25.10
  • Kernel 6.17.0-8-generic

I contacted PCSpecialist support regarding Linux drivers, and they confirmed that the feature is software-dependent: "The keyboard lighting is managed via the Control Center software, which is compatible only with Windows. At the moment it is not supported on Linux and we have no alternatives to propose."

What I have tried so far (and failed):

  • Tuxedo Drivers:
    I attempted to install tuxedo-drivers (via PPA and source), but compilation failed. The source code seems incompatible with the newer Kernel 6.17 (errors regarding platform_driver return types and X86_MATCH macros).

  • Kernel Parameters:
    I tried GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor". This broke the screen brightness controls entirely and did not enable the keyboard light. I have since reverted this to default.

  • OpenRGB: I installed the correct udev rules and ran the latest AppImage (with libfuse2t64 support). The application launches but does not detect the keyboard controller (it only detects RAM/Motherboard).

  • Standard Tools: brightnessctl -l lists amdgpu_bl1 (screen) and standard LEDs (capslock, numlock), but no device for the keyboard backlight.

System Info (dmidecode):

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: PCSpecialist
    Product Name: Lafite Pro 16 AMD
    Family: Lafite Pro 16 AMD Systems

My Question: Since the official "Control Center" is Windows-only, is there a known WMI driver, kernel module, or reverse-engineered tool that can interface with the EC (Embedded Controller) for this specific AMD Ryzen AI platform?

Any guidance on how to enable the backlight would be appreciated.

Add an image on top of a PDF page https://askubuntu.com/questions/1562930/add-an-image-on-top-of-a-pdf-page

I often find myself signing PDF files I receive via email, which I have to print, sign by hand, and scan. It's a huge waste of time and frustrating. I already have a PNG image of my signature, and I'm convinced a simple tool that overlays the image onto the PDF file I need to sign would be enough. There are some rather dated (13-year-old) solutions online, some geeky (using Ghostscript) or software from external repositories, or LibreOffice, which however alters the PDF upon import. We're now on Ubuntu 24. Is there any software that can easily overlay an image onto a PDF page without using scripts or dubious apps? Thanks.

can i run a sh script from ubuntu guest to phone? [closed] https://askubuntu.com/questions/1562928/can-i-run-a-sh-script-from-ubuntu-guest-to-phone

can i run / execute a sh script form an ubuntu guest to a smartphone?

I guess, that it wil be not possible on my phone, because it is a BlackBerry 10 device. Afaik, i should need / have root, which BB 10 doesn't have. Only Developer Mode.

How to connect my Ubuntu server to the same WiFi as my laptop https://askubuntu.com/questions/1562923/how-to-connect-my-ubuntu-server-to-the-same-wifi-as-my-laptop

I'm just a beginner using Ubuntu, so my question might seem a bit dumb. For a task I had to use VMnet3 when I set up my Ubuntu Server, but the way the internet was configured wouldn't let it work.

I had to change my /etc/netplan/50-cloud-init.yaml file to this:

network:
    ethernets:
        ens33:
            dhcp4: false
            addresses:
                - 172.30.0.1/16
            routes:
                - to: default
                via: 172.30.255.254
            nameservers:
                addresses:
                    - 172.30.255.254
    version: 2

When I ping it won't work and says "temporary failure in name resolution". I don't really understand why that all fails because I did exactly what the task said.

Also a problem is: when I want to to do the command ifconfig the command should be installed, but that's not possible because there is no internet connection.

OEM Install source for HP https://askubuntu.com/questions/1562918/oem-install-source-for-hp

How do we get access to the OEM installation source for an HP Z2 Mini G1i device versus trying to get the normal download to work?

How to run a web browser as desktop background? https://askubuntu.com/questions/1562911/how-to-run-a-web-browser-as-desktop-background

I have a dashboard from Home Assistant and would like it to be shown as the desktop wallpaper/background using some web web browser (Firefox, Chromium) in kiosk mode.

How would I tell my Ubuntu 24.04/Wayland/Gnome to automatically start that browser upon user login and run it as desktop wallpaper?

I checked gnome dynamic wallpaper resources and found:

I remember years before Gnome came up it was possible to start application such that they would run in the root or desktop window - such as xearth, xroach and xsnow used to do.

VLC will not start on latest Ubuntu desktop on Dell Precision M4800 https://askubuntu.com/questions/1562907/vlc-will-not-start-on-latest-ubuntu-desktop-on-dell-precision-m4800

I have checked https://wiki.videolan.org/VSG:Startup:Other/ (but it's empty) and searched this forum to no avail.

I installed Ubuntu Desktop 25.10 on my (aging) Dell Precision M4800 laptop today. The installation went fine (everything works: external monitor, KVM switchover to other laptop, sound, Bluetooth, all network cards, storage devices, streaming videos from Youtube, playing videos attached to Signal messages) but I can't play any local video files just sitting on disk like local .mp4 or .avi or .mov files. I have installed both ubuntu-restrictred-addons and ubuntu-restricted-extras and updated all software.

When double-clicking on a video file in the Files app of Gnome GUI it doesn't show anything, and via the terminal I run vlc <filename> which shows absolutely nothing - like the application is running but nothing is drawn on screen. See attached screenshot from the terminal.

screenshot from the terminal

I have tried the "stable" and "beta" channels of VLC in the package manager. There is no difference.

The laptop has the following GPUs:

  • Intel HD Graphics 4000/5000 series integrated graphics card

  • nVidia Quadro K1100M

ubuntu-drivers list returns nothing so I suspect the right drivers have been installed.

The only indication that something is wrong with the video driver is that in Settings -> Mouse and Touchpad the "Scroll Direction" graphics look quite funny like this.

quite funny like this.

How do I get local video playback working?

EDIT: https://apps.gnome.org/Showtime/ works fine and plays my video files so it's a good workaround, but I'd love to understand why VLC is refusing to launch.

What to do if accidently made a typo when doing an `echo` to `.bashrc`? https://askubuntu.com/questions/1562853/what-to-do-if-accidently-made-a-typo-when-doing-an-echo-to-bashrc

I accidentally wrote exort instead of export when setting CL_ALL=en_US. What I was trying to do was switch it from Japanese to English, thx ahead!

Here is what I did:

export LANG=en_US.utf8
export LC_ALL=en_US.utf8
echo 'export LANG=en_US.utf8'>>~/.bashrc
echo 'exort LC_ALL=en_US.utf8'>>~/.bashrc
source~/.bashrc
bash: source~/.bashrc: No such file or directory
source ~/.bashrc
bash: 警告: setlocale: LC_ALL: ロケールを変更できません (US.utf8)
exort: command not found
echo 'export LC_ALL=en_US.utf8'>>~/.bashrc
source ~/.bashrc
bash: 警告: setlocale: LC_ALL: ロケールを変更できません (US.utf8)
exort: command not found

How do I fix this?

Network interface speed limited to ~15Mbps but only one direction https://askubuntu.com/questions/1559435/network-interface-speed-limited-to-15mbps-but-only-one-direction

Welcome :)

I have computer, NUC13 (i5, 64GB ram) with Ubuntu Server 24.04, equipped with two i226-V NICs (one built in, another one is NUC add-on). I observed some network issues, so I tested it with iPerf3. Results are very poor. iperf3 -c x.x.x.x results in speeds around 10-15-30Mbps, while iperf3 -c x.x.x.x -R shows correct transfers (up to 2.5Gbps). It may be worth to add, that UDP test iperf3 -c x.x.x.x -u -b 1000M succeed with 1Gbps. Problem exists on both NICs. I set up iperf binding to specific interfaces to isolate them during test without success. They behave exactly the same.

I already tried disabling eee, changing qdisc, using HWE kernel 6.14 and finally - upgraded Ubuntu to 25.10 with kernel 6.17. Nothing can fix my situation.

Im pretty much sure that networking itself is fine, as I have another machine connected to same switch which don't have any problems with network saturation. Its also not iperf3 issue, because openspeedtest instance shows the same problem.

ethtool output looks like this

Settings for enp86s0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Supported pause frame use: Symmetric
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Speed: 2500Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    MDI-X: off (auto)
    Supports Wake-on: pumbg
    Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
    Link detected: yes

Any ideas/advices can be helpful.

Serial port communication https://askubuntu.com/questions/1498610/serial-port-communication

I am trying to communicate with an HP48SX calculator over serial interface with C-Kermit and am getting an error message when trying to set the parameters to be compatible with the HP. Using Ubuntu 20.04LTS on a Dell Inspiron 17R. The message is:

Sorry, write access to UUCP lockfile directory denied

I can find no lockfiles on my system nor any reference to UUCP. The USB-to-DB9 adapter is recognized as ttyUSB0. I have searched with Google and tried various fixes offered there to no avail.

Any help would be greatly appreciated.

I am using a serial cable thru USB as we don't have RS-232 anymore which was the old way to do this under Windows. I have downloaded and compiled C-Kermit which created the necessary software to do this. There are various parameters that need to be set so the calculator can respond. Here they are :

./wermit                ; Start C-Kermit
; The following commands are entered at the "C-Kermit>" prompt...
set port /dev/ttyUSB0
set speed 9600          ; Serial port speed, HP48 defaults to 9600, also supports 4800 2400 1200
set carrier-watch off   ; It's not a modem connection so ignore carrier signal state.
set modem type none     ; No modem is involved; don't send AT commands.
set flow none           ; Flow control is not supported by HP48.
set parity none         ; 8 data bits, no parity
set control prefix all  ; HP48 Kermit requires all control characters to be encoded in printable form.
set file type binary    ; Might not always be needed.*  

As soon as I try to enter any of these 'set' commands, I get the message I listed above. On the C-Kermit website, there are all the necessary instructions and the author did this on his machine with no problems so I think it is something missing in my Ubnutu 20.04 installation.

How can I save my emails via "print as PDF". What tool can I use? https://askubuntu.com/questions/1480376/how-can-i-save-my-emails-via-print-as-pdf-what-tool-can-i-use

I have to save my emails as an offline file to put it on a USB stick or what ever. I want to save it as a PDF. When I marked a couple of emails in THUNDERBIRD. and then go on "print as file" it makes just the 1st email to a PDF. How can I do more( thousands)? Thanks for your help vanessa

PS: I am no computer specialist. I need is as simple as possible!

can no one help me??

Usb-c to HDMI adapter shows as billboard device - no display https://askubuntu.com/questions/1436289/usb-c-to-hdmi-adapter-shows-as-billboard-device-no-display

I've tried a few different adapters to get display output from my usb c port. None have worked on ubuntu. This is what I get (or similar) from lsusb for every hdmi-usbc adapter I buy:

Bus 001 Device 010: ID 0bda:2172 Realtek Semiconductor Corp. BillBoard Device

From what I can gather 'Billboard' just means that switching to alternate mode failed because of some issue.

In monitor settings, I only see the built-in monitor. Similarly, I installed ARandR no other outputs appear.

So,

Adapter

I have tried a few adapters. The one I'm trying currently is 'plugable usb-c to hdmi adapter'. It is stated to support linux and any usb-c port that supports DisplayPort Alternate Mode. OK.

Laptop

I have the ASUS C523N. It is stated to support driving a display from usb-c, but nothing more specific: spec sheet.

This is a chromebook. When I boot into chrome-os, the display works through the same usb-c port.

Other details

Kernel: 5.15.0-50-generic

jasper@crbook1:~$ cat /boot/config-$(uname -r) | grep TYPEC_DP
CONFIG_TYPEC_DP_ALTMODE=m

Ubuntu: 22.04.1 LTS

Dmesg:

[80603.451223] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[80603.610532] usb 1-2: not running at top speed; connect to a high speed hub
[80603.628180] usb 1-2: New USB device found, idVendor=0bda, idProduct=2172, bcdDevice= 1.00
[80603.628202] usb 1-2: New USB device strings: Mfr=17, Product=18, SerialNumber=19
[80603.628210] usb 1-2: Product: BillBoard Device
[80603.628217] usb 1-2: Manufacturer: Realtek
[80603.628223] usb 1-2: SerialNumber: 00000000000000000

Related issue

The only issue that I can find matching is this: USB-C to HDMI not working on Dell XPS 13 9370

The solution there was just to try another adapter. I'm on my 3rd purchase and I can't always get returns. This one explicitly says it supports linux. I will try to contact their support and report back here. I really can't keep buying cables and hoping that it works. I'm looking to at least get a handle on what the problem is here. Any help is appreciated.

VNC server not working since Ubuntu 22.04 upgrade https://askubuntu.com/questions/1425048/vnc-server-not-working-since-ubuntu-22-04-upgrade

I have a server with some instances of TigerVNC running to allow for remote access. I am starting them as a systemd service.

Since upgrade to Ubuntu 20.04 to 22.04 the servers fail to start with error:

Session startup via '/home/VNC/.vnc/xstartup' cleanly exited too early (< 3 seconds)!

Can anyone point me the right direction?

Here is what I have for service def:

[Unit]
 Description=Remote desktop service (VNC)
 After=syslog.target network.target

[Service]
  Type=forking
  User=VNC
  PIDFile=/home/VNC/.vnc/%H:%i.pid
  ExecStartPre=-/usr/bin/vncserver -kill :%i
  ExecStart=/usr/bin/vncserver -localhost no -depth 24 -geometry 1920x1080 :%i
  ExecStop=/usr/bin/vncserver -kill :%i

[Install]
  WantedBy=multi-user.target

Here is what I started with for &HOME/.vnc/xstartup:

#!/bin/bash
xhost +
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export XKL_XMODMAP_DISABLE=1
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
autocutsel -fork
startxfce4 &

I read an article on this forum that talks about new vncserver needs to run in foreground so take the "&" off the startxfce4 command. I did this and the service starts. I can access from remote computer, however, after about 1min the service stops with an error: Job for vncserver@1.service failed because a timeout was exceeded.

Here is the systemctl status:

VNC@HP-EliteDesk-800:~/.vnc$ systemctl status vncserver@1.service
× vncserver@1.service - Remote desktop service (VNC)
     Loaded: loaded (/etc/systemd/system/vncserver@1.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since Mon 2022-08-22 10:31:01 MDT; 2min 40s ago
    Process: 14603 ExecStartPre=/usr/bin/vncserver -kill :1 (code=exited, status=1/FAILURE)
    Process: 14606 ExecStart=/usr/bin/vncserver -localhost no -depth 24 -geometry 1920x1080 :1 (code=exited, status=0/SUCCESS)
        CPU: 4.972s

Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Activating service name='org.gnome.evolution.dataserver.Calendar8' requested by ':1.25' (uid=1001 pid=14753 comm=>
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Activating service name='org.gtk.vfs.Metadata' requested by ':1.13' (uid=1001 pid=14730 comm="xfdesktop " label=">
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Successfully activated service 'org.gtk.vfs.Metadata'
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Activating service name='ca.desrt.dconf' requested by ':1.41' (uid=1001 pid=14941 comm="/usr/libexec/evolution-ca>
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Activating service name='org.gnome.evolution.dataserver.AddressBook10' requested by ':1.41' (uid=1001 pid=14941 c>
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Successfully activated service 'ca.desrt.dconf'
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Activating service name='org.freedesktop.Tracker3.Miner.Extract' requested by ':1.26' (uid=1001 pid=14786 comm="/>
Aug 22 10:29:30 HP-EliteDesk-800 dbus-daemon[14633]: [session uid=1001 pid=14631] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
My laptop is not booting, it's stuck and getting an ACPI Error https://askubuntu.com/questions/1420428/my-laptop-is-not-booting-its-stuck-and-getting-an-acpi-error

My laptop is not booting. It's stuck at a black screen and getting an ACPI BIOS Error.

[    3.055061] mtd device must be supplied (device name is empty)  
[  TIME  ] Timed out waiting for device  /dev/disk/by-uuid/e4082096-0b0a-4283-a624-239ea2468238.  
[DEPEND] Dependency failed for /mnt/e4082096-0b0a-4283-a624-239ea2468238.  
[  TIME  ] Timed out waiting for device  /dev/disk/by-uuid/705f6803-bb7d-4549-b072-083654af942e.  
[DEPEND] Dependency failed for /mnt/705f6803-bb7d-4549-b072-083654af942e.  
[  TIME  ] Timed out waiting for device  /dev/disk/by-uuid/a555fb04-568c-4a91-a7c6-2015b78432dd.  
[DEPEND] Dependency failed for /mnt/a555fb04-568c-4a91-a7c6-2015b78432dd.  
[  TIME  ] Timed out waiting for device  /dev/disk/by-uuid/e2b20b32-8b68-4d7e-a7d0-4ed2603d8aa3.  
[DEPEND] Dependency failed for /mnt/e2b20b32-8b68-4d7e-a7d0-4ed2603d8aa3.  
[DEPEND] Dependency failed for /mnt/86c9df69-26a6-4b17-9923-517ed9783c1f.  
[FAILED] Failed to start System Logging Service.  
[   96.422104] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20210730/psargs-xxx)  
[   96.422296] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psargs-xxx)  
[  188.914147] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20210730/psargs-xxx)  
[  188.914360] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psargs-xxx)  
[  281.410091] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20210730/psargs-xxx)  
[  281.410317] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psargs-xxx)  
[  373.894211] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20210730/psargs-xxx)  
[  373.894441] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psargs-xxx)
WIFI gets HARD BLOCKED on Ubuntu 20.04.2, HP-15 series https://askubuntu.com/questions/1325028/wifi-gets-hard-blocked-on-ubuntu-20-04-2-hp-15-series

One Fine Day..I don't want to shut down my computer, So, “Suspended” it, When turned on next time ,
the problem starts, WiFi – Not Turning ON, Its not a detection problem, or Driver not found or any thing, the whole WiFi option not turning ON, 🥴 ..???

Into Debug Mode,

  1. Usual Restart, no result

  2. Battery Removed Power off - ON, No result

  3. As the "Suspend" Started the problem, trying a chance with several repeated suspends with, plug in and out the USB adaptor(Which is Tp link TL-WN725N), No result,

  4. Reset The BIOS to default, On my HP laptop, at booting, it is ESC -> F10 -> F9 -> set to default -> OK, No result,

    Also, BIOS not have any other options for WiFi.

  5. Now back to Ubuntu, open the terminal, from internet, understood Ubuntu got a "handy" soft suspending features to turn off connections like the WiFi and Bluetooth, so does a rfkill list all, that shows

    0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
    1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    

    WiFi got hard blocked, but how??, I’m using an HP-15 series laptop with a not working normal keyboard(it is unplugged too), using with an external keyboard.. The WiFi turn on/off keyboard keycode HP gives is Fn key + F12, but as I’m using external keyboard, Fn key not in the picture anymore.. Tried combinations of all f1 to f12 possible...no result..

    There are no other external keys for WiFi.

    Now It started to get seriously annoying, decided to go check in the dual-booted windows, whether it is affected or not, The WiFi works there as usual, with adaptor detecting from the first sight of the windows logo, but in Ubuntu, it behaves like, it never heard about WiFi.

  6. Tried sudo rfkill unblock all, sudo rfkill unblock 0 (which is the rfkill assigned code for w LAN) with no results (even-though I know it is “Hard” blocked).

  7. Then I get know from the internet some settings or conflicting drivers can be blacklisted in Ubuntu, so do this

    lsmod | grep hp
    
    # The results
    hp_wmi
    hp_wireless
    

    Blacklisting hp_wmi and a reboot solved this issue for some people, they've listed in web, I tried the same, but with no luck.. by going to /etc/modprobe.d/ select blacklist-hp.conf, blacklist.conf added blacklist hp_wmi -> reboot..., but no result same "Hard blocked: yes" also with the blacklist hp_wirelss, no improvements

    same

    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
    

    After this attempts, the only thing achieved was the numbers changed,now it is 1 for WiFi

  8. Where is this Soft blocked, hard blocked get stored, next that will be the concern, if I can find that file and alter the value It will be all good again,

    And Thankfully I founded this, based on the same problem described there, did the

    cat /sys/class/rfkill/rfkill1/hard
    
    # gives me a "1"
    # To make it 0, with all permissions
    sudo -i
    echo 0  >  /sys/class/rfkill/rfkill1/hard
    
    # gives me 
    echo: write error: Input/output error 
    # its fixed by hardware..no way to change
    

    Uninstall and installs the rfkill...(don't know what I'm doing..😵)

  9. Now its getting lost, trying to figure out an Ubuntu reinstall or a backed up timeshift can solve the problem, decided to check that, plugged in a bootable USB Ubuntu -> Try before install -> check if the Wifi loads or not., No its also shown as hard blocked :- YES

  10. Finally changed the laptop-keyboard only for the sake of getting WiFi back, pressed the key f12 with full confidence which is the hardware key for airplane mode (not only for WiFi)...still no use, that same hard blocked is killing me..

This is where I am now, I badly need this WIFI gets working on ubuntu, can anybody help..

How to control Logitech G915 TKL keyboard lighting in Linux Ubuntu? https://askubuntu.com/questions/1300455/how-to-control-logitech-g915-tkl-keyboard-lighting-in-linux-ubuntu

Logitech doesn't have an official driver for controlling the LED effects for Ubuntu. Is there any custom solution working (For example keyleds, openrgb, solaar, libratbag, anything else)?

What is the right way to install pipewire in ubuntu? https://askubuntu.com/questions/1274527/what-is-the-right-way-to-install-pipewire-in-ubuntu

As you know full-screen sharing is a missing option in Ubuntu Wayland session. I was going to join an online competition through google meet. Although you can share individual windows but not the entire screen. After searching for possible solutions I came across pipewire(I really don't know what it's).

I used their official manual to build it from source but there were no pages about its dependencies so I used apt-get install "dependency-name"* to install the available packages contain for each cmake dependency error dependency. By that, I got a lot of garbage packages installed in my system. But after installation, it was not working with Chrome (after enabling webrtc-pipewire flag) or Firefox. After struggling one hour I removed all installed files and packages from my system. I also tried it with Ubuntu's official pipewire packages(which was of an older version)

sudo apt install pipewire gstreamer1.0-pipewire libpipewire-0.2-1 libpipewire-0.2-dev libpipewire-0.2-doc

It made google meet not joining the conference. I also checked this manual and failed. I installed each of it's missing dependencies and failed.

What is the proper way to install pipewire on my Ubuntu 20.04?

Ubuntu 18.04 not detecting monitor size properly https://askubuntu.com/questions/1066879/ubuntu-18-04-not-detecting-monitor-size-properly

I just fresh installed Ubuntu 18.04, after some hassle I was able to install the nvidia-driver-396. I run a dual monitor setup being one a 29" ultra wide and one 24" 1080p, when I had Ubuntu 16.04 the system detected the monitors sizes without a problem, but for some reason on Ubuntu 18.04 the 29" is being detected as 34" and the 24" is being detected as 7", odd thing is that their resolutions are correct it is just the monitor size that is wrong.

VLC for some reason had huge icons on the "detected 7" monitor", I solved that by adding QT_AUTO_SCREEN_SCALE_FACTOR=0 in /etc/environment and /etc/profile.d/gnome-qt.sh

Although that solved the VLC issue the monitors sizes are still being wrongly detected, how can I solve it?

Here are some Screen Shots

This is the 29" monitor:

This is the 29" monitor

This is the 24" monitor:

This is the 24" monitor

Info on the nvidia driver:

Info on the nvidia driver

Ubuntu Won't Start: GNU GRUB version 2.02~beta2-36ubuntu3.17 https://askubuntu.com/questions/1057093/ubuntu-wont-start-gnu-grub-version-2-02beta2-36ubuntu3-17

I am trying to install Ubuntu on an empty, MBR, NTFS-formatted 500GB Samsung SSD. To do this, I downloaded ubuntu-18.04-desktop-amd64.iso onto my main hard drive, a Windows 10, 1TB NVME drive. I created a "live USB" using Rufus, writing in ISO mode (default), selecting MBR Partition Scheme for BIOS or UEFI (default), NTFS file system so I could select the 4096 cluster size shown in the tutorial. All other settings were default. The live USB seems to work fine.

When I restart my computer with the live USB set as the highest priority boot disk, I am presented with a command-line interface and the following message:

GNU GRUB version 2.02~beta2-36ubuntu3.17

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.

grub>

I was not presented with any other option. I tried downloading an older version of Ubuntu: ubuntu-16.04.4-desktop-amd64.iso, thinking there was an issue with the current version. I had the same error. I tried to restart without luck. I am posing this question because while there seem to be a number of posts seeking to address this issue, none of the solutions have worked for me.

Any leads or step-by-step advice for a less-technical person are appreciated.

How to solve the black screen problem on boot of Ubuntu 18.04 [duplicate] https://askubuntu.com/questions/1044241/how-to-solve-the-black-screen-problem-on-boot-of-ubuntu-18-04

I have upgraded from Ubuntu 17.10 to 18.04 using the Software Updater, but after the reboot, the boot is stuck at a black screen with some text and each line starting with a green OK. I don't want to clean install the OS again as I have some important files on the hard drive.

[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Socket activation for snappy daemon.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Speech Dispatcher...
         Starting Detect the available GPUs and deal with any system changes...
         Starting Tool to automatically collect and submit kernel crash signatures...
         Starting Thermal Daemon Service...
         Starting Save/Restore Sound Card State...
         Starting Login Service...
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Run anacron jobs.
         Starting LSB: automatic crash report generation...
[  OK  ] Started CUPS Scheduler.
         Starting Modem Manager...
[  OK  ] Started ACPI event daemon.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Record successful boot for GRUB...
         Starting Snappy daemon...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Login Service.
         Starting Network Manager...
         Starting Accounts Service...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Bluetooth service...
[  OK  ] Started irqbalance daemon.
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
         Starting Disk Manager...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Started Detect the available GPUs and deal with any system changes.
What does this apt error message ("Download is performed unsandboxed as root...") mean? https://askubuntu.com/questions/908800/what-does-this-apt-error-message-download-is-performed-unsandboxed-as-root

I get it after updating in Synaptic Manager

I recently did a clean install of Ubuntu 17.04 from 16.10.

error message:-

W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/samba-libs_2%3a4.5.8+dfsg-0ubuntu0.17.04.1_i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
how do I remove the last 5 lines in bash history? https://askubuntu.com/questions/903362/how-do-i-remove-the-last-5-lines-in-bash-history

How can I remove the last 5 lines in bash history? So that when I reload the Ubuntu server, or restart it they're not there at all?

history -c only removes it from current session, but when I re-login I see the commands again, I want to clear the last 5.

I've run:

history

Then i'll see the numbers of the commands e.g:

  489  cd ..
  490  cd .zshrc
  491  cat .zshrc

Then I run for example:

history -d 489
history -c 

Then i close terminal and reopen it and i still see line 489 it was only deleted for that current session, how do I delete it permentantly from all sessions going forward?

Ubuntu 16.04 doesn't boot https://askubuntu.com/questions/880202/ubuntu-16-04-doesnt-boot

I just installed Ubuntu 16.04 and it doesn't boot. I installed Boot-Repair, and told me to ask for help pasting the next url: http://paste2.org/dCtkYsj3

    ============================= Boot Info Summary: ===============================

     => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
        the same hard drive for core.img. core.img is at this location and looks 
        for (,msdos5)/boot/grub. It also embeds following components:
        
        modules
        ---------------------------------------------------------------------------
        fshelp ext2 part_msdos biosdisk
        ---------------------------------------------------------------------------

    sda1: __________________________________________________________________________

        File system:       swap
        Boot sector type:  -
        Boot sector info: 

    sda2: __________________________________________________________________________

        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info: 

    sda5: __________________________________________________________________________

        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 16.04.1 LTS
        Boot files:        /etc/fstab /boot/grub/i386-pc/core.img

    sda6: __________________________________________________________________________

        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  
        Boot files:        

    ============================ Drive/Partition Info: =============================

    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos

    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

    /dev/sda1    *          2,048     7,999,487     7,997,440  82 Linux swap / Solaris
    /dev/sda2           8,001,534   976,771,071   968,769,538   5 Extended
    /dev/sda5           8,001,536   105,656,319    97,654,784  83 Linux
    /dev/sda6         105,658,368   976,771,071   871,112,704  83 Linux


    "blkid" output: ________________________________________________________________

    Device           UUID                                   TYPE       LABEL

    /dev/loop0                                              squashfs   
    /dev/sda1        e2758148-acf7-485d-b669-61b0b0f0eefb   swap       
    /dev/sda5        2af5f65b-a97a-43ba-9bcf-d09e85135408   ext4       
    /dev/sda6        fc7f3fc0-0198-463e-b57f-a02273b68cca   ext4       
    /dev/sr0         2016-07-19-21-31-47-00                 iso9660    Ubuntu 16.04.1 LTS i386

    ========================= "ls -l /dev/disk/by-id" output: ======================

    total 0
    lrwxrwxrwx 1 root root  9 Feb  5 20:32 ata-ST9500325AS_6VE52ZRE -> ../../sda
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 ata-ST9500325AS_6VE52ZRE-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 ata-ST9500325AS_6VE52ZRE-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 ata-ST9500325AS_6VE52ZRE-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 ata-ST9500325AS_6VE52ZRE-part6 -> ../../sda6
    lrwxrwxrwx 1 root root  9 Feb  5 20:15 ata-Slimtype_BD_E_DS4E1S_911280860815 -> ../../sr0
    lrwxrwxrwx 1 root root  9 Feb  5 20:15 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdb
    lrwxrwxrwx 1 root root  9 Feb  5 20:32 wwn-0x5000c5001f10e65a -> ../../sda
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 wwn-0x5000c5001f10e65a-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 wwn-0x5000c5001f10e65a-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 wwn-0x5000c5001f10e65a-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Feb  5 20:32 wwn-0x5000c5001f10e65a-part6 -> ../../sda6

    ================================ Mount points: =================================

    Device           Mount_Point              Type       Options

    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sda5        /mnt/boot-sav/sda5       ext4       (rw,relatime,data=ordered)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)


    =============================== sda5/etc/fstab: ================================

    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    # / was on /dev/sda5 during installation
    UUID=2af5f65b-a97a-43ba-9bcf-d09e85135408 /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=fc7f3fc0-0198-463e-b57f-a02273b68cca /home           ext4    defaults        0       2
    # swap was on /dev/sda1 during installation
    #UUID=e2758148-acf7-485d-b669-61b0b0f0eefb none            swap    sw              0       0
    /dev/mapper/cryptswap1 none swap sw 0 0
    --------------------------------------------------------------------------------

    =================== sda5: Location of files loaded by Grub: ====================

               GiB - GB             File                                 Fragment(s)

      12.058845520 = 12.948086784   boot/grub/i386-pc/core.img                     1
      47.953727722 = 51.489923072   boot/vmlinuz-4.4.0-31-generic                  1
      47.953727722 = 51.489923072   vmlinuz                                        1
      12.635711670 = 13.567492096   boot/initrd.img-4.4.0-31-generic               5
      12.635711670 = 13.567492096   initrd.img                                     5

    ======================== Unknown MBRs/Boot Sectors/etc: ========================

    Unknown BootLoader on sda2

    00000000  dc 3b bd 2a e5 17 39 47  c3 8c fd 6b 02 a7 09 f9  |.;.*..9G...k....|
    00000010  8d d5 f3 0f 81 41 fe 78  cb 08 69 0e bd 4b e7 70  |.....A.x..i..K.p|
    00000020  9a 29 e2 74 93 bf e7 ba  e0 bb 6a 7c ad dc 1f db  |.).t......j|....|
    00000030  bb bd 0f ef fd 95 b3 5f  84 80 f8 65 72 e9 d6 9d  |......._...er...|
    00000040  62 76 f6 35 8f bd b8 8b  51 71 58 42 a1 37 30 ba  |bv.5....QqXB.70.|
    00000050  dd 1e 3d 95 d0 0c 45 27  c0 75 c0 7a e9 56 c4 bc  |..=...E'.u.z.V..|
    00000060  5b bd d4 30 3f 1f 6e ea  ce 1b f2 62 97 1c c0 8d  |[..0?.n....b....|
    00000070  dc 7d 98 14 54 e0 e6 7b  41 26 9b 54 2e 07 db d0  |.}..T..{A&.T....|
    00000080  2c 28 6b 2e 00 f0 a3 e1  15 4e fd 6e c5 ec c3 03  |,(k......N.n....|
    00000090  39 71 ac 05 53 08 27 78  89 34 bd a3 6a fa d6 81  |9q..S.'x.4..j...|
    000000a0  f0 24 08 4b 33 8e 67 bb  3d c0 98 6c ff a8 ae 9a  |.$.K3.g.=..l....|
    000000b0  fc 7d b0 99 59 18 a6 43  10 bf 7e 4e 94 89 9d e7  |.}..Y..C..~N....|
    000000c0  ad 57 40 e7 c2 71 01 19  1d a7 35 ab 02 f1 ed 29  |.W@..q....5....)|
    000000d0  8a 20 fe d4 b3 63 6d ae  78 83 49 47 cc 07 4c 37  |. ...cm.x.IG..L7|
    000000e0  19 8b d1 58 05 93 9d 24  c8 8e 29 3b 12 fe b1 18  |...X...$..);....|
    000000f0  9c c0 90 d0 22 67 49 af  c8 a2 db d3 92 cf 26 16  |...."gI.......&.|
    00000100  cd f0 bb cd dc eb 39 68  8d 50 fa 35 83 0a d8 74  |......9h.P.5...t|
    00000110  6f 9f 55 51 6f bb 1c a7  43 1e 32 2f c0 b0 62 41  |o.UQo...C.2/..bA|
    00000120  c8 15 87 10 d6 48 78 f4  51 42 98 e0 f5 38 c2 4f  |.....Hx.QB...8.O|
    00000130  81 6d 55 30 bd 9b 05 0f  9c aa 82 e0 8a b9 40 03  |.mU0..........@.|
    00000140  03 50 d4 02 f2 a0 fe 69  48 a0 fc 08 2e 33 e6 e7  |.P.....iH....3..|
    00000150  62 f3 18 24 87 9f 90 c8  bd 4e 17 9a 39 88 c0 a6  |b..$.....N..9...|
    00000160  75 63 8e af ac 40 d3 e3  14 1e af 86 8a e8 57 17  |uc...@........W.|
    00000170  39 1c 92 88 b5 6a 77 fc  14 21 0e 12 fb b0 29 06  |9....jw..!....).|
    00000180  ba fd f4 9c c9 c7 6e 1e  50 da 0f f8 a3 c3 af 3b  |......n.P......;|
    00000190  7c b2 de a5 5e a6 a9 d8  02 dd fb 7c 21 11 04 ed  ||...^......|!...|
    000001a0  39 f5 f3 4f a7 34 12 e1  f7 14 5a 30 7d 56 12 f7  |9..O.4....Z0}V..|
    000001b0  01 1c f8 68 af 03 48 4d  e4 d4 d0 75 42 f7 00 12  |...h..HM...uB...|
    000001c0  61 f2 83 fe ff ff 02 00  00 00 00 18 d2 05 00 fe  |a...............|
    000001d0  ff ff 05 fe ff ff 02 18  d2 05 00 28 ec 33 00 00  |...........(.3..|
    000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200


    ========= Devices which don't seem to have a corresponding hard drive: =========

    sdb 

    =============================== StdErr Messages: ===============================

    File descriptor 9 (/proc/20087/mounts) leaked on lvs invocation. Parent PID 26378: bash
    File descriptor 63 (pipe:[285846]) leaked on lvs invocation. Parent PID 26378: bash

    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2017-02-05__20h32 ===================
    boot-repair version : 4ppa40
    boot-sav version : 4ppa40
    glade2script version : 3.2.3~ppa1
    boot-sav-extra version : 4ppa40
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, i686)
    CPU op-mode(s):        32-bit, 64-bit
    file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- debian-installer/language=eu keyboard-configuration/layoutcode?=es
    ls: cannot access '/home/usr/.config': No such file or directory

    =================== os-prober:
    /dev/sda5:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux

    =================== blkid:
    /dev/sda5: UUID="2af5f65b-a97a-43ba-9bcf-d09e85135408" TYPE="ext4" PARTUUID="3051148a-05"
    /dev/sda6: UUID="fc7f3fc0-0198-463e-b57f-a02273b68cca" TYPE="ext4" PARTUUID="3051148a-06"
    /dev/sr0: UUID="2016-07-19-21-31-47-00" LABEL="Ubuntu 16.04.1 LTS i386" TYPE="iso9660" PTUUID="09b07823" PTTYPE="dos"
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="e2758148-acf7-485d-b669-61b0b0f0eefb" TYPE="swap" PARTUUID="3051148a-01"


    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.


    =================== sda5/etc/grub.d/ :
    drwxr-xr-x  2 root root    4096 ots  5 20:30 grub.d
    total 4
    -rwxr-xr-x 1 root root 1992 urt 28  2016 20_memtest86+



    =================== UEFI/Legacy mode:
    This live-session is not EFI-compatible.
    SecureBoot maybe enabled.


    =================== PARTITIONS & DISKS:
    sda5    : sda,  not-sepboot,    no-grubenv  nogrub, signed ,    no-update-grub, 32, with-boot,  is-os,  not--efi--part, fstab-without-boot, fstab-without-efi,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, apt-get,    nogrubinstall,  with--usr,  fstab-without-usr,  not-sep-usr,    standard,   not-far,    /mnt/boot-sav/sda5.
    sda6    : sda,  maybesepboot,   no-grubenv  nogrub, no-docgrub, no-update-grub, 32, no-boot,    no-os,  not--efi--part, part-has-no-fstab,  part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, nopakmgr,   nogrubinstall,  no---usr,   part-has-no-fstab,  not-sep-usr,    standard,   farbios,    /mnt/boot-sav/sda6.

    sda : not-GPT,  BIOSboot-not-needed,    has-no-EFIpart,     not-usb,    has-os, 2048 sectors * 512 bytes


    =================== parted -l:

    Model: ATA ST9500325AS (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags:

    Number  Start   End     Size    Type      File system     Flags
    1      1049kB  4096MB  4095MB  primary   linux-swap(v1)  boot
    2      4097MB  500GB   496GB   extended
    5      4097MB  54.1GB  50.0GB  logical   ext4
    6      54.1GB  500GB   446GB   logical   ext4


    Model: Slimtype BD E DS4E1S (scsi)
    Disk /dev/sr0: 1531MB
    Sector size (logical/physical): 2048B/2048B
    Partition Table: unknown
    Disk Flags:

    =================== parted -lm:

    BYT;
    /dev/sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:;
    1:1049kB:4096MB:4095MB:linux-swap(v1)::boot;
    2:4097MB:500GB:496GB:::;
    5:4097MB:54.1GB:50.0GB:ext4::;
    6:54.1GB:500GB:446GB:ext4::;

    BYT;
    /dev/sr0:1531MB:scsi:2048:2048:unknown:Slimtype BD E DS4E1S:;

    =================== lsblk:
    KNAME TYPE FSTYPE     SIZE LABEL
    sda   disk          465,8G
    sda1  part swap       3,8G
    sda2  part              1K
    sda5  part ext4      46,6G
    sda6  part ext4     415,4G
    sr0   rom  iso9660    1,4G Ubuntu 16.04.1 LTS i386
    loop0 loop squashfs   1,4G

    KNAME ROTA RO RM STATE   MOUNTPOINT
    sda      1  0  0 running
    sda1     1  0  0         [SWAP]
    sda2     1  0  0
    sda5     1  0  0         /mnt/boot-sav/sda5
    sda6     1  0  0         /mnt/boot-sav/sda6
    sr0      1  0  1 running /cdrom
    loop0    1  1  0         /rofs


    =================== mount:
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=2055988k,nr_inodes=207880,mode=755)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=413868k,mode=755)
    /dev/sr0 on /cdrom type iso9660 (ro,noatime)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
    tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=413868k,mode=700,uid=999,gid=999)
    gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
    /dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
    /dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)
    udev on /mnt/boot-sav/sda5/dev type devtmpfs (rw,nosuid,relatime,size=2055988k,nr_inodes=207880,mode=755)
    devpts on /mnt/boot-sav/sda5/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    proc on /mnt/boot-sav/sda5/proc type proc (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /mnt/boot-sav/sda5/run type tmpfs (rw,nosuid,noexec,relatime,size=413868k,mode=755)
    sysfs on /mnt/boot-sav/sda5/sys type sysfs (rw,nosuid,nodev,noexec,relatime)


    =================== ls:
    /sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 sda6 size slaves stat subsystem trace uevent
    /sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hidraw5 hidraw6 hidraw7 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg lightnvm lirc0 log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
    ls /dev/mapper:  control

    =================== df -Th:

    Filesystem     Type      Size  Used Avail Use% Mounted on
    udev           devtmpfs  2.0G     0  2.0G   0% /dev
    tmpfs          tmpfs     405M  6.5M  398M   2% /run
    /dev/sr0       iso9660   1.5G  1.5G     0 100% /cdrom
    /dev/loop0     squashfs  1.4G  1.4G     0 100% /rofs
    /cow           overlay   2.0G   88M  1.9G   5% /
    tmpfs          tmpfs     2.0G  284K  2.0G   1% /dev/shm
    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
    tmpfs          tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup
    tmpfs          tmpfs     2.0G  168K  2.0G   1% /tmp
    tmpfs          tmpfs     405M   72K  405M   1% /run/user/999
    /dev/sda5      ext4       46G  4.1G   40G  10% /mnt/boot-sav/sda5
    /dev/sda6      ext4      409G   72M  388G   1% /mnt/boot-sav/sda6

    =================== fdisk -l:
    Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/loop0: 1.4 GiB, 1488424960 bytes, 2907080 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x3051148a

    Device     Boot     Start       End   Sectors   Size Id Type
    /dev/sda1  *         2048   7999487   7997440   3.8G 82 Linux swap / Solaris
    /dev/sda2         8001534 976771071 968769538   462G  5 Extended
    /dev/sda5         8001536 105656319  97654784  46.6G 83 Linux
    /dev/sda6       105658368 976771071 871112704 415.4G 83 Linux




    =================== Suggested repair
    The default repair of the Boot-Repair utility would purge (in order to fix packages fix executable) and reinstall the grub2 of sda5 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s


    =================== User settings
    The settings chosen by the user will not act on the boot.
Can't boot Arch Linux in dual boot https://askubuntu.com/questions/523179/cant-boot-arch-linux-in-dual-boot

My history

I got a PC with an Intel 64-bit processor. There I have installed Ubuntu 14.04 LTS at /dev/sdb1 and Arch Linux at /dev/sda1.

Both swap onto /dev/sdb2.

I tried (with success) to install Arch Linux onto a SD-Card (/dev/sdc) for my Raspberry Pi. There I tried to install vim to the SD-Card using pacstrap. This produced a few errors. Then I plugged off my SD card reader.

After rebooting my PC I saw a GRUB_RESCUE> prompt. And the Line:

error:no such device:5a28b060-333c-479a-b5ed-58a7b9d8ae77.

This is the UUID of my Ubuntu partition (/dev/sdb1)

my first try:

Then I used my amd64 boot repair disc and installed GRUB onto /dev/sdb. Then I had to disable /dev/sda in the Bios and Ubuntu is booting nicely.

Arch was'nt shown up at this moment.

Then I ran sudo update-grub and rebooted. Then Arch Linux was shown up but if I selected

Arch on /dev/sda1 my satadisc or somthing like that produced a ugly sound and my PC rebooted.

The output was:

:~$ sudo update-grub
Grub-Konfigurationsdatei wird generiert …              #generating grub.cfg
Linux-Abbild gefunden: /boot/vmlinuz-3.13.0-35-generic     #Linux-image found
initrd-Abbild gefunden: /boot/initrd.img-3.13.0-35-generic
Linux-Abbild gefunden: /boot/vmlinuz-3.13.0-34-generic
initrd-Abbild gefunden: /boot/initrd.img-3.13.0-34-generic
Linux-Abbild gefunden: /boot/vmlinuz-3.13.0-33-generic
initrd-Abbild gefunden: /boot/initrd.img-3.13.0-33-generic
Linux-Abbild gefunden: /boot/vmlinuz-3.13.0-32-generic
initrd-Abbild gefunden: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Arch auf /dev/sda1 gefunden             #found Arch on /dev/sda1
erledigt                          #done 

interesting is that GRUB says only 'found Arch on /dev/sda1'.

my second try:

Then I tried to install GRUB onto /dev/sda and activated sda in the Bios. Then my machine produced again this ugly sound and I had to start again with the boot repair disc

my third try:

is this here. I checked the /boot folder of Arch and of Ubuntu and the differences are:

  • Arch has got two initramfs.img (one is fallback) images

  • Ubuntu has got a few initrd.img images(different versions)

  • Ubuntu has got a few System.map files(see above)

  • Ubuntu has got a few config files(again for the different versions)

  • Ubuntu has got a few 'abi' files(what's that?)

And the filesystem of my Arch-partition is not damaged.

By the way I don't want to reinstall Arch because my installation is at a point where it would be really a lot work to rebuild the system.

Could it be that my MBR of /dev/sda are damaged?

Now I want to be able again to start both operating systems properly.

wget does not download all the files, and links aren't converted https://askubuntu.com/questions/491284/wget-does-not-download-all-the-files-and-links-arent-converted

I tried

wget -pk http://www.bbc.com/news/

to download this news site and store a local copy.

-p is used to save all the files in order to view the website locally. -k converts the links so that they should point to the local file.

But when I open the local HTML file of that website, and I do a right click on the displayed images... the image file on www.bbc.com is opened.

How can I solve this?

Cursor positioning using mouse in bash possible? https://askubuntu.com/questions/433959/cursor-positioning-using-mouse-in-bash-possible

In Vim I can actually position the cursor in insert-mode using the mouse. So I assume this should (technically) also be enable-able for the bash. Is it possible? This would be quite useful at times when small changes have to be made to very long commands.

(I am using fish actually, but I guess referring to bash I reach a wider audience.)

Stop Time Sync Between Host and Guest - VirtualBox https://askubuntu.com/questions/155450/stop-time-sync-between-host-and-guest-virtualbox

So I've been googling and I've tried the following commands. I want to stop the virtual machine from having the correct time and just to stick with what time it last recorded. The host operating system is Ubuntu 12.04 and the guest is Windows XP. I've turned time syncing off in XP so it won't do that when I connect to the Internet. However it does appear to take the time from ubuntu and set it as it's own.

VBoxManage setextradata XP11 “VBoxInternal/TM/WarpDrivePercentage” 200

vboxmanage setextradata XP11 "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1"

Both commands haven't work as the time is always set to the exact same as Ubuntu's. I've located the extradata entry in the virtualbox XML file. It states both changes that the commands above are set to make. But of course it still hasn't stopped updating the time.

<ExtraData>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="1152,864"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="74,52,1152,911"/>
      <ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>
      <ExtraDataItem name="&#x201C;VBoxInternal/TM/WarpDrivePercentage&#x201D;" value="200"/>
    </ExtraData>
How do I list connected displays using the command line? https://askubuntu.com/questions/121014/how-do-i-list-connected-displays-using-the-command-line

Is there a command that will list displays connected to the computer?

Specifically, I'm looking to find out how my external monitor is being detected by the system when connected by HDMI cable and what it's (not sure of the correct term here) hardware address is (eg. "CRT-0" or "DFP-1").

This is just a general question, but for reference, I'm using:

  • Asus UL30JT laptop - running Ubuntu 12.04 beta and 11.10
  • Asus PA238 23" monitor
  • HDMI 1.4 cable
  • Optimus graphics (Intel + nVidia GeForce 310M) - running with Bumblebee
How to check if cron job is not running? https://askubuntu.com/questions/93313/how-to-check-if-cron-job-is-not-running

I have a crontab file that looks like this:

* * * * * /home/abliskovs/update/update.sh

However when I check the syslog for evidence that the job has run, there is nothing that might indicate that it ever ran.

crontab -l outputs the following:

* * * * * /home/abliskovs/update/update.sh

How can I check if it's running?