Skip to content

u/BasioMeusPuga

In this archive from Nov 2011 to Jul 2017

10
posts
48
comments
2
media
306
score

Top posts

All ttys become unresponsive

I'm afraid I don't know where to go next. What happens is that ttys are normal after a reboot. However, after a seemingly random amount of time, all ttys become unresponsive. The underlying process remains functional (I can do stuff like "ls > file", but the the text refuses to update). I've tried t...

25 points8 comments
Open on Reddit

ELI5 Hardware accelerated video

An -Syu today upgraded mesa to 10.4.0-1. New optional dependencies include libva-mesa-driver and mesa-vdpau for "accelerated video playback" I'm using Intel's opensource drivers and I already have libva and libva-intel-driver installed. My question is, what might the additional packages do, and what...

14 points2 comments
Open on Reddit

Top comments

There are a few scripts running in the background here. I'll link to them as necessary. Let me know if I've left anything out.

  • Dock: Docky. Fun drinking game: Do a shot every time Docky crashes when pacman is updating.

  • Icon theme: Betelgeuse. It's incomplete so the deficit is filled by Faenza.

  • Plasma theme: Opaquity. I didn't like its panel icons so I'm using Ronak's. That mail icon is gmail-plasmoid

  • Window decorations: Bespin. There's a "netbook" option in there to get the titlebar on the side. The config also allows you to change the look of the buttons.

  • Terminal: Konsole. I'm also using a script to blur the background for konsole and yakuake. That's here.

  • Shell: zsh. zsh-syntax-highlighting for the... syntax highlighting. oh-my-zsh for use. cope-git in the AUR to colorize output. System info is alsi.

  • Conky: I have conky-lua-nv installed. The config I found on the Arch forums. It's been a little modified since to account for the puny number of cores on this laptop and the GPU temperature. Uses libxnvctrl and nvidia's binary driver. The color changes are on account of the associated lua script and a bash script that looks for kernel changes, KDE version changes and CPU governor changes. I keep my conky in ~/.conky/conky_light. Adjust paths as needed. Conky here.

  • Qt theme: QtCurve. It's reasonably flat. As it is, the global menu won't work with anything gtk3 so I got that goin for me, which is nice.

  • Global menu: You'll need appmenu-gtk2, gtk2-appmenu, kdeplasma-applets-menubar, libdbusmenu, libdbusmenu-gtk2. There's probably a way to get this working with gtk3 but I haven't gone down that road yet.

8 points

Figured it out:

The Service menu folder needs a desktop file in it. How to make one is in the tutorial above.

In my case, this was:

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles
MimeType=Application/octet-stream;inode/directory
Actions=NFFS

[Desktop Action NFFS]
Name=New Folder from selection
Icon=folder-download
Exec=sh /path/to/script %U

And as for the actual script,

#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
foldname=`kdialog --inputbox "Folder to be created" "New Folder" --title "Create New Folder with selection"`

if [ $? = 0 ]; then
dir=`dirname $1`
mkdir "$dir"/"$foldname"

if [ $? = 1 ]; then      
kdialog --error "Invalid Name"
else

for file in ${@} ; do
mv "$file" -t "$dir"/"$foldname"
done

fi
else
kdialog --error "Cancelled"
fi
IFS=$SAVEIFS

Someone tell me I'm pretty.

5 points

Subreddits

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.