I wrote a bash noscript to select a country using dmenu and open the respective YouTube trending page
https://www.youtube.com/feed/trending shows trending for your currently selected country. To view it for another country, you need to either change it manually in the menu or append a country code, such as ?gl=DE. This becomes tedious if you want to switch to multiple countries.
With this noscript you can select the country using `dmenu` and the respective trending page will open. Change the browser in the last line to your own browser.
How to use: just run the noscript with no arguments. You need to have `dmenu` installed.
#!/bin/bash
declare -A countries=(
["Algeria"]="dz"
["Argentina"]="ar"
["Australia"]="au"
["Austria"]="at"
["Azerbaijan"]="az"
["Bahrain"]="bh"
["Belarus"]="by"
["Belgium"]="be"
["Bolivia"]="bo"
["Bosnia and Herzegovina"]="ba"
["Brazil"]="br"
["Bulgaria"]="bg"
["Canada"]="ca"
["Chile"]="cl"
["Colombia"]="co"
["Costa Rica"]="cr"
["Croatia"]="hr"
["Cyprus"]="cy"
["Czechia"]="cz"
["Denmark"]="dk"
["Dominican Republic"]="do"
["Ecuador"]="ec"
["Egypt"]="eg"
["El Salvador"]="sv"
["Estonia"]="ee"
["Finland"]="fi"
["France"]="fr"
["Georgia"]="ge"
["Germany"]="de"
["Ghana"]="gh"
["Greece"]="gr"
["Guatemala"]="gt"
["Honduras"]="hn"
["Hong Kong"]="hk"
["Hungary"]="hu"
["Iceland"]="is"
["India"]="in"
["Indonesia"]="id"
["Iraq"]="iq"
["Ireland"]="ie"
["Israel"]="il"
["Italy"]="it"
["Jamaica"]="jm"
["Japan"]="jp"
["Jordan"]="jo"
["Kazakhstan"]="kz"
["Kenya"]="ke"
["Kuwait"]="kw"
["Latvia"]="lv"
["Lebanon"]="lb"
["Libya"]="ly"
["Liechtenstein"]="li"
["Lithuania"]="lt"
["Luxembourg"]="lu"
["Malaysia"]="my"
["Malta"]="mt"
["Mexico"]="mx"
["Montenegro"]="me"
["Morocco"]="ma"
["Nepal"]="np"
["Netherlands"]="nl"
["New Zealand"]="nz"
["Nicaragua"]="ni"
["Nigeria"]="ng"
["North Macedonia"]="mk"
["Norway"]="no"
["Oman"]="om"
["Pakistan"]="pk"
["Panama"]="pa"
["Papua New Guinea"]="pg"
["Paraguay"]="py"
["Peru"]="pe"
["Philippines"]="ph"
["Poland"]="pl"
["Portugal"]="pt"
["Puerto Rico"]="pr"
["Qatar"]="qa"
["Romania"]="ro"
["Russia"]="ru"
["Saudi Arabia"]="sa"
["Senegal"]="sn"
["Serbia"]="cs"
["Singapore"]="sg"
["Slovakia"]="sk"
["Slovenia"]="si"
["South Africa"]="za"
["South Korea"]="kr"
["Spain"]="es"
["Sri Lanka"]="lk"
["Sweden"]="se"
["Switzerland"]="ch"
["Taiwan"]="tw"
["Tanzania"]="tz"
["Thailand"]="th"
["Tunisia"]="tn"
["Turkey"]="tr"
["Uganda"]="ug"
["Ukraine"]="ua"
["United Arab Emirates"]="ae"
["United Kingdom"]="gb"
["United States"]="us"
["Uruguay"]="uy"
["Venezuela"]="ve"
["Vietnam"]="vn"
["Yemen"]="ye"
["Zimbabwe"]="zw"
)
choice=$(printf "%s\n" "${!countries[@]}" | dmenu -i)
brave-browser "https://www.youtube.com/feed/trending?gl=${countries[$choice]^^}"
https://redd.it/fbf41p
@r_linux
https://www.youtube.com/feed/trending shows trending for your currently selected country. To view it for another country, you need to either change it manually in the menu or append a country code, such as ?gl=DE. This becomes tedious if you want to switch to multiple countries.
With this noscript you can select the country using `dmenu` and the respective trending page will open. Change the browser in the last line to your own browser.
How to use: just run the noscript with no arguments. You need to have `dmenu` installed.
#!/bin/bash
declare -A countries=(
["Algeria"]="dz"
["Argentina"]="ar"
["Australia"]="au"
["Austria"]="at"
["Azerbaijan"]="az"
["Bahrain"]="bh"
["Belarus"]="by"
["Belgium"]="be"
["Bolivia"]="bo"
["Bosnia and Herzegovina"]="ba"
["Brazil"]="br"
["Bulgaria"]="bg"
["Canada"]="ca"
["Chile"]="cl"
["Colombia"]="co"
["Costa Rica"]="cr"
["Croatia"]="hr"
["Cyprus"]="cy"
["Czechia"]="cz"
["Denmark"]="dk"
["Dominican Republic"]="do"
["Ecuador"]="ec"
["Egypt"]="eg"
["El Salvador"]="sv"
["Estonia"]="ee"
["Finland"]="fi"
["France"]="fr"
["Georgia"]="ge"
["Germany"]="de"
["Ghana"]="gh"
["Greece"]="gr"
["Guatemala"]="gt"
["Honduras"]="hn"
["Hong Kong"]="hk"
["Hungary"]="hu"
["Iceland"]="is"
["India"]="in"
["Indonesia"]="id"
["Iraq"]="iq"
["Ireland"]="ie"
["Israel"]="il"
["Italy"]="it"
["Jamaica"]="jm"
["Japan"]="jp"
["Jordan"]="jo"
["Kazakhstan"]="kz"
["Kenya"]="ke"
["Kuwait"]="kw"
["Latvia"]="lv"
["Lebanon"]="lb"
["Libya"]="ly"
["Liechtenstein"]="li"
["Lithuania"]="lt"
["Luxembourg"]="lu"
["Malaysia"]="my"
["Malta"]="mt"
["Mexico"]="mx"
["Montenegro"]="me"
["Morocco"]="ma"
["Nepal"]="np"
["Netherlands"]="nl"
["New Zealand"]="nz"
["Nicaragua"]="ni"
["Nigeria"]="ng"
["North Macedonia"]="mk"
["Norway"]="no"
["Oman"]="om"
["Pakistan"]="pk"
["Panama"]="pa"
["Papua New Guinea"]="pg"
["Paraguay"]="py"
["Peru"]="pe"
["Philippines"]="ph"
["Poland"]="pl"
["Portugal"]="pt"
["Puerto Rico"]="pr"
["Qatar"]="qa"
["Romania"]="ro"
["Russia"]="ru"
["Saudi Arabia"]="sa"
["Senegal"]="sn"
["Serbia"]="cs"
["Singapore"]="sg"
["Slovakia"]="sk"
["Slovenia"]="si"
["South Africa"]="za"
["South Korea"]="kr"
["Spain"]="es"
["Sri Lanka"]="lk"
["Sweden"]="se"
["Switzerland"]="ch"
["Taiwan"]="tw"
["Tanzania"]="tz"
["Thailand"]="th"
["Tunisia"]="tn"
["Turkey"]="tr"
["Uganda"]="ug"
["Ukraine"]="ua"
["United Arab Emirates"]="ae"
["United Kingdom"]="gb"
["United States"]="us"
["Uruguay"]="uy"
["Venezuela"]="ve"
["Vietnam"]="vn"
["Yemen"]="ye"
["Zimbabwe"]="zw"
)
choice=$(printf "%s\n" "${!countries[@]}" | dmenu -i)
brave-browser "https://www.youtube.com/feed/trending?gl=${countries[$choice]^^}"
https://redd.it/fbf41p
@r_linux
Youtube
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Gamma Text Editor - overview (Beta)
[https://www.youtube.com/watch?v=G8B3HF2mzak](https://www.youtube.com/watch?v=G8B3HF2mzak)
Gamma (Γ) is a lightweight text editor. It is meant to be an alternative to Gedit or Notepad++. Although the current implementation is tested on linux under Gnome desktop environment, Gamma can run on Linux, Windows, and Mac if dependencies are installed (see Dependencies section below). Gamma uses GTK3 (cross-platform GUI toolkit) and PyGObject which is a Python package that provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more.
​
Your thoughts please
https://redd.it/fbga95
@r_linux
[https://www.youtube.com/watch?v=G8B3HF2mzak](https://www.youtube.com/watch?v=G8B3HF2mzak)
Gamma (Γ) is a lightweight text editor. It is meant to be an alternative to Gedit or Notepad++. Although the current implementation is tested on linux under Gnome desktop environment, Gamma can run on Linux, Windows, and Mac if dependencies are installed (see Dependencies section below). Gamma uses GTK3 (cross-platform GUI toolkit) and PyGObject which is a Python package that provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more.
​
Your thoughts please
https://redd.it/fbga95
@r_linux
YouTube
Gamma Text Editor - overview (Beta)
Gamma (Γ) is a lightweight text editor. It is meant to be an alternative to Gedit or Notepad++. Although the current implementation is tested on linux under ...
This month in KDE Web: KDE Connect gets a new website, we updated the sites for KMyMoney, Juk, KDE e.V. and KDE China, and a lot more.
https://carlschwan.eu/2020/02/29/this-month-in-kde-web-february-2020.html
https://redd.it/fbhwsm
@r_linux
https://carlschwan.eu/2020/02/29/this-month-in-kde-web-february-2020.html
https://redd.it/fbhwsm
@r_linux
Carl Schwan Website
This month in KDE Web: January-February 2020
This is the first post in a monthly series about improvements to the KDE websites. I plan to publish it every last Saturday of the month. Since a lot happened in January and I didn’t mention it anywhere, I will also mention those things in this post.
Don't Know What Else to Do
I am having issues installing grub onto my laptop. I have to do this again since a windows update deleted linux from my UEFI BIOS version boot menu. Whenever I am trying to install it onto my system(currently using pop!\_os from my USB because I can't load onto pop!\_os on my laptop. I would love to just install this on my laptop and wipe everything, but I have some files on my the original Pop!\_os that I would like to keep.
Is there a way to access the files without booting up the OS?
This is the error that I receive when trying to install grub:
"pop-os@pop-os:\~$ sudo apt install grub2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub2-common is already the newest version (2.02-2ubuntu8.13).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? \[Y/n\] y
Setting up refind (0.11.5-1) ...
ShimSource is none
Installing rEFInd on Linux....
The ESP doesn't seem to be mounted! Trying to find it....
mount: /boot/efi: special device /dev/nvme0n11 does not exist.
umount: /boot/efi: not mounted.
///boot/efi doesn't seem to be on a VFAT filesystem. The ESP must be
mounted at //boot or //boot/efi and it must be VFAT (not msdos)!
Aborting!
dpkg: error processing package refind (--configure):
installed refind package post-installation noscript subprocess returned error exit status 1
Errors were encountered while processing:
refind
E: Sub-process /usr/bin/dpkg returned an error code (1)"
Any help would be appreciated! Thank you in advance.
https://redd.it/fbhtpk
@r_linux
I am having issues installing grub onto my laptop. I have to do this again since a windows update deleted linux from my UEFI BIOS version boot menu. Whenever I am trying to install it onto my system(currently using pop!\_os from my USB because I can't load onto pop!\_os on my laptop. I would love to just install this on my laptop and wipe everything, but I have some files on my the original Pop!\_os that I would like to keep.
Is there a way to access the files without booting up the OS?
This is the error that I receive when trying to install grub:
"pop-os@pop-os:\~$ sudo apt install grub2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub2-common is already the newest version (2.02-2ubuntu8.13).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? \[Y/n\] y
Setting up refind (0.11.5-1) ...
ShimSource is none
Installing rEFInd on Linux....
The ESP doesn't seem to be mounted! Trying to find it....
mount: /boot/efi: special device /dev/nvme0n11 does not exist.
umount: /boot/efi: not mounted.
///boot/efi doesn't seem to be on a VFAT filesystem. The ESP must be
mounted at //boot or //boot/efi and it must be VFAT (not msdos)!
Aborting!
dpkg: error processing package refind (--configure):
installed refind package post-installation noscript subprocess returned error exit status 1
Errors were encountered while processing:
refind
E: Sub-process /usr/bin/dpkg returned an error code (1)"
Any help would be appreciated! Thank you in advance.
https://redd.it/fbhtpk
@r_linux
reddit
Don't Know What Else to Do
I am having issues installing grub onto my laptop. I have to do this again since a windows update deleted linux from my UEFI BIOS version boot...
installing from one partition to another without usb?
i just bricked my remaining usb large enough to hold an iso file. i was planning on installing a distro to run on my laptop. i had an idea and i would like to know if it'll work...
since i went and bought a new drive for the installation, can i just create a partition just big enough for the iso file and install to the partitions on the rest of the disk?
https://redd.it/fbjvet
@r_linux
i just bricked my remaining usb large enough to hold an iso file. i was planning on installing a distro to run on my laptop. i had an idea and i would like to know if it'll work...
since i went and bought a new drive for the installation, can i just create a partition just big enough for the iso file and install to the partitions on the rest of the disk?
https://redd.it/fbjvet
@r_linux
reddit
installing from one partition to another without usb?
i just bricked my remaining usb large enough to hold an iso file. i was planning on installing a distro to run on my laptop. i had an idea and i...
Any good contact management apps?
As the noscript would indicate, I am looking for a good contact management app. It doesn't have to be quite up to level of a full CRM, although that would be nice. I keep my contacts in a number of differrent places (google, linkedin, nextcloud, etc) and would like one central place to work with them. Integration with email and text would be nice as well.
I've run a SuiteCRM instance and found its google and android integration troublesome. I've also tried Kaddress and it never did sync the contacts correctly for me.
Running Mint (Peppermint actually). Any suggestions would be appreciated.
https://redd.it/fbksv6
@r_linux
As the noscript would indicate, I am looking for a good contact management app. It doesn't have to be quite up to level of a full CRM, although that would be nice. I keep my contacts in a number of differrent places (google, linkedin, nextcloud, etc) and would like one central place to work with them. Integration with email and text would be nice as well.
I've run a SuiteCRM instance and found its google and android integration troublesome. I've also tried Kaddress and it never did sync the contacts correctly for me.
Running Mint (Peppermint actually). Any suggestions would be appreciated.
https://redd.it/fbksv6
@r_linux
reddit
Any good contact management apps?
As the noscript would indicate, I am looking for a good contact management app. It doesn't have to be quite up to level of a full CRM, although that...
Full year graphical calendar on Linux
Hi,
I'm looking for a desktop app on Linux that can show a calendar similar to https://www.timeanddate.com/calendar/
I'd like to see public holidays for my country shown as well.
"cal" does something similar on a terminal, but I prefer something graphical.
Most calendar apps I tried just show 1 month at a time. That's not what I'm looking for...
Thanks
--Coder
https://redd.it/fblc50
@r_linux
Hi,
I'm looking for a desktop app on Linux that can show a calendar similar to https://www.timeanddate.com/calendar/
I'd like to see public holidays for my country shown as well.
"cal" does something similar on a terminal, but I prefer something graphical.
Most calendar apps I tried just show 1 month at a time. That's not what I'm looking for...
Thanks
--Coder
https://redd.it/fblc50
@r_linux
Timeanddate
Calendar 2026
Calendars – online and print friendly – for any year and month and including public holidays and observances for countries worldwide.
Wofi v1.1 Release - a launcher/menu program for wlroots based wayland compositors
https://hg.sr.ht/~scoopta/wofi
https://redd.it/fbka9l
@r_linux
https://hg.sr.ht/~scoopta/wofi
https://redd.it/fbka9l
@r_linux
reddit
Wofi v1.1 Release - a launcher/menu program for wlroots based...
Posted in r/linux by u/HolyCloudNinja • 5 points and 0 comments
Linux: gnome-keyring setup as Freedesktop SecretService
https://medium.com//linux-gnome-keyring-setup-as-freedesktop-secretservice-99521a20e9c4?source=friends_link&sk=a2b9521d6e7070dcdf505612858109b4
https://redd.it/fbmtp1
@r_linux
https://medium.com//linux-gnome-keyring-setup-as-freedesktop-secretservice-99521a20e9c4?source=friends_link&sk=a2b9521d6e7070dcdf505612858109b4
https://redd.it/fbmtp1
@r_linux
Medium
Linux: gnome-keyring setup as Freedesktop SecretService
Currently, I’m using KeePass as passwords, RSA-keys, and as the Freedesktop SecretService, see the KeePass: an MFA TOTP codes, a browser’s…
Corsair K55 keyboard prints root password in plain text when pressing CTRL+G5 keys.
`\]]]*/***
ROOTPASSWORD
sudo dnf update
PARTIAL\]]]*/***`
The * are for privacy sake, no idea if they mean anything important
I have switched from openSUSE to Fedora and am now on Windows, un-plugged and re-plugged keyboard and it still has this in its memory.
keyboard in question: https://images-na.ssl-images-amazon.com/images/I/71wSG1VzANL._AC_SL1500_.jpg
https://redd.it/fbnz8q
@r_linux
`\]]]*/***
ROOTPASSWORD
sudo dnf update
PARTIAL\]]]*/***`
The * are for privacy sake, no idea if they mean anything important
I have switched from openSUSE to Fedora and am now on Windows, un-plugged and re-plugged keyboard and it still has this in its memory.
keyboard in question: https://images-na.ssl-images-amazon.com/images/I/71wSG1VzANL._AC_SL1500_.jpg
https://redd.it/fbnz8q
@r_linux
A browser based application that requires no system related support checks the OS for requirements? Sounds legit.
https://redd.it/fborrx
@r_linux
https://redd.it/fborrx
@r_linux
Free tickets to SCALE 18x (Southern California Linux Expo)
Hi r/linux,
We got our hands on some extra tickets to the annual [SCALE (Southern California Linux Expo) 18x](https://www.socallinuxexpo.org/scale/18x) conference and wanted to share! Enter our giveaway by signing up for our waitlist [via this link](https://freepn.com/?pk_campaign=community&pk_kwd=reddit-giveaway-linux). We will select three winners so make sure to **sign up by 12pm PST on March 2**! Good luck!
We'll also be at the conference at the FreePN booth, #413 - come say hello and learn more about what we're building! FreePN is a Linux first, free, fast, anonymous, open-source, peer-to-peer VPN. You can read more about us [here](https://freepn.com/?pk_campaign=community&pk_kwd=reddit-giveaway-linux).
Happy to answer any questions about the giveaway/FreePN.
https://redd.it/fbp6wl
@r_linux
Hi r/linux,
We got our hands on some extra tickets to the annual [SCALE (Southern California Linux Expo) 18x](https://www.socallinuxexpo.org/scale/18x) conference and wanted to share! Enter our giveaway by signing up for our waitlist [via this link](https://freepn.com/?pk_campaign=community&pk_kwd=reddit-giveaway-linux). We will select three winners so make sure to **sign up by 12pm PST on March 2**! Good luck!
We'll also be at the conference at the FreePN booth, #413 - come say hello and learn more about what we're building! FreePN is a Linux first, free, fast, anonymous, open-source, peer-to-peer VPN. You can read more about us [here](https://freepn.com/?pk_campaign=community&pk_kwd=reddit-giveaway-linux).
Happy to answer any questions about the giveaway/FreePN.
https://redd.it/fbp6wl
@r_linux
reddit
Free tickets to SCALE 18x (Southern California Linux Expo)
Hi r/linux, We got our hands on some extra tickets to the annual [SCALE (Southern California Linux Expo)...
Notes taking workflow and programs
How do you guys manage your notes?
I am specifically interested in programs and workflows.
I am already aware of Joplin and orgmode + organice and I am trying to decide between these two.
But, maybe there are options or workflows better suited for my needs.
I need to be able to manage my notes from desktop and mobile. CLI mode for desktop is a must. Searching, tagging and reading notes should be fast and easy.
I am a vim user and would like to be able to use vim as the note taking editor.
Adding pictures to the notes would be a plus but it is not a must. Same holds for tagging.
https://redd.it/fbnhz9
@r_linux
How do you guys manage your notes?
I am specifically interested in programs and workflows.
I am already aware of Joplin and orgmode + organice and I am trying to decide between these two.
But, maybe there are options or workflows better suited for my needs.
I need to be able to manage my notes from desktop and mobile. CLI mode for desktop is a must. Searching, tagging and reading notes should be fast and easy.
I am a vim user and would like to be able to use vim as the note taking editor.
Adding pictures to the notes would be a plus but it is not a must. Same holds for tagging.
https://redd.it/fbnhz9
@r_linux
reddit
Notes taking workflow and programs
How do you guys manage your notes? I am specifically interested in programs and workflows. I am already aware of Joplin and orgmode + organice...
Ways to eliminate vulnerabilities in your repository
https://medium.com/@AntonLawrence/vulnerabilities-in-your-repository-bb5b11221a6a
https://redd.it/fbqkzw
@r_linux
https://medium.com/@AntonLawrence/vulnerabilities-in-your-repository-bb5b11221a6a
https://redd.it/fbqkzw
@r_linux
Medium
Easy Ways to Eliminate Vulnerabilities in your Repository
There’s a rise of vulnerability tools lately and since I’ve never fiddled around with it I was wondering what’s up with it. Now seems like…
Sandboxing in Linux is completely broken
I read [flatkill.org](https://flatkill.org) and there is something that I found interesting since I am looking into securing apps with Apparmor.
>Almost all popular applications on flathub come with filesystem=host, filesystem=home or device=all permissions, that is, write permissions to the user home directory (and more), this effectively means that all it takes to "escape the sandbox" is `echo download_and_execute_evil >> ~/.bashrc`. That's it.
Since apps store configuration in hidden files in the home folder, and they store those files everywhere, it is very hard to sandbox apps so that they don't try to do anything funny with hidden files in the home folder. I tried sandboxing Atril with Apparmor and it tries to load a lot of hidden files of unrelated apps. How it is possible to sandbox apps if they touch each other's configuration files?
https://redd.it/fbk8wo
@r_linux
I read [flatkill.org](https://flatkill.org) and there is something that I found interesting since I am looking into securing apps with Apparmor.
>Almost all popular applications on flathub come with filesystem=host, filesystem=home or device=all permissions, that is, write permissions to the user home directory (and more), this effectively means that all it takes to "escape the sandbox" is `echo download_and_execute_evil >> ~/.bashrc`. That's it.
Since apps store configuration in hidden files in the home folder, and they store those files everywhere, it is very hard to sandbox apps so that they don't try to do anything funny with hidden files in the home folder. I tried sandboxing Atril with Apparmor and it tries to load a lot of hidden files of unrelated apps. How it is possible to sandbox apps if they touch each other's configuration files?
https://redd.it/fbk8wo
@r_linux
reddit
Sandboxing in Linux is completely broken
I read [flatkill.org](https://flatkill.org) and there is something that I found interesting since I am looking into securing apps with...
cron.weekly issue #123: eBPF, Licensing, CentOS, usql, CouchDB & more
https://ma.ttias.be/cronweekly/issue-123/
https://redd.it/fbrx4f
@r_linux
https://ma.ttias.be/cronweekly/issue-123/
https://redd.it/fbrx4f
@r_linux
ma.ttias.be
cron.weekly issue #123: eBPF, Licensing, CentOS, usql, CouchDB & more
Hi everyone! 👋
Welcome to cron.weekly issue #123.
There’s an interesting guide on eBPF filters in this issue, a good variety of news (not just restricted to Linux, pretty all-round) and a lot of new tools I found interesting out there.
Welcome to cron.weekly issue #123.
There’s an interesting guide on eBPF filters in this issue, a good variety of news (not just restricted to Linux, pretty all-round) and a lot of new tools I found interesting out there.
Errors while installing ubuntu-gnome-desktop
I was installing the above said software using sudo apt-get command,it finished with some errors. After I restarted the system, I have the new gnome environment but I have a black desktop wallpaper apparently , also right-click doesnt work on the wallpaper part of the screen but works fine else where. So , now If I try to reinstall each of the packages which were shown as error , I get the following errors.
jash@ubu:~$ sudo apt-get install gnome-applets-data Reading package lists... Done Building dependency tree
Reading state information... Done gnome-applets-data is already the newest version (3.18.2-1). gnome-applets-data set to manually installed. The following packages were automatically installed and are no longer required: libasound2-dev libdbus-1-dev libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libmirclient-dev libmircommon-dev libmircookie-dev libmircookie2 libmircore-dev libpcre3-dev libpcre32-3 libpcrecpp0v5 libprotobuf-dev libpython-all-dev libpython-dev libpython2.7-dev libsdl2-2.0-0 libsndio-dev libsndio6.1 libudev-dev libwayland-bin libwayland-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcursor-dev libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxshmfence-dev libxv-dev libxxf86vm-dev linux-headers-4.15.0-70 linux-headers-4.15.0-70-generic linux-image-4.15.0-70-generic linux-modules-4.15.0-70-generic linux-modules-extra-4.15.0-70-generic mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-randr-dev x11proto-video-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up gnome-applets-data (3.18.2-1) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package gnome-applets-data (--configure): subprocess installed post-installation noscript returned error exit status 3 dpkg: dependency problems prevent configuration of gnome-applets: gnome-applets depends on gnome-applets-data (>= 3.18); however: Package gnome-applets-data is not configured yet. gnome-applets depends on gnome-applets-data (<< 3.19); however: Package gnome-applets-data is not configured yet.
dpkg: error processing package gnome-applets (--configure): dependency problems - leaving unconfigured Setting up python3.5-venv (3.5.2-2ubuntu0~16.04.9) ... No apport report written because the error message indicates its a followup error from a previous failure. /var/lib/dpkg/info/python3.5-venv.postinst: 9: /var/lib/dpkg/info/python3.5-venv.postinst: /usr/bin/python3.5: not found dpkg: error processing package python3.5-venv (--configure): subprocess installed post-installation noscript returned error exit status 127 Setting up python3-pip (8.1.1-2ubuntu0.4) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package python3-pip (--configure): subprocess installed post-installation noscript returned error exit status 3 No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of python3-venv: python3-venv depends on python3.5-venv (>= 3.5.1-2~); however: Package python3.5-venv is not configured yet.
dpkg: error processing package python3-venv (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Setting up gnome-music (3.18.2-1ubuntu1) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package gnome-music (--configure): subprocess installed post-installation noscript returned error exit status 3 No apport report written because MaxReports is reached already Errors were encountered while processing: gnome-applets-da
I was installing the above said software using sudo apt-get command,it finished with some errors. After I restarted the system, I have the new gnome environment but I have a black desktop wallpaper apparently , also right-click doesnt work on the wallpaper part of the screen but works fine else where. So , now If I try to reinstall each of the packages which were shown as error , I get the following errors.
jash@ubu:~$ sudo apt-get install gnome-applets-data Reading package lists... Done Building dependency tree
Reading state information... Done gnome-applets-data is already the newest version (3.18.2-1). gnome-applets-data set to manually installed. The following packages were automatically installed and are no longer required: libasound2-dev libdbus-1-dev libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libmirclient-dev libmircommon-dev libmircookie-dev libmircookie2 libmircore-dev libpcre3-dev libpcre32-3 libpcrecpp0v5 libprotobuf-dev libpython-all-dev libpython-dev libpython2.7-dev libsdl2-2.0-0 libsndio-dev libsndio6.1 libudev-dev libwayland-bin libwayland-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcursor-dev libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxshmfence-dev libxv-dev libxxf86vm-dev linux-headers-4.15.0-70 linux-headers-4.15.0-70-generic linux-image-4.15.0-70-generic linux-modules-4.15.0-70-generic linux-modules-extra-4.15.0-70-generic mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-randr-dev x11proto-video-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up gnome-applets-data (3.18.2-1) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package gnome-applets-data (--configure): subprocess installed post-installation noscript returned error exit status 3 dpkg: dependency problems prevent configuration of gnome-applets: gnome-applets depends on gnome-applets-data (>= 3.18); however: Package gnome-applets-data is not configured yet. gnome-applets depends on gnome-applets-data (<< 3.19); however: Package gnome-applets-data is not configured yet.
dpkg: error processing package gnome-applets (--configure): dependency problems - leaving unconfigured Setting up python3.5-venv (3.5.2-2ubuntu0~16.04.9) ... No apport report written because the error message indicates its a followup error from a previous failure. /var/lib/dpkg/info/python3.5-venv.postinst: 9: /var/lib/dpkg/info/python3.5-venv.postinst: /usr/bin/python3.5: not found dpkg: error processing package python3.5-venv (--configure): subprocess installed post-installation noscript returned error exit status 127 Setting up python3-pip (8.1.1-2ubuntu0.4) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package python3-pip (--configure): subprocess installed post-installation noscript returned error exit status 3 No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of python3-venv: python3-venv depends on python3.5-venv (>= 3.5.1-2~); however: Package python3.5-venv is not configured yet.
dpkg: error processing package python3-venv (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Setting up gnome-music (3.18.2-1ubuntu1) ... E: py3compile:243: Requested versions are not installed dpkg: error processing package gnome-music (--configure): subprocess installed post-installation noscript returned error exit status 3 No apport report written because MaxReports is reached already Errors were encountered while processing: gnome-applets-da
ta gnome-applets python3.5-venv python3-pip python3-venv gnome-music E: Sub-process /usr/bin/dpkg returned an error code (1)
I use : Linux ubu 4.15.0-88-generic #88~16.04.1-Ubuntu SMP Wed Feb 12 04:19:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Processor: Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8 Graphics card : GeForce GTX 1050 Ti/PCIe/SSE2
PS: I HAVE FACED SOME PYHTON DEPENDENCY PROBLEMS , A WHILE AGO I HAD TWO PYTHON3 VERSIONS INSTALLED (3.5 AND 3.8 ) PY3.8 I INSTALLED BY BUILDING FROM THE SOURCE , THEN I HAD TO REMOVE EVERYTHING ,CURRENTLY RUNNING PYTHON3 COMMAND IN THE TERMINAL OPENS UP PYTHON3.5.2
https://redd.it/fbsnbc
@r_linux
I use : Linux ubu 4.15.0-88-generic #88~16.04.1-Ubuntu SMP Wed Feb 12 04:19:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Processor: Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8 Graphics card : GeForce GTX 1050 Ti/PCIe/SSE2
PS: I HAVE FACED SOME PYHTON DEPENDENCY PROBLEMS , A WHILE AGO I HAD TWO PYTHON3 VERSIONS INSTALLED (3.5 AND 3.8 ) PY3.8 I INSTALLED BY BUILDING FROM THE SOURCE , THEN I HAD TO REMOVE EVERYTHING ,CURRENTLY RUNNING PYTHON3 COMMAND IN THE TERMINAL OPENS UP PYTHON3.5.2
https://redd.it/fbsnbc
@r_linux
reddit
Errors while installing ubuntu-gnome-desktop
I was installing the above said software using sudo apt-get command,it finished with some errors. After I restarted the system, I have the new...
I've just released a new version of my slack-IRC gateway
https://github.com/ltworf/localslackirc/releases/tag/1.7
This version adds support for the new strange and undocumented token type that appeared on slack that projects on the internet seem to be struggling with.
It adds a systemd service that helps people who use several slack chats to configure several instances more easily.
https://redd.it/fbt2d0
@r_linux
https://github.com/ltworf/localslackirc/releases/tag/1.7
This version adds support for the new strange and undocumented token type that appeared on slack that projects on the internet seem to be struggling with.
It adds a systemd service that helps people who use several slack chats to configure several instances more easily.
https://redd.it/fbt2d0
@r_linux
GitHub
ltworf/localslackirc
IRC gateway for slack, running on localhost for one user - ltworf/localslackirc
CudaText 1.96 vs other Linux editors on huge lines
CudaText 1.96 was [released](http://uvviewsoft.com/cudatext/) with reworked support for huge lines.
I was interested how some Linux editors handle such huge lines. Tested several editors on Ubuntu 19.10 on Intel i3 CPU. With XML file with a single line of length 4M. XML file contains line like <id name="nnnnnnnnnnnnnnn"> with the huge "name" length of 4M.
* CudaText 1.96. Opens file: 1.5sec. Caret moves at the end of line: very fast (<0.1sec). Editing of this line: not fast, adding each char: about 0.5 sec.
* Sublime Text 3. Opens file: 2sec. Caret moves at the end of line: each Left/Right arrow is 0.5 sec delay. Editing works.
* Kate 19.04. Gives colored panel "The file ... was opened and contained lines longer than .... (4 096 characters). The lines were wrapped and document is set to read-only mode...". Caret moves at the end of wrapped doc: fast. Editing is disabled.
* GEdit 3.34. Hanged of loading file (from command line and from editor), waited it for 20sec.
* Emacs 26.3 GUI. Opens file: 1sec. In word-wrapped mode. With the statusbar error "Internal error in rng-validate-mode triggered at buffer position 10. Stack overflow in regexp matcher". Pressing Ctrl+End to move to end: editor hanged with "wait" cursor.
https://redd.it/fbs802
@r_linux
CudaText 1.96 was [released](http://uvviewsoft.com/cudatext/) with reworked support for huge lines.
I was interested how some Linux editors handle such huge lines. Tested several editors on Ubuntu 19.10 on Intel i3 CPU. With XML file with a single line of length 4M. XML file contains line like <id name="nnnnnnnnnnnnnnn"> with the huge "name" length of 4M.
* CudaText 1.96. Opens file: 1.5sec. Caret moves at the end of line: very fast (<0.1sec). Editing of this line: not fast, adding each char: about 0.5 sec.
* Sublime Text 3. Opens file: 2sec. Caret moves at the end of line: each Left/Right arrow is 0.5 sec delay. Editing works.
* Kate 19.04. Gives colored panel "The file ... was opened and contained lines longer than .... (4 096 characters). The lines were wrapped and document is set to read-only mode...". Caret moves at the end of wrapped doc: fast. Editing is disabled.
* GEdit 3.34. Hanged of loading file (from command line and from editor), waited it for 20sec.
* Emacs 26.3 GUI. Opens file: 1sec. In word-wrapped mode. With the statusbar error "Internal error in rng-validate-mode triggered at buffer position 10. Stack overflow in regexp matcher". Pressing Ctrl+End to move to end: editor hanged with "wait" cursor.
https://redd.it/fbs802
@r_linux