Categories
Development Linux Ubuntu

how to fine-tune/modify XFCE4 Theme? (Darkbird theme fix)

There is an inconvenient bug in Xubuntu 19.10 making ALT+TABbing very unclear since there is no highlighting any more – I need to know where exactly may I modify how highlighting looks like in the theme while tabbing windows? I’ve gone to /usr/share/themes/Blackbird/ but there are too many lines to walk through I am […]

Categories
Development Linux Ubuntu

usermod: group ‘sudo’ does not exist

Now for my WordPress project I’m setting up Vultr. I want to add user: p999qwe to the sudo (superuser) group, giving this user account root privileges. I’m using PuTTy with my Windows 10 computer and I’m connected to Ubuntu 18.04 I have already created user and now I want to create root access to it […]

Categories
Development Linux Python Ubuntu

Allow All Users to Import Python Script

We have a JupyterHub server and it spawns Jupyter notebooks to users. I wrote a Python script and I want all users to be allowed to import it to their notebooks. There is a PYTHONPATH environment variable for single users, but how can I accomplish it for all users have a account on the system?

Categories
Development Linux Ubuntu

How to check if a given PPA or repository is available

I am working on generating some auto install scripts that would work on different versions of Ubuntu. Therefore, I try to keep the add-apt-repository statements generic as seen below. add-apt-repository -y “deb http://archive.canonical.com/ $(lsb_release -sc) partner” add-apt-repository -y ppa:graphics-drivers However, as some repos don’t exist for certain versions, auto generated urls might lead to errors […]

Categories
Development Linux Ubuntu

when ubuntu goes in sleep or suspend after returning to normal mode graphics are broken

sorry for bad title I dont know how exactly describe it but here is a picture even sometimes get worst than this

Categories
Development Linux Ubuntu

18.04 updates break the grub and prevent booting

Today I encountered an issue which prevented my system from booting. The system is a fresh install, as I recently reinstalled Ubuntu 18.04.3 via a live USB with the official Ubuntu ISO. This is my third or fourth attempt, and I am experiencing the same issue: Install the system with default parameters Reboot immediately after […]

Categories
Development Linux Ubuntu

Cannot get Ubuntu software update to work

When I run software updater and the repository tries to reload, always produces the error message below? Please help W:GPG error: http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E, E:The repository ‘http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease’ is not signed.

Categories
Development Linux Ubuntu

Installing latex compiler

I was trying to istall MiKTeX on my Ubuntu 16.04 (32bit). But following error appears on screen. I have only limited knowledge about such distributions. How can this be solved? Please help me. akhil@akhil-G31T-M9:~$ sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889 [sudo] password for akhil: Sorry, try again. [sudo] password for akhil: Executing: /tmp/tmp.LK50NQI2bb/gpg.1.sh –keyserver […]

Categories
Development Linux Ubuntu

Packages with same name

I have moreutils installed which provides /usr/bin/parallel, which is not useful for me. If I now want to install the parallel package (GNU Parallel) I have learnt from this answer that it would rename the existing /usr/bin/parallel of moreutils to /usr/bin/parallel.moreutils. I was wondering what would happen if the opposite is done. For example, I […]

Categories
Development Linux Ubuntu Windows

making space on a windows partition

I have a new laptop with a 30gb ssd disk. my windows 10 takes up 12gb so I should be able to create a 10gb partition to install ubuntu. I can’t when I use windows tool to resize my hard drive it only offers 500Mb. is there a windows hidden file which can’t be moved […]