Skip to content

u/Shmanio

In this archive from Sep 2017 to Feb 2022

34
posts
56
comments
4
media
2.3k
score

Cannot run rust programs

Whenever I try to run a program written in rust as a normal user, it does not work. I first noticed this while trying Veloren, and I thought it was their issue. I have then downloaded ruffle-rs to play some old swf files, and got the same error: memory allocation of 5404319552844632832 bytes failed....

1 points6 comments
Open on Reddit

Can't connect to bluetooth devices

I cannot connect any device to my laptop via bluetooth. I tried using the kde plasma gui and with the command line. In both cases bluetoothctl show says the controller is powered, discoverable and pairable, but nothing (phone/headphones/mouse) can see it. Any ideas? The card is a Broadcom BCM43142A0...

3 points0 comments
Open on Reddit

Combo jack not working

I've never really used headphones, so only now I noticed that the combined (4-pin) audio connector is only recognized as an audio output. I tried what is written in the wiki, using models dell-headset-multi and headset-mic, since there isn't anything more s

2 points4 comments
Open on Reddit

VLC fullscreen issue

When playing a video in fullscreen, VLC resizes the toolbar and it covers the screen. Here is an example (with screenshots): The video plays normally, the toolbar is hidden. If the mouse is moved the bar is shown, however it is the wrong size and covers almost all of the screen. While the mouse is o...

1 points6 comments
Open on Reddit

BIOS does not see the bootloader

I have recently installed an SSD in my laptop (Asus), removing the CD reader. I have installed the OS in the SSD, however it doesn't boot properly. When I start the computer the Asus logo appears, then the BIOS opens and the "Boot" section (also the "Boot override" under "Exit") is empty. If however...

4 points8 comments
Open on Reddit

Calibre 3.38 crashes

I haven't been using calibre for about two months and today I tried to open it and it doesn't even start. Running $ calibre from the command line just outputs Segmentation fault (core dumped) and quits (even with the --ignore-plugin or --version options). I tried deleting calibre's .config folder, m...

4 points10 comments
Open on Reddit

Page zoom in mupdf

I'm using mupdf to read files that have some pages of different sizes. I use Z to fit the current page in the screen, but the zoom level remains the same between pages. Is there a way to adjust automatically on page change?

2 points1 comments
Open on Reddit

Execute list of substitution

I have a folder containing some text files and another file that contains a list of substitutions I'd like to make in them. What is the most efficient way of doing this in a shell script? I have used regular expressions and sed before, but never to check for lots of patterns. EDIT: here's an example...

1 points6 comments
Open on Reddit

Did they remove checkupdates?

I have a script that automatically counts the number of updatable packages and I noticed the counter stopped at 0 some days ago. Today I tried running `pacman -Syu` out of curiosity and found 300+ updates. If I run `checkupdates` I just get a `command not found`. I haven't found anyone else having t...

10 points12 comments
Open on Reddit

Stream to chromecast

I'm using Arch Linux, VLC's version is . I know that with VLC 3.x you can stream to a chromecast, however when I open Playback > Render it only shows "<local>" and under that "Scanning...", and stays like that. Is this somehow disabled in Linux or similar?

2 points1 comments
Open on Reddit

Laptop gets assigned always the same IP

My Arch laptop always gets the IP 192.168.1.101 when I connect to my home router. This is not a bad thing, as everything works, however I'd like to understand where is this set. I'm using NetworkManager. EDIT: as it turns out, I set the IP once months ago and the router is just giving that address b...

1 points5 comments
Open on Reddit

Use rofi to search the web

I've found this script, but it only works if explicitely launched (and requires two inputs, the search engine and then the query). I've also tried the script discussed here. This is better, as can be used as a rofi mode, but only opens the engine web page. Does someone

3 points3 comments
Open on Reddit

CUPS printer connected but not printing

I have set up my Brother MFC-J4620DW printer in the CUPS server. The printer is connected and ready, however when I try to send it some file (even the test page) it receives the data and then goes idle. It doesn't show any kind of error, just seems to be ignoring the files. I've already tried recove...

1 points8 comments
Open on Reddit

Sending notifications after cron jobs

I've written some scripts that are run periodically by fcron, however I can't make it display notifications or execute some commands. In particular: even a test shell script containing only notify-send "adsf" "asdf" is executed without problems by a terminal, but fcron shows nothing (the line is <ti...

1 points2 comments
Open on Reddit

ranger image preview in termite

I'm currently using termite as default, but noticed that the image previews in ranger do not work. I've read that it is because of the transparent terminal, but using urxvt the images are rendered. By trial and error I discovered that w3mimgpreview returns 1 in termite (while rendering in urxvt). Wh...

4 points3 comments
Open on Reddit

Unread RSS feeds count

I've recently discovered newsboat and I like it but would like to know if there is a way to count the unread feeds without aving to open the program. (for example some parameter that when passed makes newsboat just print the titles and quit. Alternatively, is there another similar terminal applicati...

3 points2 comments
Open on Reddit

Auto download of packages

I currently have a root crontab that each hour runs pacman -Syuw --noconfirm, so that it downloads packages and I save time when I can actually install them. Is this a good idea or are there some unforeseen consequences? Bonus question: how can I find out which packages have already been cached?

0 points8 comments
Open on Reddit

Issue with Suspend Sedation script

I've started using this script on my laptop so that after an hour of suspension it hibernates to avoid battery discharge. While the computer is connected to a power source it works perfectly, but otherwise the script doesn't seem to be executed. Obviously, while it is connected to a power source I d...

1 points0 comments
Open on Reddit

Need help with i3

I've been using KDE Plasma for a lot of time, and I'm now trying i3wm. My problem is that I can't connect to any wi-fi network using netctl, NetworkManager or wicd. The workaround I found at the moment is to open the kde settings and connect to the network through those. Thank you, any suggestion is...

0 points9 comments
Open on Reddit

Connect to a network that requires a login

In my city (and also school) we have an unprotected network that requires a login through the browser to be used. My problem is that if I use an ethernet cable it works fine, while if I try to login over wifi it just loads the login page forever. I have tried both Firefox and Chromium. Does someone...

0 points3 comments
Open on Reddit

What is this?

When booting my PC tries to enable sys-subsystem-net-devices-multi-user.device, failing every time (it stops after one minute and a half). Can someone explain to me what is it or how do I blacklist of?

0 points1 comments
Open on Reddit

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.