dmenu tips: Emojis and more

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 93

  • @MoreChannelNoise
    @MoreChannelNoise 5 лет назад +22

    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/

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад +16

      Pinning this because others have asked. I moved around my scripts for cleanliness's sake and yes, these are now in ~/.scripts/i3cmds/

    • @hackit1337
      @hackit1337 5 лет назад +2

      @@LukeSmithxyz github.com/LukeSmithxyz/voidrice/blob/archi3/.local/bin/i3cmds/
      :)

  • @Babbler49
    @Babbler49 5 лет назад +110

    >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.

  • @rcastellotti
    @rcastellotti 5 лет назад +22

    Best way to run a channel, publish nothing for weeks, then 3 videos in 24 hours, luke we love you

  • @Avianable
    @Avianable 5 лет назад +14

    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

    • @FHITA2FHITA
      @FHITA2FHITA 5 лет назад +3

      That's actually pretty cool and can come in handy with lots of other scripts as well.

    • @Avianable
      @Avianable 5 лет назад +1

      @@FHITA2FHITA can you give an example of what kind of scripts you had in mind?

  • @desktorp
    @desktorp 5 лет назад +32

    LOLs Luke's One Liners

  • @MemoreeLanee
    @MemoreeLanee 5 лет назад +27

    >using linux
    >using emojis
    pick one

  • @batlin
    @batlin 5 лет назад +1

    Did not know about dmenu nor that really handy `notify-send` command. Sweet!

  • @alexpasko1126
    @alexpasko1126 5 лет назад

    That's so awesome; clever combination of simple tools. This is the best showcase I've ever seen of the unix philosophy.

  • @dgbell1985
    @dgbell1985 5 лет назад +1

    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.

  • @nendo502
    @nendo502 5 лет назад

    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.

  • @Goodmanperson55
    @Goodmanperson55 5 лет назад +4

    1:57
    Why would you wanna get an emoji in the first place?

  • @DoesThisMatter
    @DoesThisMatter 5 лет назад +3

    Cool. Emojis speak louder than words.

  • @marcussmithwick6326
    @marcussmithwick6326 5 лет назад +10

    autimsm

  • @MaidLucy
    @MaidLucy 5 лет назад +1

    nice, just implemented that in my system c:
    dmenu is pretty useful c:
    btw is it possible to do something smiliar with rofi?

  • @BrunoInec
    @BrunoInec 5 лет назад

    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

  • @xthebumpx
    @xthebumpx 5 лет назад +11

    What's the advantage of dmenu over rofi?

    • @naheelazawy
      @naheelazawy 5 лет назад +3

      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?

    • @xthebumpx
      @xthebumpx 5 лет назад +2

      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.

    • @sauron1427
      @sauron1427 5 лет назад +6

      @@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.

  • @Klblaz
    @Klblaz 5 лет назад +1

    I'm switching to LInux full time soon, this will come handy.

  • @fitzpatrickmathemati
    @fitzpatrickmathemati 5 лет назад

    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!

  • @neaguali2010
    @neaguali2010 4 года назад

    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?

  • @matj12
    @matj12 5 лет назад

    Is there a way to insert the character directly without copying it to the clipboard by piping it somewhere or something like that?

  • @aorith1
    @aorith1 5 лет назад +1

    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

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад +1

      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.

    • @aorith1
      @aorith1 5 лет назад

      @@LukeSmithxyz Solved!

  • @Vogel42
    @Vogel42 5 лет назад +3

    how is your thesis going ?

  • @emperorpicard6474
    @emperorpicard6474 5 лет назад

    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.

  • @testbug2421
    @testbug2421 5 лет назад

    issue at 4:50 to avoid this issue you can skip on dmenu completely and use ROFI with -dmenu flag, worked for my setup 🥳👍

  • @AhmedKhaled-sj1zx
    @AhmedKhaled-sj1zx 5 лет назад +1

    Luke you should give your nest free time for dwm as next suckless software

  • @prithug
    @prithug 5 лет назад +2

    'xsel -i -b' does the same thing as 'xclip -selection clipboard'

  • @MsDuketown
    @MsDuketown 8 месяцев назад

    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.😠

  • @imbalos
    @imbalos 5 лет назад +2

    is this a cursed video? Not in my sub box and has no recommended videos on the right of the comment section. Spooky

  • @ChrisRamsland94
    @ChrisRamsland94 5 лет назад

    damn the user engagement for this video is insane for how many views it has.

  • @nauden
    @nauden 5 лет назад +3

    This video does not show up in my subscription feed. I have to go to your channel to find it.... wtf

    • @jaarbahd9062
      @jaarbahd9062 5 лет назад +1

      Same here. It actually just showed up in "Recommended" for me. Not in the subscriptions.

    • @thescrawl6594
      @thescrawl6594 5 лет назад +1

      Yeah I didn't get it either wtf

  • @jacobk.8744
    @jacobk.8744 5 лет назад +1

    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
      @LukeSmithxyz  5 лет назад

      Do you have xclip installed?

    • @jacobk.8744
      @jacobk.8744 5 лет назад

      @@LukeSmithxyz yeah

    • @jacobk.8744
      @jacobk.8744 5 лет назад

      @@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

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад +2

      Install a more complete alternative font. I have ttf-ancient-fonts installed. I suspect that would work for you too.

    • @jacobk.8744
      @jacobk.8744 5 лет назад

      k thanks

  • @catholic_zoomer_br
    @catholic_zoomer_br 3 года назад

    What font were you using?

  • @soulthatcreates
    @soulthatcreates 4 года назад

    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.

  • @raghavendrg3475
    @raghavendrg3475 5 лет назад +1

    Your comment section is just a 4chan page

  • @bool2max
    @bool2max 5 лет назад

    I recommend using j4-dmenu, it's a lot faster and works a lot better.

  • @SoundsFromSound
    @SoundsFromSound 5 лет назад

    Great video Luke. Wicked clever indeed ;)

  • @agsansoo
    @agsansoo 5 лет назад

    OK ... Now how can I use these in LaTex?

  • @tahmidislamchowdhury7301
    @tahmidislamchowdhury7301 3 года назад

    What font is he using in his dmenu?

  • @KDGNOR
    @KDGNOR 5 лет назад

    does dmenu support add icons to the dmenu?

  • @AleksyGrabovski
    @AleksyGrabovski 5 лет назад

    Try fzf (instead of grep) for searching text it's very easy to integrate with almost anything

  • @holdream
    @holdream 5 лет назад

    this video didn't show up on my feed

  • @emanuele6
    @emanuele6 5 лет назад +1

    How can you make st show emojis? In my st emojis are invisible

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад +1

      Install a font with emojis.

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад

      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.

    • @emanuele6
      @emanuele6 5 лет назад

      I am using your build and I have fonts with emojis installed (also in other terminal emulators such as terminator I can see emojis).

    • @emanuele6
      @emanuele6 5 лет назад

      Oh, that's it! I had no *monospaced* emoji fonts installed. Thanks for the help!

  • @RodrigoStuchi
    @RodrigoStuchi 5 лет назад

    Really nice tip 🔥, I do the same with Rofi
    Thank you so much!!
    👏👏👏

  • @ranska2506
    @ranska2506 4 года назад

    nice work !

  • @rexevan6714
    @rexevan6714 5 лет назад

    *Tears of Joy*

  • @Grinoldy
    @Grinoldy 5 лет назад

    Nice

  • @konraditurbe9824
    @konraditurbe9824 5 лет назад

    Yo where are the files pls

  • @richardstallman3567
    @richardstallman3567 5 лет назад

    dmenu is deprecated. We use rofi now.

  • @ubaaw8895
    @ubaaw8895 5 лет назад

    Do a tux racer gameplay lol.

  • @thengakola6217
    @thengakola6217 3 года назад

    where da code

  • @zZGzHD
    @zZGzHD 5 лет назад +1

    why are people so upset over emojis lol

  • @benezen
    @benezen 5 лет назад

    how can i install all emoji fonts in linux?

  • @HunterPr0
    @HunterPr0 5 лет назад

    Luke, please,share your chrome.css

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад +1

      Here it is:
      /dev/null

    • @HunterPr0
      @HunterPr0 5 лет назад

      ​@@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 -_-

    • @LukeSmithxyz
      @LukeSmithxyz  5 лет назад

      Yes exactly, and the color is just my gtk theme.

  • @dariepetrov1896
    @dariepetrov1896 4 года назад

    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

  • @oddbob6230
    @oddbob6230 5 лет назад +2

    Nice clickbait. :^)

  • @cali-co6428
    @cali-co6428 5 лет назад

    oh

  • @christose9247
    @christose9247 5 лет назад

    dmenu in 2018

  • @Caellyan
    @Caellyan 4 года назад

    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.

  • @naheelazawy
    @naheelazawy 5 лет назад

    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