Use apt-file search to check broken libraries belongs to which file?
X11 /extensions /Xcomposite.h No such file or directory
http://askubuntu.com/questions/801252/ddg#900768
Whenever a compile fails with a missing file simply leverage the infrastructure to search for the missing ubuntu package
which returns with
this technique works across any missing file
On a fresh OS if you issue
it will fail with error
The program 'apt-file' is currently not installed. To run 'apt-file' please ask your administrator to install the package 'apt-file'
which just means you need to do a one time setup of the local search cache so just run
--Scott Stensland
#notes #fixes
X11 /extensions /Xcomposite.h No such file or directory
http://askubuntu.com/questions/801252/ddg#900768
Whenever a compile fails with a missing file simply leverage the infrastructure to search for the missing ubuntu package
apt-file search some_missing_file_goes_here
# cmd 1 apt-file search X11/extensions/Xcomposite.h
# cmd 1which returns with
libxcomposite-dev: /usr/include/X11/extensions/Xcomposite.h
so solution is to install that missing packagesudo apt-get install libxcomposite-dev
# cmd 2this technique works across any missing file
On a fresh OS if you issue
apt-file search X11/extensions/Xcomposite.h
it will fail with error
The program 'apt-file' is currently not installed. To run 'apt-file' please ask your administrator to install the package 'apt-file'
which just means you need to do a one time setup of the local search cache so just run
sudo apt-get install apt-file -y
sudo apt-file update
now re-issue the search shown above (cmd 1) then install package (cmd 2)--Scott Stensland
#notes #fixes
Ask Ubuntu
X11/extensions/Xcomposite.h: No such file or directory
I've tried to compile https://unix.stackexchange.com/a/228674 under Ubuntu.
Unfortunately ending up with following error:
/tmp/find-cursor$ make
cc find-cursor.c -o find-cursor -lX11
find-cursor...
Unfortunately ending up with following error:
/tmp/find-cursor$ make
cc find-cursor.c -o find-cursor -lX11
find-cursor...
How to easily download videos from Youtube as mp3!
This is just a little script I made. It's nothing special.
​
Depends on youtube-dl and id3v2
#!/bin/bash
cd ~/Music
read -p 'Link: ' link
read -p 'Title of the song: ' title
read -p 'Artist of the song: ' artist
read -p 'Album: ' album
youtube-dl -x --audio-format mp3 --audio-quality 0 -o ~/Music/"$title.%(ext)s" $link
id3v2 -t "$title" -a "$artist" -A "$album" "$title".mp3
tell me what you think about it
https://redd.it/ltnr3a
@r_linux
This is just a little script I made. It's nothing special.
​
Depends on youtube-dl and id3v2
#!/bin/bash
cd ~/Music
read -p 'Link: ' link
read -p 'Title of the song: ' title
read -p 'Artist of the song: ' artist
read -p 'Album: ' album
youtube-dl -x --audio-format mp3 --audio-quality 0 -o ~/Music/"$title.%(ext)s" $link
id3v2 -t "$title" -a "$artist" -A "$album" "$title".mp3
tell me what you think about it
https://redd.it/ltnr3a
@r_linux
reddit
How to easily download videos from Youtube as mp3!
This is just a little script I made. It's nothing special. β Depends on youtube-dl and id3v2 #!/bin/bash cd ~/Music read -p...
Forwarded from Deleted Account
Awesome rust stuff:
- TUI File Manager - https://github.com/sayanarijit/xplr
- Neofetch for github projects - https://github.com/o2sh/onefetch
- Shell but in rust - https://github.com/redox-os/ion
- TUI File Manager - https://github.com/sayanarijit/xplr
- Neofetch for github projects - https://github.com/o2sh/onefetch
- Shell but in rust - https://github.com/redox-os/ion
GitHub
GitHub - sayanarijit/xplr: A hackable, minimal, fast TUI file explorer
A hackable, minimal, fast TUI file explorer. Contribute to sayanarijit/xplr development by creating an account on GitHub.
Forwarded from Deleted Account
search rust here https://github.com/fosslife/awesome-ricing
GitHub
GitHub - fosslife/awesome-ricing: A curated list of awesome tools and technology to help you out with ricing on linux
A curated list of awesome tools and technology to help you out with ricing on linux - fosslife/awesome-ricing
How to get pretty tty login art at bootup?
-
- but cannot run commands directly
- so redirect the output of any ascii command to
eg.-
-
/etc/issue
shows pretty output in tty- but cannot run commands directly
- so redirect the output of any ascii command to
issue
fileeg.-
neofetch > /etc/issue
but to run that command in each startup put it into /etc/rc.local
i use this fm6000 -r -c random -s zsh -de=dwm -n > /etc/issue
and put it into /etc/rc.local
Enjoy! #notes