Screen Brightness wont change Ubuntu 18.04 Intel

Cant change the brightness with keys or through the bar on the top right.

ive changed my /usr/X11/xorg.conf.d/FILEHERE multiple times with different given solutions and each one breaks my computer to command line only.

Ive made changes to my /etc/default/grub to include/change

GRUB_CMDLINE_LINUX_DEFAULT="quite splash"  

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" 
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=video" 

And even tried adding a backlight file (to which i get a not allowed error even running in sudo), on.

/sys/class/backlight 

but since I am not allowed i am all that is in my /sys/class is

.              drm             mdio_bus      printer       tpm ..             drm_dp_aux_dev  mei           ptp           tpmrm ata_device     extcon          mem           pwm           tty ata_link       firmware        misc          rapidio_port  usb_role ata_port       gpio            mmc_host      regulator     vc backlight      graphics        nd            rfkill        vfio bdi            hidraw          net           rtc           video4linux block          hmm_device      pci_bus       scsi_device   virtio-ports bluetooth      hwmon           pci_epc       scsi_disk     vtconsole bsg            i2c-adapter     phy           scsi_generic  watchdog devcoredump    i2c-dev         powercap      scsi_host     wmi_bus devfreq        ieee80211       power_supply  sound devfreq-event  input           ppdev         spi_master dma            iommu           ppp           spi_slave dmi            leds            pps           thermal 

Any help at all is greatly appreciated.

ps: Sorry about the my wining, Just annoyed with breaking my computer multiple times while being blinded by my max light laptop monitor.

Screen Brightness wont change Ubuntu 18.04 Intel

Cant change the brightness with keys or through the bar on the top right.

ive changed my /usr/X11/xorg.conf.d/FILEHERE multiple times with different given solutions and each one breaks my computer to command line only.

Ive made changes to my /etc/default/grub to include/change

GRUB_CMDLINE_LINUX_DEFAULT="quite splash"  

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" 
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=video" 

And even tried adding a backlight file (to which i get a not allowed error even running in sudo), on.

/sys/class/backlight 

but since I am not allowed i am all that is in my /sys/class is

.              drm             mdio_bus      printer       tpm ..             drm_dp_aux_dev  mei           ptp           tpmrm ata_device     extcon          mem           pwm           tty ata_link       firmware        misc          rapidio_port  usb_role ata_port       gpio            mmc_host      regulator     vc backlight      graphics        nd            rfkill        vfio bdi            hidraw          net           rtc           video4linux block          hmm_device      pci_bus       scsi_device   virtio-ports bluetooth      hwmon           pci_epc       scsi_disk     vtconsole bsg            i2c-adapter     phy           scsi_generic  watchdog devcoredump    i2c-dev         powercap      scsi_host     wmi_bus devfreq        ieee80211       power_supply  sound devfreq-event  input           ppdev         spi_master dma            iommu           ppp           spi_slave dmi            leds            pps           thermal 

Any help at all is greatly appreciated.

ps: Sorry about the my wining, Just annoyed with breaking my computer multiple times while being blinded by my max light laptop monitor.

Ubuntu won’t execute script on shutdown/restart

I’ve been looking through various pages on this site and others looking for a way to execute a script on shutdown and restart, but none of them are working for me. I’ve tried placing bash scripts in /etc/init.d/ and linking them to /etc/rc0.d/ and /etc/rc6.d/, but they won’t run on shutdown or restart. I’ve also tried using the update-rc.d command to create new services, but a) they don’t work, and b) they don’t even create a new link in the rc?.d folders.

Excel Web Access Web Part won’t load any workbook

I’ve been attempting to troubleshoot an issue on my SharePoint 2016 site with the Excel Web Access. I’m trying to embed a simple work sheet into a page. I should simply be able to open the Web Part menu, and select the workbook, as seen in this screenshot: enter image description here

However, nothing happens once I select OK or Apply. The page simply refreshes and nothing happens. I am able to open any workbooks in the Excel Web App by clicking on them in the document library, as expected: enter image description here

I’ve already attempted to reload the Office Online server in to Sharepoint, which made no difference in the issue.

This was not a problem in SharePoint 2013.

Grub repaired after W10 update, but now W10 won’t boot

I have W10/Ubuntu 18 dual boot, both systems on one SSD (booting BIOS, not UEFI) Recent W10 update messed up my partitions and I got grub rescue screen. I was able to fix it with recovering linux partition using parted rescue. After that I was able to boot, selected W10 and it successfully finished the update process. After that I was able to boot int Ubuntu, but with a slight issue – “No symbol table”

I run

sudo grub-install /dev/sda sudo update-grub 

It fixed the linux boot, but now when I select my W10 from grub menu it just reboots and back to the grub menu.

Here is my disk partitions:

