• Re: [gentoo-user] Dolphin and right click menu or context menu. Missing

    From Michael@21:1/5 to All on Sat Aug 17 18:51:16 2024
    Hi Dale,

    On Saturday, 17 August 2024 16:57:26 BST Dale wrote:
    Howdy,

    I'm not sure if this is due to the switch to new rig, something I missed
    or if it is because of a KDE upgrade missing certain features. In
    Dolphin, I used to could right click a archive, .tar, .rar, .bzip or
    whatever and tell it to extract to a sub directory. I can't find it
    anymore. I went into Dolphin settings and found the Context Menu
    setting tab. It lists things like Extract 7z, Extract to and Extract
    here and they show as enabled but when I right click a .rar file, the
    options are not listed. In settings and Context Menu tab, I clicked at
    the bottom to download new services. It seems nothing I add is working either. I used search terms such as 7z, .rar, archive and others but
    nothing I add makes the options I need appear when I right click.

    I read that some services changed in the way they install and such. I
    might add, several of the services I tried to install complained about something but I can't tell what because the box is to small for the
    whole error message and I can't make the box bigger or scroll. I
    suspect that on the last update, I switched to something with a new way
    of doing things and the old ones broke. Does anyone know what the new
    way is and what I need to add to make this work again? Is this
    something that is being worked on but doesn't work at the moment? Did I break something? LOL

    By the way, I have several archive type packages installed. This is
    what I have installed.

    root@Gentoo-1 / # equery list app-arch/*
    * Searching for * in app-arch ...
    [IP-] [ ] app-arch/7zip-24.07:0
    [IP-] [ ] app-arch/brotli-1.1.0:0/1
    [IP-] [ ] app-arch/bzip2-1.0.8-r5:0/1
    [IP-] [ ] app-arch/cabextract-1.11:0
    [IP-] [ ] app-arch/cpio-2.15:0
    [IP-] [ ] app-arch/gzip-1.13-r1:0
    [IP-] [ ] app-arch/libarchive-3.7.4:0/13
    [IP-] [ ] app-arch/libdeflate-1.19:0
    [IP-] [ ] app-arch/lz4-1.10.0-r1:0/1.10.0-meson
    [IP-] [ ] app-arch/ncompress-5.0-r1:0
    [IP-] [ ] app-arch/p7zip-16.02-r8:0
    [IP-] [ ] app-arch/rpm2targz-2021.03.16:0
    [IP-] [ ] app-arch/snappy-1.1.10-r1:0/1.1
    [IP-] [ ] app-arch/tar-1.35:0
    [IP-] [ ] app-arch/unrar-7.0.9:0/7
    [IP-] [ ] app-arch/unzip-6.0_p27-r1:0
    [IP-] [ ] app-arch/xz-utils-5.6.2-r1:0
    [IP-] [ ] app-arch/zip-3.0-r7:0
    [IP-] [ ] app-arch/zstd-1.5.6:0/1
    root@Gentoo-1 / #

    Did I miss something? o_O

    Thanks.

    Dale

    :-) :-)

    I have app-arch/p7zip installed (without the rar flag) and I do not have
    either 7zip or rar/unrar packages installed here:

    [I] app-arch/p7zip
    Available versions:
    16.02-r8 [kde +pch rar static wxwidgets ABI_X86="x32"] ["kde? ( wxwidgets )"]
    ~ 17.05-r1 [natspec +pch rar static ABI_X86="x32"]
    Installed versions: 16.02-r8(02:26:32 24/03/24)(kde wxwidgets -pch -rar -static ABI_X86="-x32")
    Homepage: https://github.com/p7zip-project/p7zip
    Description: Port of 7-Zip archiver for Unix


    When I right click on a .rar archive I am offered to decompress it either via the 'Actions' submenu:

    Actions > Extract to subdirectory with 7-Zip

    Or, via the 7zip submenu:

    7-Zip > Extract to subdirectory

    I am not offered to decompress it via the Extract submnenu, which is missing altogether when I right click on .rar archives, but comes up on zip/bzip2,
    etc.

    Have you enabled what's needed under: Dolphin > Settings > Context Menu >

    then type in [Search... ] "sub" and enable:

    "Extract to subdirectory with 7-Zip"

    I don't know what could/would show up if I had the app-arch/unrar package installed, but from what you're saying it doesn't seem to be integrated with the Dolphin/ark menu options.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbA4xQACgkQseqq9sKV ZxnGWxAAuIWz1lHHhCdkzQ340MhouZEmiCgfuOwLjW8xZEtirDiN4DN7g66/GGHO EpsGUJT2Qwzr+wC0wtB+TCTqQ8Xpj2jpdWnO3Lawv0MLekrK2y3rV93r91FIiNWl 13QXK4EI709/E0IQgoRgKuzn+S6vp0wvGVn0DU20E/uyVbLQyguJT86Qcq8GmTyx OY3zMBRW191HDhwGWMZLR3FbH7DC3mQ8OpAz9poOkE1rb7rJtOOA6mSTn95GiFVT zEBR8MdIW2Hjjxwhzp/EPkjikh527zxltvo3GPV1dDPaGE0D6TE6ROyJpTX2ITqY dh8x17Ex7q1MFox0Wm6v4CNaKMuwWkEwIkrF24hpCe9CZrgctWKu0j0nm+C2U+bf DkzT4Snwhq+q9uXnTblYMaDopTCfqwTgKjIYK4xKaIbO0ZRX3zbXvGfwge/AnlPN oZRC/tBMrN882EqBhmVEWByYHGgplAYyV2uHkGiwN7aKjXL9lSFjzznQ7GCxqEBP RR3nUtszcL43h8E+9wEEoxTZI2S4vglXxhqW8z18tAwv3B53YxNSWU2KexbukEbw ciEIbWWRJgS8JiLUJkT8JafR/QD9yHO6wd6j0vr1VYhDmhGMILPPILPTow8wb02z qeiikxYo9zhidFht7hTA9WH/osESPFXzRlqKYyYMz5VZOPI/xf4=
    =CG0X
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Aug 18 13:57:45 2024
    On Saturday, 17 August 2024 20:09:00 BST Dale wrote:

    This is the USE settings for mine here. Looks the same except I enabled
    rar which should only help the situation.


    root@Gentoo-1 / # equery u app-arch/p7zip
    [ Legend : U - final flag setting for installation]
    [ : I - package is installed with flag ]
    [ Colors : set, unset ]
    * Found these USE flags for app-arch/p7zip-16.02-r8:
    U I
    + + kde : Add support for software made by KDE, a free software community
    + + rar : Enable support for non-free rar decoder
    + + wxwidgets : Add support for wxWidgets/wxGTK GUI toolkit
    root@Gentoo-1 / #

    From some quick tests I ran I can see 7-Zip does not need USE="rar" to be able to decompress RAR archives via 7-Zip.

    If you emerge unrar or rar packages, then ark is capable of opening these archives when you click on them. Otherwise you'll get this error from ark:

    "No suitable plugin found. Ark does not seem to support this file type."


    In the Context Menu settings, I've enabled everything that even looks
    like a extraction tool. It mostly refers to 7z. If I right click on
    the rar file, there is no Actions option at all.

    I don't know why you're not getting an Actions submenu. I have Actions
    showing up in Dolphin whenever I right-click on a file, or directory. :-/

    However, I've observed the following conditional behaviour which may explain why your Extract submenu does not show up.

    I use the 'Details' view mode in Dolphin, presenting files in a list with columns showing Name, Size, Modified, Permissions, etc.

    When I right-click with the mouse placed carefully on an archive's name not previously selected (i.e. not highlighted) the Extract submenu shows up, just as expected.

    However, when I do the same with the mouse placed on any other columns or indeed on anywhere else than the name itself of the archive file, then the Extract submenu is nowhere to be found.

    I suspect with the mouse hovering over the file name, the .rar file extension is identified by Dolphin and the corresponding file type relevant Extract submenu is loaded.

    [Snip ...]
    I might add tho, I also can't find those tools in the KDE app menu.
    When I search for 7, no results. Same for the litter z except for Zulu encryption stuff. It's like emerge says they installed but KDE doesn't
    see them, or something.

    I'm not sure what you mean by "KDE app menu". Do you mean the K menu search field?

    When I type "7" in the K menu search field it does no find anything to load, but if I type "7z" it lists "Run 7z". When I type "zip", it lists "Run zip", as well as files containing "zip" in the file name or their file extension.


    P. S. My main monitor has been winking at me. Every once in a while it would blink off and back on again. It would show up as if the computer
    had just powered up. It would show the connection and such for a few seconds. Sort of like it does if I disconnect it and reconnect it
    pretty quick. I got some new cables that go from mini display port to display port. Each 10' long so I'm not pulling on them when I pull the
    rig out to take off the side. A while ago, it cut off, stayed off and wouldn't come back on. It threw a wrench into my whole display setup
    given it was the main monitor that went dead. While it was off anyway,
    I switched the cables to the new ones. So far, it hasn't winked at me a single time. I suspect it is either the cable or the little adapter
    that goes from mini display port to HDMI. I swapped the adapter once
    and the problem remained. I'm thinking cable.

    I avoid using intermediate adapters wherever I can. I prefer to buy cables with the same connector type as the port they are meant to fit in. Additional electrical contacts between cable and port introduce another interface with
    the possibility of wear, tear, oxidisation, electrical resistance and eventually failure. So, if your hardware has a mini display port and you're buying a new cable, it makes sense to buy it with a mini display port
    connector on one end of it and on the other end to come with a connector to suit the hardware port you intend to plug it into.



    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbB78kACgkQseqq9sKV ZxlmLg/+M+Q59VckL8mnQLxRucwhXZdJqaKNi57czpXaBoHYde38CDdvbSYTvVyg TXCK1EiFDloHrJe8W5BbhUs5eOrWxTiDqjkoxFnQ3EMh8dOR3Oeji9253IBOzy7o E5+Yf2TnvWzXtbu0IOfiwH/VyVKnYS6zqBqE1AZTMIa+SXfF87J7jZTqf6O1/zBZ mJg6QeJ16H2KC89HkXoFby9PXMwayuLHFj/JW1cMHNAV2MJtNLJLGaW4sq15K9v8 6T7jyQ75hG8mgKcwKcCBekxaR8x40MnHBJJ0CrPYl8uCK+lTqI9vqjSUcLJIWBn6 FnQS1guC+KmPfYfZmDF3e+P8qXQKx90SCa282sNCrMZZZWxst48Gd5oUapOmR/K4 TSSDX8bHW0JaKU2UHyC+3U6n/5jKzRjhuoLNlryd9THXDJj7A2sxwFqOMG/bSeCL xj0utik7SdY6Q9ciaUlIUt9VZBkVlcvo7L6Dkqcr15VwdZR0vxgMVNWh05trvry3 ZEz4KCR3UisXCdgJWstwoVk7lLZx6nahRPQvytQAzJVAmOW4vQ7It3NHuK+k6m1u uC6axzpOWiYbcQFBXBi1KAgjG2dDoE2e8FmCan3aWl9CFlnPznQ39DOUqrbNVBIQ fEEDvCXYZHpVKzjZu0983SiDb1NMoq/3KuuwxnX+Y0Tet0yNE84=
    =Ezar
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)