Dell XPS 13 (7390)

HardwarePCI/USB IDWorking?
VideoYes
WirelessYes
BluetoothYes
AudioYes
TouchpadYes
WebcamYes

Screen

Backlight

Install acpilight or lightAUR to set the display backlight. Add the following udev rule and your user to the video group:

/etc/udev/rules.d/90-backlight.rules
SUBSYSTEM=="backlight", ACTION=="add", \
  RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
  RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"

To avoid automatic backlight dimming, enter BIOS(F2 at boot) and disable "EcoPower" option in "Video" section

Screen glitching or flickering

Panel Self-Refresh (PSR) may need to be disabled to avoid screen flickering in some systems. You may also need to disable DRI in your Xorg configuration file to resolve these issues.

Warning: Disabling graphics acceleration via the DRI option will reduce performance in GPU intense applications such as video games.

Battery

It is possible to set the start and stop charging thresholds similar to TLP for ThinkPads using dell-command-configureAUR.

Example:

# /opt/dell/dcc/cctk --PrimaryBattChargeCfg=custom:75-80
PrimaryBattChargeCfg=Custom:75-80

To reset the thresholds at reboot simply add a cronjob:

@reboot /opt/dell/dcc/cctk --PrimaryBattChargeCfg=custom:50-80

To reset battery thresholds using a systemd-timer and a corresponding unit:

edit /etc/systemd/system/dell_battery.timer:

/etc/systemd/system/dell_battery.timer
[Unit]
Description=Set charging thresholds for battery

[Timer]
OnBootSec=5

[Install]
WantedBy=timers.target

edit /etc/systemd/system/dell_battery.service:

/etc/systemd/system/dell_battery.service
[Unit]
Description=Set charging thresholds for battery

[Service]
ExecStart=/usr/local/bin/dell_battery_thresholds.sh
RemainAfterExit=yes

[Install]
WantedBy=default.target

edit /usr/local/bin/dell_battery_thresholds.sh:

/usr/local/bin/dell_battery_thresholds.sh
#!/bin/bash
/opt/dell/dcc/cctk --PrimaryBattChargeCfg=custom:75-87

make the script executable and enable dell_battery.timer.

Function/Multimedia Keys

Key Visible? Working? Effect
Fn+F1YesYesXF86AudioMute
Fn+F2YesYesXF86AudioLowerVolume
Fn+F3YesYesXF86AudioRaiseVolume
Fn+F4YesYesXF86AudioPrev
Fn+F5YesYesXF86AudioPlay
Fn+F6YesYesXF86AudioNext
Fn+F7YesYesTask view : sends Super+Tab followed by a key with keycode 0x0
Fn+F8YesYesSwitch to external display : sends Super+p
Fn+F9YesYesXF86Search
Fn+F10YesToggle keyboard backlight
Fn+F11YesYesPrint
Fn+F12YesYesInsert
Fn+HomeYesYesXF86RFKill
Fn+EndYesYesXF86Sleep
Fn+UpYesYesXF86MonBrightnessUp
Fn+DownYesYesXF86MonBrightnessDown

Keybindings

Check out Keyboard shortcuts#Customization, your DE/WM's documentation or the relevant articles in the wiki (e.g. backlight, PulseAudio#Keyboard volume control, ...) to learn how to set up keybindings and shortcuts for your environment.

Volume keys

Use xbindkeys to map the volume buttons.

~/.xbindkeysrc
# Increase volume
"pactl set-sink-volume @DEFAULT_SINK@ +1000"
   XF86AudioRaiseVolume

# Decrease volume
"pactl set-sink-volume @DEFAULT_SINK@ -1000"
   XF86AudioLowerVolume

# Mute volume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
   XF86AudioMute

Change thermal settings to reduce fan noise

Under default setting, the thermal tables controlling fan speed are fairly aggressive; they apparently try to keep the CPU below 40 degrees celsius. This is useful to have a large thermal buffer for spikes in CPU usage, but it does keep the fan constantly running even when idle (depending on ambient conditions).

The smbios-thermal-ctl utility can be used to select one of four pre-defined thermal profiles. Ensure libsmbios is installed. Then, run

# smbios-thermal-ctl -i

to see the supported profiles. Executing

# smbios-thermal-ctl --set-thermal-mode=Quiet

gave a silent-in-idle operation under light use in a warm room. See Dell XPS 13 (9370)#Thermal Modes / Fan profiles for more information.

References

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.