~$   sudo parted /dev/sda print Model: ATA Samsung SSD 850 (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:   Number  Start   End    Size    Type      File system     Flags  1      1049kB  106MB  105MB   primary   ntfs  2      106MB   144GB  144GB   primary   ntfs            boot  3      144GB   144GB  543MB   primary   ntfs            diag  4      144GB   256GB  112GB   extended  6      144GB   248GB  104GB   logical   ext4  5      248GB   256GB  8210MB  logical   linux-swap(v1) 

My W10 is number 3, which I confirm by ls (hd0,msdos2)/ in grub

What I see in the grub.cfg for W10 section:

menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $  menuentry_id_option 'osprober-chain-68349BA7349B7732' {         savedefault         insmod part_msdos         insmod ntfs         set root='hd0,msdos1'         if [ x$  feature_platform_search_hint = xy ]; then           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  68349BA7349B7732         else           search --no-floppy --fs-uuid --set=root 68349BA7349B7732         fi         parttool $  {root} hidden-         drivemap -s (hd0) $  {root}         chainloader +1 } 

That seems to be wrong as it points to hd0,msdos1 the small reserved partition, the UUID of W10 partition is 86CA9C8FCA9C7CDD and it is hd0,msdos2 (/dev/sda2)

I tried to re-run os-prober and update-grub, but nothing changes. Please help me to recover my W10 booting from grub menu, thanks in advance.

How do I install Brave Browser if my key is expired and won’t update?

I am not able to install Brave Browser and cannot seem to fix it.

W: GPG error: https://brave-browser-apt-release.s3.brave.com cosmic  InRelease: The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software <support@brave.com> E: The repository 'https://brave-browser-apt-release.s3.brave.com cosmic InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. 

I tried sudo apt-key list | grep expired and got:

pub   rsa4096 2018-10-15 [SC] [expired: 2019-04-13] uid           [ expired] Brave Software <support@brave.com> 

I did sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 4FE13824E3FFC656 and got:

Executing: /tmp/apt-key-gpghome.1CQeA81kHh/gpg.1.sh --keyserver keys.gnupg.net --recv-keys 4FE13824E3FFC656 gpg: keyserver receive failed: No data 

Now I am stuck. Can anyone help?

Ubuntu won’t recognize Razer Core X Chroma

I think this is the first time I haven’t been able to find a solution or piece together one on Google before so here I go.. I have a 13″ Razer blade and a Razer Core X Chroma. It connects perfectly and easily over Windows but I’d like to be able to make it work on Ubuntu too. I’m on a fresh install other than the fact I updated some intel drivers and installed amd drivers (for my Radeon RX Vega 64 from the amdgpu-install script). The first (and maybe largest hurdle) is that I can’t get ubuntu to recognize the dang thing’s even plugged in. The settings gui just shows the standard “Thunderbolt could not be detected.” grayed out error while lspci shows the following output-

lspci 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08) 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21) 00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1) 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32) 02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02) 03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02) 03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02) 03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02) 04:00.0 System peripheral: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] (rev 02) 05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) 3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 

Also boltctl power -q shows the following-

supported: yes power state: on 1 active power guards: guard '4' ├─ who: boltctl └─ pid: 2650

Both boltctl list and boltctl domains show absolutely nothing. I honestly don’t care about using the GPU, I just want to be able to use my keyboard and mouse that’s hooked to it so if anyone can help me, I promise you $ 20 anyway you want it.

Why won’t my Ubuntu 18 laptop start up the desktop?

I was having trouble using SSH with my gnome shell, so I decided to upgrade (sudo apt upgrade)my operating system after an update (sudo apt update) did not work. Then my terminal output indicated that it was unable to upgrade gnome-shell and gnome-shell-common because the dependencies were not met.

An article online suggested that I remove the information after Depends: in /var/lib/dpkg/status for those two packages, and I was dumb enough to try that. That step allowed me to force the upgrade, but I must have broken something as the GNOME desktop no longer launches.

I am able to get in to the terminal, but not my desktop. How can I get GNOME to launch again?

When I try to start my computer now, I get the following messages after the desktop fails to start.

7.162243] Bluetooth: cdi0: command 0xfc8e tx timeout 

then my login attempt is interrupted by the following messages.

[  15.386381] Bluetooth: hci0: sending Intel patch command (0xfc8e) failed (-110) [  15.386557] Bluetooth: hci0: sending frame failed (-19) [  17.402388] Bluetooth: hci0: command 0xfc11 tx timeout [  17.386394] Bluetooth: hci0: Exiting manufacturer mode failed (-110) 

After that I am able to reach a command prompt.

I would be fine with removing bluetooth from my computer; I never use it.

At one point, my computer was also returning an error about /etc/alternatives/gdm3.css being an invalid argument. I think that was after GNOME broke though. I copied the gdm3.css file from `/usr/share/gnome-shell/theme/gdm3.css to fix that error though.

Oh, and there was a message from the terminal about the /var/lib/dpkg/status file needing a colon after an attribute, but I believe that was before I broke the OS. I edited the file exactly as it asked me, and the error went away.

CLion wont track compiler via wsl

downloaded compiler and everything. Tho for some reason it downloads only cmake 3.10 and I need 3.15. I updated it following this guide How do I install the latest version of cmake from the command line? but my clion just wont use the cmake 3.15 prntscr of terminal and clion toolchain settings. Im quite begginer to this, I used to code in C, but I had to learn c++ in which I need newer version of cmake. Thank you very much for every advice.