Skip to content

u/malefairy

In this archive from Apr 2015 to Mar 2016

6
posts
20
comments
1
media
122
score

The scripts I'm using are in my dotfiles right here. All it's doing is getting the SSID using this oneliner:

iw "$WIFI_INTERFACE" link | grep "SSID" | sed 's/SSID: //' | sed 's/\t//

Hope to be of assistance!

2 points

Yeah, me too. Do you maybe have a clue as to what the problem might be with linux thinking it is docked? It might be that the laptop ran out of power while in docking mode. Me then taking the cables out and taking it to school. While it's powered off it doesn't see the change and thinks it still docked.

1 points

Changed that line in logind.conf, rebooting now. I'll report back in a sec if it worked.

EDIT: Read your comment wrong, I meant to say that I sometimes use the laptop as a docking station. Right now its just the laptop, no external monitor or keyboard. It stil isn't suspending.

EDIT EDIT: Changed the line that says #HandleLidSwitchDocked=ignore to HandleLidSwitchDocked=suspend, now it works. So that must mean the laptop thinks it is stil in docked mode? Solved one problem to find another.

1 points

Yes i dit create the Modeline with cvt, and after that addes the mode with xrandr --newmode, that workded as intended.

EDIT: The addmode doesn't work, just for clarity, I get this error:

$ xrandr --addmode DVI-I-0 "1680x1050_60.00"
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  39
  Current serial number in output stream:  40
1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.