Skip to content

u/Pryre

In this archive from Jan 2016 to Nov 2022

4
posts
55
comments
3
media
1.1k
score

Are you dual booting? On my desktop, if I boot did a shutdown from windows it would leave the WiFi chip in a bad power state. When I booted to Arch it would not show up. The solution was to disable power management (I think to stop putting the device to sleep?) of the device through Windows device manager.

2 points

If you're having issues with the Bluetooth not being available after booting into windows, it might be because Windows is putting the device into a weird sleep state. This happens on my PCI WiFi/Bluetooth card. Disabling automatic power saving (turn off) for the device in Windows fixed that issue for me.

14 points

EFI stub is great. My current setup has EFI stub for Arch as default, then windows and systemd-boot (same Arch, Ubuntu, and recovery) accessible from the UEFI boot select.

That way 90% of the time I get straight where I need to without waiting, and the times something else is up, I have every option I need. It's worth noting that I'm supposedly lucky with having a decent UEFI motherboard. If you have it, you may as well use it though!

11 points
  • Fish for terminal shell: it is easy to use, quick to set up, and is overall quite intuitive with some nice features. I avoided zsh because I didn't want to go through the plugin nightmare.
  • sh (dash) for quick scripts: I use a few different systems and versions of OS, this keeps things compatible.
  • Python for complex: some things you just can't do very easily in sh (parse args, open devices), and some times the amount of data is too much to keep going through with sed/grep. Plus, Python support seems to be nearly everywhere.
3 points

I've been using Wayland with Sway for the past year. Some GDK programs are still having problems (e.g. thunar) for me, but overall I'm very happy. Switched to a more Qt centric suite which seems a bit more stable in general.

I personally haven't had any issues gaming using Steam. Multi monitor support is great, as well as full screen and no screen tearing.

I would definitely recommend it, but going the Sway route will take some time to get a solid setup going that meets your needs. Most complaints in this thread aren't things that I've needed, so I might have a different view to other people.

2 points

The point was the theming and layout, not specifically what is on my home tab. Although it probably wasn't necessary I'll admit as gaps are practically everywhere.

1 points

Here is my backend/theming setup. Seems to do well most of the time for consistency across GTK and Qt. Works well enough that I get confused which is which if Thunar and pcmanfm are both open, so that's something at least.

###Backends
#
#This may cause crashes

#GTK
export GDK_BACKEND=wayland
#export CLUTTER_BACKEND=wayland

#Qt (should use wayland by default)
#export QT_QPA_PLATFORM=xcb
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1

#SDL
#export SDL_VIDEODRIVER=wayland

#Java
export _JAVA_AWT_WM_NONREPARENTING=1

### Theming
#
export QT_QPA_PLATFORMTHEME="qt5ct"

gsettings set org.gnome.desktop.interface cursor-theme capitaine-cursors
gsettings set org.gnome.desktop.interface icon-theme la-capitaine-icon-theme
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark

Where "qt5ct" is from the AUR, and is configured to also use an adwaita dark theme.

1 points

Have this issue as well with the flatpak version. I'm pretty sure it's an electron issue, as other electron apps seem to have similar issues.

The way I get around it is to just use it in-browser. Saves on system resources and doesn't need 100s of MBs, so that makes me a happy camper as well.

1 points

I think you might be on the right track. The rendering issue I was describing was only occurring on windows that were in a "second layer" above the background.

Tried with both xfce4-wm and whatever is included in the lxqt desktop environment, similar effects occur in both to some degree. st has the same issues, so no dice there. I can't reproduce it at all on my desktop PC with the same software setup, so perhaps this is a something to do with the laptop integrated GPU? I have to mess around a lot to get it working due to BIOS bugs, so I wouldn't be quick to write the possibility of hardware issues off.

I suppose the next thing taking a step backwards would be to try create on a plain X11 screen (will have to look into this more), or perhaps try something in wayland. Thoughts?

1 points

I have a ThinkPad E485. Works well but the BIOS is pretty much useless thanks to PCIE bugs. Main resources to boot pulled from here.

Kernel parameters that I use for a good running experience:

Needed to boot:

ivrs_ioapic[32]=00:14.0

Fixes SD Card reader (I think):

ivrs_ioapic[33]=00:00.1

Needed to get PCIE errors reduced (basically adaptive power saving modes (aspm) don't work:

iommu=pt pcie_aspm=off 

Get rid of i2c touchpad issues:

psmouse.synaptics_intertouch=1

Fixed problem with bluetooth (is actually an internal USB devices) turning off completely because the kernel tried to put them into low power mode and it freaks out:

usbcore.autosuspend=-1

Good luck!

Also, if someone can tell me why MATLAB would cause my entire system to lock up when JVM is initialized, but only when I'm running with smp, that would be awesome.

EDIT: 5 ninja-edits in a row because I couldn't make my mind up on formatting. Looks like my git commit style is bleeding into the real world.

2 points

You're right in thinking there must be a way to manually fix it. I had a similar issue where I flashed the usb but the label wasn't ARCH2018...

Anyhow, to fix it, you should be dropped into a terminal after the no disk label error occurs. That error should also tell you that it is waiting for the disk to be mounted I a specific directory. All you have to do is identify your device of the DVD, manually mount that to the directory it is asking for, then exit the emergency prompt. The installation should continue as normal.

I can't remember the steps better than that off the top of my head, but if you can take a photo of the error text, I can probably list the commands you need to run.

1 points

It might be a good idea to look into using Swap instead of just committing to putting /tmp on your HDD. It technically achieves the same thing, but it is automated and should give better performance (i.e. it copies RAM pages that are not currently being used to HDD, and vice versa, to maximize performance verses available memory).

The major benefit being that you can adjust the swappiness to direct the kernel on being more or less aggressive with managing your RAM usage.

3 points

For your case specifically, maybe it is easier to compile and install the package to a local directory in your home folder. Then you can just add the local bin folder to your path, and your shell will use the local one over the system one.

Not the best solution from a system point of view, but it would allow you to have a maintained system one as a fallback if needed for whatever reason.

1 points

I had a similar issue a while back when I used LiLi to make the boot disk. Basically, the iso was looking for a disk with the label "ARCH18-02" or something, but my usb was labeled "MYLINUXLIVE".

If you have a similar issue, you should be dropped back into a shell where you can make a symlink in /dev/disk/by-label/, then when you drop the shell, it should resume boot normally.

1 points

Thanks a lot for the patient explaination. For some reason I read it as "light" "son+" instead of "lights" "on". I don't know why I even thought it was javascript, serves me right for not looking at the git properly.

I wasn't aware of the issues with browsers blocking screensavers, but that's great to know for the future, as I'm sure it will save quite a lot of frustration.

1 points

In general and at the very least for systemd-boot, you need to copy the init img and linux binary to somewhere in the boot partition, set up your boot entry, then specify the root partition in the options line.

1 points

You have to add the PGP keys in the AUR manually, as the users may not be in the trusted maintainers list. This doesn't mean you shouldn't trust them, just that its your choice.

1 points

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.