>Uploads videos about Bicameral Minds, the Intellectual Class and its defects and the Agricultural Revolution and its consequences >Now makes emoji videos Fastest fall from grace ever.
This might be interesting to some of you. if you add the following line to the script that he showed: xdotool key "ctrl+shift+v" it will automatically insert the emoji into the focused program (like browser or terminal), making this dmenu setup act like an emoji keyboard for quick insertion
This is life changing. :D If you have a folder with all your programming projects / scripts in it.. #!/bin/sh vim "/home/dan/projects/$(ls /home/dan/projects | dmenu -i -l 20 -fn Monospace-18)" To improve it I'd like to find a way to issue different commands to the menu, so like [Enter] to open vim in that directory, and [Shift]+[Enter] to open a shell there.
there's sth called Dango which provides api to do emoji search by deep learning, which works pretty well. It should be easy to do an api call and list the response with dmenu. Although it's proprietary, the api call only requires an input str.
Really cool vid! I was wondering, any particular reason you are not using rofi instead? It's a superset of dmenu, you have nothing to loose only more features
Rofi functions as a drop in replacement for dmenu (using rofi -dmenu), while also being much more visually configurable (honestly the main reason I use it) and including its own program launching and window switching modes. Rofi's readme says its dmenu mode offers many improvements, but I'm not familiar enough with either to know what they are. Maybe Rofi is not minimal enough for some people.
@@xthebumpx Technically there's nothing rofi can do that dmenu can't, so some people may view it as bloated... I guess. I don't think dmenu has any more functionality, it's just a simpler program in the kiss sense.
Do you have any advice for someone trying to maintain their dot files across multiple machines? For awhile I was using the "dotfiles" tool written in python, but this has recently broken and I'd like a nice solution. Keep up the great videos!
I noticed that in your emoji file there are some characters that have a smiley face next to them but they are working fine when are used. Is this expected behavior for those characters?
No emojis for me =( X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 58 Current serial number in output stream: 59
I've been driving myself crazy trying to implement your Unicode solution on and off for a few weeks now. But I just cannot seem to find a solution. Somehow you have managed to implement emoji support in your terminal whereas I have no such support. I use Noto Color Emoji as a fallback font but it simply doesn't like to work. And when I use dmenu I keep getting this error: X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 130 Current serial number in output stream: 133 I think the reason its not working is that neither the terminal not dmenu likes double width chars. But I can't seem to figure out a solution to this, but you clearly have gotten it to work. So I was wondering if I am missing something? Maybe I need to do something with dmenu and urxvt (tried with st as well) to make it happy accepting double width chars. I was hoping you or anyone on this comment section might have some insights? BTW your vids are awesome, you got me to use urxvt, i3 and arch and recently I started playing with st. And I couldn't be happier :) So thank you.
I think this is the third time in my life, 2nd since the Millennium-bug, that I'm working to get emoji's working for me. Like the emoji industry is even stickier than the automobile industry.😠
for some reason it wont work for me, idk why, every other script i got from you worked, it just simply wont start dmenu, it just gives me a dunst notification saying copied to clipboard
@@LukeSmithxyz Wait here is output: X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 58 Current serial number in output stream: 59
Or I should be clear, iIf you're using my build that uses the system font, it should use any installed monospace emoji font automatically. If you have another build, you have to manually specify the font in the config file and rebuild.
@@LukeSmithxyz Oh, okay) I thought its impossible to make that tiny tab bars by default customization. And sorry for my inattention, this is definitely default browser -_-
one line in i3config (had to change the colon for a pipe in the emojis file because i3 interprets the colon as a delimiter for the keybind) bindsym $mod+Shift+o exec "cut -d '|' -f1 ~/share/icons-emoji | rofi -dmenu -i | sed 's/ .*//' | tr -d ' ' | xclip -selection clipboard && notify-send -u normal $(xclip -selection clipboard -o)' copied to clipboard'" Thanks for the help
Here's a script for downloading the latest list of emoji from unicode.org: gist.github.com/Caellian/947e9b7b0f9d42278b9308765dc4ec08 It takes a while to download because emoji list is bundled with a lot of other data used by developers for keyboards, fonts and such.
Did you just copy my homework!? I mean, dmenuunicode? At least change the name! Just kidding... But seriously, I have a script with the exact same name but not for emojis, it's for Unicode characters in general. github.com/Naheel-Azawy/naheel-dotfiles/blob/master/scripts/dmenuunicode
Cant seem to find the 2 scripts in your dotfiles on github. I looked in Voidrice/scripts/tools folder, oh they are in scripts/i3cmds/
Pinning this because others have asked. I moved around my scripts for cleanliness's sake and yes, these are now in ~/.scripts/i3cmds/
@@LukeSmithxyz github.com/LukeSmithxyz/voidrice/blob/archi3/.local/bin/i3cmds/
:)
>Uploads videos about Bicameral Minds, the Intellectual Class and its defects and the Agricultural Revolution and its consequences
>Now makes emoji videos
Fastest fall from grace ever.
Best way to run a channel, publish nothing for weeks, then 3 videos in 24 hours, luke we love you
This might be interesting to some of you.
if you add the following line to the script that he showed:
xdotool key "ctrl+shift+v"
it will automatically insert the emoji into the focused program (like browser or terminal), making this
dmenu setup act like an emoji keyboard for quick insertion
That's actually pretty cool and can come in handy with lots of other scripts as well.
@@FHITA2FHITA can you give an example of what kind of scripts you had in mind?
LOLs Luke's One Liners
>using linux
>using emojis
pick one
Did not know about dmenu nor that really handy `notify-send` command. Sweet!
That's so awesome; clever combination of simple tools. This is the best showcase I've ever seen of the unix philosophy.
This is life changing. :D
If you have a folder with all your programming projects / scripts in it..
#!/bin/sh
vim "/home/dan/projects/$(ls /home/dan/projects | dmenu -i -l 20 -fn Monospace-18)"
To improve it I'd like to find a way to issue different commands to the menu, so like [Enter] to open vim in that directory, and [Shift]+[Enter] to open a shell there.
there's sth called Dango which provides api to do emoji search by deep learning, which works pretty well. It should be easy to do an api call and list the response with dmenu. Although it's proprietary, the api call only requires an input str.
1:57
Why would you wanna get an emoji in the first place?
Cool. Emojis speak louder than words.
autimsm
nice, just implemented that in my system c:
dmenu is pretty useful c:
btw is it possible to do something smiliar with rofi?
Really cool vid! I was wondering, any particular reason you are not using rofi instead? It's a superset of dmenu, you have nothing to loose only more features
What's the advantage of dmenu over rofi?
I've been using dmenu for some time and I really love it but I've never used rofi. Can I ask what's the advantage of rofi over dmenu?
Rofi functions as a drop in replacement for dmenu (using rofi -dmenu), while also being much more visually configurable (honestly the main reason I use it) and including its own program launching and window switching modes. Rofi's readme says its dmenu mode offers many improvements, but I'm not familiar enough with either to know what they are. Maybe Rofi is not minimal enough for some people.
@@xthebumpx Technically there's nothing rofi can do that dmenu can't, so some people may view it as bloated... I guess. I don't think dmenu has any more functionality, it's just a simpler program in the kiss sense.
I'm switching to LInux full time soon, this will come handy.
Do you have any advice for someone trying to maintain their dot files across multiple machines? For awhile I was using the "dotfiles" tool written in python, but this has recently broken and I'd like a nice solution. Keep up the great videos!
I noticed that in your emoji file there are some characters that have a smiley face next to them but they are working fine when are used. Is this expected behavior for those characters?
Is there a way to insert the character directly without copying it to the clipboard by piping it somewhere or something like that?
No emojis for me =(
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 58
Current serial number in output stream: 59
You don't have a font with the required characters. Install ttf-ancient-fonts from the AUR and it should give you all the coverage I have.
@@LukeSmithxyz Solved!
how is your thesis going ?
I've been driving myself crazy trying to implement your Unicode solution on and off for a few weeks now. But I just cannot seem to find a solution.
Somehow you have managed to implement emoji support in your terminal whereas I have no such support. I use Noto Color Emoji as a fallback font but it simply doesn't like to work. And when I use dmenu I keep getting this error:
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 130
Current serial number in output stream: 133
I think the reason its not working is that neither the terminal not dmenu likes double width chars. But I can't seem to figure out a solution to this, but you clearly have gotten it to work.
So I was wondering if I am missing something? Maybe I need to do something with dmenu and urxvt (tried with st as well) to make it happy accepting double width chars.
I was hoping you or anyone on this comment section might have some insights?
BTW your vids are awesome, you got me to use urxvt, i3 and arch and recently I started playing with st. And I couldn't be happier :) So thank you.
issue at 4:50 to avoid this issue you can skip on dmenu completely and use ROFI with -dmenu flag, worked for my setup 🥳👍
Luke you should give your nest free time for dwm as next suckless software
'xsel -i -b' does the same thing as 'xclip -selection clipboard'
xsel -ib
even shorter
I think this is the third time in my life, 2nd since the Millennium-bug, that I'm working to get emoji's working for me. Like the emoji industry is even stickier than the automobile industry.😠
is this a cursed video? Not in my sub box and has no recommended videos on the right of the comment section. Spooky
damn the user engagement for this video is insane for how many views it has.
This video does not show up in my subscription feed. I have to go to your channel to find it.... wtf
Same here. It actually just showed up in "Recommended" for me. Not in the subscriptions.
Yeah I didn't get it either wtf
for some reason it wont work for me, idk why, every other script i got from you worked, it just simply wont start dmenu, it just gives me a dunst notification saying copied to clipboard
Do you have xclip installed?
@@LukeSmithxyz yeah
@@LukeSmithxyz Wait here is output:
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 58
Current serial number in output stream: 59
Install a more complete alternative font. I have ttf-ancient-fonts installed. I suspect that would work for you too.
k thanks
What font were you using?
Does anyone know what I need to do to get the emojis to show up on the menu before the description? I can't seem to figure it out.
Your comment section is just a 4chan page
I recommend using j4-dmenu, it's a lot faster and works a lot better.
Great video Luke. Wicked clever indeed ;)
OK ... Now how can I use these in LaTex?
What font is he using in his dmenu?
does dmenu support add icons to the dmenu?
Try fzf (instead of grep) for searching text it's very easy to integrate with almost anything
this video didn't show up on my feed
How can you make st show emojis? In my st emojis are invisible
Install a font with emojis.
Or I should be clear, iIf you're using my build that uses the system font, it should use any installed monospace emoji font automatically.
If you have another build, you have to manually specify the font in the config file and rebuild.
I am using your build and I have fonts with emojis installed (also in other terminal emulators such as terminator I can see emojis).
Oh, that's it! I had no *monospaced* emoji fonts installed. Thanks for the help!
Really nice tip 🔥, I do the same with Rofi
Thank you so much!!
👏👏👏
nice work !
*Tears of Joy*
Nice
Yo where are the files pls
dmenu is deprecated. We use rofi now.
>>>reddit
bloat
Do a tux racer gameplay lol.
where da code
why are people so upset over emojis lol
how can i install all emoji fonts in linux?
install noto color emoji font
Luke, please,share your chrome.css
Here it is:
/dev/null
@@LukeSmithxyz Oh, okay) I thought its impossible to make that tiny tab bars by default customization. And sorry for my inattention, this is definitely default browser -_-
Yes exactly, and the color is just my gtk theme.
one line in i3config (had to change the colon for a pipe in the emojis file because i3 interprets the colon as a delimiter for the keybind)
bindsym $mod+Shift+o exec "cut -d '|' -f1 ~/share/icons-emoji | rofi -dmenu -i | sed 's/ .*//' | tr -d '
' | xclip -selection clipboard && notify-send -u normal $(xclip -selection clipboard -o)' copied to clipboard'"
Thanks for the help
Nice clickbait. :^)
oh
dmenu in 2018
Here's a script for downloading the latest list of emoji from unicode.org: gist.github.com/Caellian/947e9b7b0f9d42278b9308765dc4ec08
It takes a while to download because emoji list is bundled with a lot of other data used by developers for keyboards, fonts and such.
Did you just copy my homework!? I mean, dmenuunicode? At least change the name!
Just kidding... But seriously, I have a script with the exact same name but not for emojis, it's for Unicode characters in general.
github.com/Naheel-Azawy/naheel-dotfiles/blob/master/scripts/dmenuunicode