Announcement

Collapse
No announcement yet.

can't figure out how to change the color of the highlighted text when you paste something into terminal.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can't figure out how to change the color of the highlighted text when you paste something into terminal.

    really didn't wanna create a post for this but i couldn't find any already made for it.... but yeah, that's basically it. also manual highlighting

    #2
    Originally posted by goromaru View Post
    really didn't wanna create a post for this but i couldn't find any already made for it.... but yeah, that's basically it. also manual highlighting
    you don't give any details,like what terminal? i will assume Konsole?
    you can try going to Konsole's settings - edit current profile - appearance - edit colors tabs - change selection background
    not sure if that is what you going for?
    ๐•ท๐–Ž๐–“๐–š๐– ๐•ฑ๐–”๐–— ๐•ท๐–Ž๐–‹๐–Š
    Kubuntu 25.10,KDE Plasma Version: 6.4.5,Kernel: 6.17.0-14-generic (64-bit),Graphics Platform: X11
    2 ร— Celeronยฎ Dual-Core CPU T3500 @ 2.10GHz
    Memory: 4 GiB of RAM (3,8 GiB usable)
    Graphics Processor: llvmpipeโ€‹
    โ€‹

    Comment


      #3
      Originally posted by die.boer View Post

      you don't give any details,like what terminal? i will assume Konsole?
      you can try going to Konsole's settings - edit current profile - appearance - edit colors tabs - change selection background
      not sure if that is what you going for?
      yeah, konsole, sorry.
      i tried looking for the selection background option there lots of times but i don't seem to have it. i only have options for 'foreground', 'background', and 'color1-8'. i tried changing all of them to test if it'd work, especially the 'foreground' and 'background' options, but the highlight color seems to stay static.
      if there's a more direct way i can configure this, i'd be eager to know

      Comment


        #4
        Originally posted by goromaru View Post

        yeah, konsole, sorry.
        i tried looking for the selection background option there lots of times but i don't seem to have it. i only have options for 'foreground', 'background', and 'color1-8'. i tried changing all of them to test if it'd work, especially the 'foreground' and 'background' options, but the highlight color seems to stay static.
        if there's a more direct way i can configure this, i'd be eager to know
        ok tried to play around with Konsole settings ect. seems i can't find it either , so i'm at a lost too now lol
        ๐•ท๐–Ž๐–“๐–š๐– ๐•ฑ๐–”๐–— ๐•ท๐–Ž๐–‹๐–Š
        Kubuntu 25.10,KDE Plasma Version: 6.4.5,Kernel: 6.17.0-14-generic (64-bit),Graphics Platform: X11
        2 ร— Celeronยฎ Dual-Core CPU T3500 @ 2.10GHz
        Memory: 4 GiB of RAM (3,8 GiB usable)
        Graphics Processor: llvmpipeโ€‹
        โ€‹

        Comment


          #5
          What you are asking is not simple. For konsole to show colour there have to be ANSI escape sequences, and the normal paste mechanism with konsole only pastes plain text, even when the selected text is coloured. For example, If I select your .sig and paste it into a konsole, I don't get the colour. Many apps work like that, such as kate or vim.

          If you really want colour in a konsole, here's an example of using escape sequences,
          Code:
          csi=$'\e['
          red=${csi}31m
          reset=${csi}0m
          echo "${red}lorem ipsum${reset} dolor sit amet"
          Regards, John Little

          Comment

          Users Viewing This Topic

          Collapse

          There are 0 users viewing this topic.

          Working...
          X