I have a Surface Pro with half of the touchscreen broken. To keep it short, is there a way for me to spawn a virtual touchpad like a virtual keyboard (onboard
), so that I can use the tablet alone?
dat tutbrus's questions
I found an internet radio station, but I would like to re-encode it to Opus 32kbps to fit on my unlimited data plan. How would I achieve this?
The source radio uses MP3 @ 160kbps, which is over my unlimited data bandwidth of 128kbps.
I was trying to run some mysql
command, but then when I run it, this happens
mysql: unknown variable 'bind-address=[ip]'
Stuff looks different in my.cnf
:
[mysqld]
bind-address = [ip]
port = 3306
50-server.cnf
:
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
bind-address = [ip]
mysql.cnf
:
[mysql]
bind-address = [ip]
port = 3306
ps -aux | grep mysql
:
mysql 4171 0.7 3.1 730344 96612 ? Ssl 15:54 0:03 /usr/sbin/mysqld
Recently I decided to switch to GNOME and it was glorious until I found out that I can't close the lid without the GNOME killing itself. I tried everything from the dconf-editor
method to killing gnome-power-manager
and replace it with xfce4-power-manager
. Here's a video that should describe it: https://www.youtube.com/watch?v=OxddQ5-JNMA
Also, I tried this with both gdm
and lightdm
Update: it's really funny how everything works well on the LiveUSB but breaks after I install it.
Recently I dug up the Internet on an attempt to use the integrated GPU to display and the dedicated GPU (GeForce 940M) running on nouveau
to work together. I've tried both nouveau
and nvidia-375
but none worked (believe or not, nouveau
gives better FPS). For nouveau
I used optirun glxgears
but this happened:
diamond@K401LB:~$ optirun glxgears
[ 3483.103063] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 3483.103097] [ERROR]Aborting because fallback start is disabled.
For the proprietary driver, I used bumblebee
, bumblebee-nvidia
and primusrun
. However, the system just straight up froze. Also I don't know if it's related or not, but my HDMI port died afterward.
P/S: with nouveau
, games like Team Fortress 2 are crashing.
P/P/S: with nouveau
, seems like all 3D apps are crashing. Logs for Minecraft: https://pastebin.com/aMQFr2cW (I'm going back to nvidia-375)
Recently I cannot copy. Every time I select a text and Ctrl+C it, the process would hang and eventually crash. I even tried with a clipboard manager (qlipper, xfce4-clipman, clipit) but none of them worked.
Edit1: It happens when I try to copy something from a Source Game.
Recently I forced all of my system fonts to either use Noto Sans or Noto Color Emoji. However, charmap
showed huge fallback emojis that looked like this:
Problem exists in Firefox and even Chrome (Chrome uses Color Emoji). This website gives a normal result (no huge emojis). My question is: How do I fix this?
Update: 2nd case
Recently I decided to switch to Firefox and found a really annoying problem. The I-Beam appears next to non-editable texts if I click next to them. This breaks the Home, End and PgUp / PgDn keys.
How can I prevent this?
Important stuff:
Hello users of Ubuntu. Recently I have decided to step into the Ethereum mining world and compile ethminer
myself. After installing cuda
however, I ran into a small problem. While doing sudo cmake --build .
after cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF
, the console outputted this:
[ 0%] Built target BuildInfo.h
[ 29%] Built target devcore
[ 41%] Built target ethash
[ 45%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
#error -- unsupported GNU version! gcc versions later than 5 are not supported!
^~~~~
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:222 (message):
Error generating
/home/diamond/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:63: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o' failed
make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
CMakeFiles/Makefile2:232: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Additional info:
I installed CUDA using sudo apt install cuda
. It installed nvidia-275
and cuda
itself (along with a lot other stuff)
So recently I've had lots of problems with merging all Noto fonts into one font so that I don't need to go through the hassle of adding every single Noto fonts. However, this one font WenQuanYi Zen Hei keeps taking up Noto CJK's priority. Question is can someone write a fonts.conf
to use ONLY Noto fonts?
Since I don't have much data, I'll just keep this in short.
So I bought a mechanical keyboard. Everytime I press F1 the window defocuses. F2 works.
Pressing F1 in xev
:
FocusOut event, serial 48, synthetic NO, window 0x5400001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 48, synthetic NO, window 0x5400001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
FocusIn event, serial 48, synthetic NO, window 0x5400001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
KeymapNotify event, serial 48, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 48, synthetic NO, window 0x5400001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 48, synthetic NO, window 0x0,
keys: 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pressing F2 in xev
:
KeyPress event, serial 48, synthetic NO, window 0x5400001,
root 0x290, subw 0x0, time 45947409, (234,268), root:(235,302),
state 0x0, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 48, synthetic NO, window 0x5400001,
root 0x290, subw 0x0, time 45947546, (234,268), root:(235,302),
state 0x0, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
So pretty much xev
can't recognize the F1 key, but F2 can. Note that if I press + it recognizes this as keycode 179 (keysym 0x1008ff81, XF86Tools)
. So maybe there's a way to bind XF86Tools
to F1
? I'm running Openbox. Checked dconf-editor
for keybindings but nothing there. Thank you.
Edit1: So I tried binding F1 to something in Openbox. F1 alone doesn't work, W-F1 works though. If I open Keyboard Settings in XFCE, F1 registers but doesn't work.
I recently digged out some mods for a game called PAYDAY 2. It's called the Basic Lua Tool. After compiling, the README.md
file asked me to
set LD_PRELOAD for the PAYDAY2 process to find the loader
However I have to run PAYDAY 2 through Steam so I can't just go into the Terminal and run the process payday2_release
. How do I force Steam to use the payday2_release
with LD_PRELOAD? I also don't know the syntax for LD_PRELOAD so please help.
Source for the BLT (GitHub): https://github.com/blt4linux/blt4l
Loader is called libblt_loader.so
I installed Ubuntu on my desktop years ago, and decided to add the BunsenLabs repository and install Bunsen desktop there. However there is one little thing: the package also replace the /etc/os-release
. My question is how do I restore my os-release
and also the lsb-release
(which was also modified) back to it's original?
Original OS info: Ubuntu 16.04 64-bit Xenial Xerus
New OS info: BunsenLabs GNU/Linux 8.6 (Hydrogen)
My current os-release
ANSI_COLOR="0;34"
BUG_REPORT_URL="https://github.com/BunsenLabs"
HOME_URL="https://bunsenlabs.org"
ID=bunsenlabs
ID_LIKE="debian"
NAME="BunsenLabs GNU/Linux"
PRETTY_NAME="BunsenLabs GNU/Linux 8.6 (Hydrogen)"
SUPPORT_URL="https://forums.bunsenlabs.org"
VERSION="8.6 (Hydrogen)"
VERSION_ID="8.6"
My current lsb-release
DISTRIB_ID="BunsenLabs"
DISTRIB_DESCRIPTION="BunsenLabs GNU/Linux 8.6 (Hydrogen)"
DISTRIB_RELEASE="8.6"
DISTRIB_CODENAME="bunsen-hydrogen"
Output of apt-cache policy base-files
base-files:
Installed: 9.4ubuntu4.3
Candidate: 9.4ubuntu4.3
Version table:
*** 9.4ubuntu4.3 500
500 http://opensource.xtdv.net/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
9.4ubuntu4 500
500 http://opensource.xtdv.net/ubuntu xenial/main amd64 Packages
Recently I bought Dead Island but it seems like Dead Island would give you a black screen. So I went to the console and run ./DeadIslandGame from
~/.steam/steam/steamapps/common/Dead Island`. This is what it gave me:
./DeadIslandGame: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
A bit of investigation revealed that there are libSDL2 libraries both in /usr/lib/x86_64-linux-gnu/
(since I tried to do sudo apt install libSDL2*
) and also in .steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/
.
My question is how can I make Dead Island run since I'm guessing the problem here is that DI is missing its libraries. However I'm not quite sure.
I've been trying Plasma 5.7 and it was really slow to me. The startup time took me 15 seconds. So in short, I want to install KDE 4 in Ubuntu 16.04. Is it possible? I saw the Ubuntu Precise repository but I guess they are Plasma.
I just want to convert all the 320kbps in my WALKMAN to 128kbps since they are heavy. Of course, converting all 8GB would be so long, as a .5GB 320kbps album would take half an hour in here. I can wait for 6 hours to convert 3GB, but I can't wait for all 8GB to convert from 128kbps to 128kbps, since the 5GB in it is in 128kbps already. So the question here is how to I force Ubuntu to convert ONLY 320kbps files in my WALKMAN?
I've noticed when moving windows Xorg takes up a lot of CPU. But I only have a weak old Celeron Single-core with 2.80GHz. So my question is that how to disable the moving windows feature and use Tiling instead. I remember that there is actually a Window Manager that only uses Tiling, no moving.
Or if no, I need to know how to move window in Openbox with the window only move the frame (like in Windows XP, where there is a feature that disables moving windows and only moves it frame, but after release the mouse it teleports the window directly there).
I am wondering how do I upgrade an Intel card. This card is harder than any card.
I've tried the package xserver-xorg-video-intel
but when I install it says:
diamond@945GCMX-S2:~/Downloads$ sudo apt-get install xserver-xorg-video-intel
sudo: unable to resolve host 945GCMX-S2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xserver-xorg-video-intel : Depends: xorg-video-abi-14
Depends: xserver-xorg-core (>= 2:1.14.2.901-2ubuntu4~)
E: Unable to correct problems, you have held broken packages.
diamond@945GCMX-S2:~/Downloads$ sudo apt-get install xserver-xorg-core
sudo: unable to resolve host 945GCMX-S2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gsettings-ubuntu-schemas indicator-sound libfs6 libllvm3.4 x11-apps
x11-session-utils x11-xfs-utils xinit
Use 'apt-get autoremove' to remove them.
Suggested packages:
xfonts-100dpi xfonts-75dpi
The following packages will be REMOVED:
xorg xserver-xorg-core-lts-utopic xserver-xorg-input-all-lts-utopic
xserver-xorg-input-evdev-lts-utopic xserver-xorg-input-mouse-lts-utopic
xserver-xorg-input-synaptics-lts-utopic
xserver-xorg-input-vmmouse-lts-utopic xserver-xorg-input-wacom-lts-utopic
xserver-xorg-lts-utopic xserver-xorg-video-all-lts-utopic
xserver-xorg-video-ati-lts-utopic xserver-xorg-video-cirrus-lts-utopic
xserver-xorg-video-fbdev-lts-utopic xserver-xorg-video-intel-lts-utopic
xserver-xorg-video-mach64-lts-utopic xserver-xorg-video-mga-lts-utopic
xserver-xorg-video-modesetting-lts-utopic
xserver-xorg-video-neomagic-lts-utopic xserver-xorg-video-nouveau-lts-utopic
xserver-xorg-video-openchrome-lts-utopic xserver-xorg-video-r128-lts-utopic
xserver-xorg-video-radeon-lts-utopic xserver-xorg-video-savage-lts-utopic
xserver-xorg-video-siliconmotion-lts-utopic
xserver-xorg-video-sisusb-lts-utopic xserver-xorg-video-tdfx-lts-utopic
xserver-xorg-video-trident-lts-utopic xserver-xorg-video-vesa-lts-utopic
xserver-xorg-video-vmware-lts-utopic xubuntu-desktop
The following NEW packages will be installed:
xserver-xorg-core
0 upgraded, 1 newly installed, 30 to remove and 1 not upgraded.
Need to get 1,205 kB of archives.
After this operation, 8,338 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
I've also tried sgfxi
but after I tried it broke my computer (boot into GRUB, then found the screen black.)
In Intel Graphics Updater (01.org) it says Unsupported Version, Distro or something like that...
And for note, I AM running Xubuntu 14.10.4 Trusty Tahr on e17
Desktop Environment.
P/S: It doesn't show anything about my graphic card in hardinfo
Edit: I've bought an nVidia 220 and now I can't install nvidia-331
! All because of the xserver-xorg-core
and xserver-xorg-core-lts-utopic
I only have one simple question: How to customize the /Debian and the menu design in openbox.
This link here shows an Openbox menu that has a black title in it. How do I do that?
And the /Debian thing, is missing too many applications like Web Browser and doesn't even have icons. How can I make it update, and seperate the directories in /Debian out like CrunchBang?