• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
Fixed the GRUB Rescue issue by changing the grub-install command-line to [code]chroot "$chroot" grub-install --modules part_msdos "$loop"[/code] But now I get a black screen after QEMU exits the BIOS and begins booting from the drive. I can't tell if it actually reaches GRUB or not. If I boot the Linux kernel directly by using [code]qemu-system-x86_64 -kernel boot/vmlinux initrd=initramfs.img[/code] it appears to boot fine, so I'm pretty sure this is a GRUB issue
Fixed the black screen issue thanks to J0SEPH and now it all seems to boot fine, except tty1 freezes at "Started update UTMP about System Runlevel Changes.". Every other tty seems to be fine, so I'm not that bothered, but does anyone know how to fix this anyway? [t]https://media.discordapp.net/attachments/340436341747875840/409733421884243968/Screenshot_from_2018-02-04_15-34-09.png[/t]
Here's my fresh install setup bash script. If you have any suggestions, let me know. Features: Turn off Mouse acceleration Add a noise filter to the analog input port Installs Arc Theme, and Arc Icons Installs, and configures Vim Installs Steam Enables UFW firewall and uses gufw as the GUI If using Nvidia, install the latest drivers Add bash aliases for the terminal(weather, weatherforecast, etc..) [code]#!/bin/bash # # Settings # #Your zip code for weather lookups zipcode=65721 # # Detect hardware for install # nvidia="$(lspci | grep -i NVIDIA | grep -cim1 VGA)" # # Go Home # cd ~ # # Update Packages/OS # echo Updating Packages... sudo apt-get -y update sudo apt-get -y upgrade # # Add Sources # echo Adding Sources... sudo add-apt-repository -y ppa:notepadqq-team/notepadqq sudo add-apt-repository -y ppa:moka/daily sudo add-apt-repository -y ppa:qbittorrent-team/qbittorrent-stable sudo add-apt-repository -y ppa:phoerious/keepassxc if [ "$nvidia" = 1 ]; then sudo add-apt-repository -y ppa:graphics-drivers/ppa; fi echo Running another update for new sources... sudo apt-get -y update # # Install Nvidia Drivers if using a Nvidia GPU # if [ "$nvidia" = 1 ]; then echo Installing Nvidia Drivers... sudo apt-get purge -y nvidia* #Install latest Nvidia drivers sudo apt-get install -y nvidia-387 fi # # Remove software that I dont use # echo Removing non important software... sudo apt-get purge -y gedit transmission-gtk #Remove Amazon echo Removing Amazon files... sudo rm /usr/share/applications/ubuntu-amazon-default.desktop sudo rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/Amazon.user.js sudo rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json # # Install Software I use # echo Installing my software... sudo apt install -y \ gimp \ qbittorrent \ keepassxc \ pavucontrol \ notepadqq \ gufw \ git \ htop \ moka-icon-theme faba-icon-theme faba-mono-icons \ libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386 \ curl \ vim \ python-apt make autoconf automake \ libgtk-3-dev gnome-themes-standard gtk2-engines-murrine # # Enable Firewall # echo Enabling Firewall... sudo ufw --force enable # # Install Steam # echo Installing steam... curl -L -o ~/Downloads/steam.deb https://steamcdn-a.akamaihd.net/client/installer/steam.deb sudo dpkg -i ~/Downloads/steam.deb rm -f ~/Downloads/steam.deb # # Setup VIM # echo Adjusting VIM config... mkdir -p ~/.vim/bundle/ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim # Create Config file cat > ~/.vimrc <<EOF syntax enable " no vi compat set nocompatible " filetype func off filetype off " initialize vundle set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " start- all plugins below Plugin 'VundleVim/Vundle.vim' Plugin 'vim-airline/vim-airline' " stop - all plugins above call vundle#end() " filetype func on filetype plugin indent on " Enable number lines set number EOF #"# Fix syntax highlighting #Install Plugins on VIM vim -c 'PluginInstall' -c 'qa!' # # Installing Arc Theme # echo Installing Arc Theme and Arc Icon... #Install Arc Theme git clone https://github.com/horst3180/arc-theme ~/Downloads/arc-theme --depth 1 && cd ~/Downloads/arc-theme ./autogen.sh --prefix=/usr sudo make install #Install Arc Icons git clone https://github.com/horst3180/arc-icon-theme ~/Downloads/arc-icon-theme --depth 1 && cd ~/Downloads/arc-icon-theme ./autogen.sh --prefix=/usr sudo make install # # Go Home # cd ~ # # Make my config changes # echo Making config changes... #Turn off Mouse acceleration xset m 0/1 4 sudo bash -c 'cat > /usr/share/X11/xorg.conf.d/80-mouse-accel-disable.conf <<EOF Section "InputClass" Identifier "Set mouse acceleration to zero" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" # Default value of mouse acceleration: 2/1 4 # Set AccelerationNumerator to zero to disable Option "AccelerationNumerator" "0" Option "AccelerationDenominator" "1" Option "AccelerationThreshold" "4" EndSection EOF' sudo chmod 644 /usr/share/X11/xorg.conf.d/80-mouse-accel-disable.conf #Create an autostart shortcut to set mouse acceleration mkdir -p ~/.config/autostart/ cat > ~/.config/autostart/mouse-accel-disable.desktop <<EOF [Desktop Entry] Type=Application Exec=sh -c "xset m 0/1 4" Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[en_US]=Set mouse acceleration to zero Name=Set mouse acceleration to zero Comment[en_US]= Comment= EOF #Adjust sound settings #Add a noise filter to the analog input port echo 'load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=0"' | sudo tee -a /etc/pulse/default.pa #Set sound to 96khz 24bit echo 'default-sample-format = s24le' | sudo tee -a /etc/pulse/daemon.conf echo 'default-sample-rate = 96000' | sudo tee -a /etc/pulse/daemon.conf #Restart Sound Service pulseaudio -k #Add bash aliases for the terminal cat > ~/.bash_aliases <<EOF #!/bin/bash alias weather='curl -s wttr.in/$zipcode | head -7' alias weatherforecast='curl -s wttr.in/$zipcode | head -37 | tail -30' alias upgrade='sudo apt update -y && sudo apt upgrade' alias c='clear' alias ports='netstat -tulanp' EOF #Display Location bar on the file manager gsettings set org.gnome.nautilus.preferences always-use-location-entry true #Set Theme and Icon Theme gsettings set org.gnome.desktop.interface gtk-theme "Arc-Darker" && gsettings set org.gnome.desktop.wm.preferences theme "Arc-Darker" && gsettings set org.gnome.desktop.interface icon-theme "Arc" gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/TCP118v1_by_Tiziano_Consonni.jpg" # # Clean up # rm -rf ~/Downloads/arc-theme rm -rf ~/Downloads/arc-icon-theme sudo apt-get -y autoclean sudo apt-get -y autoremove sudo apt-get -y update[/code]
You should put it on a git gist, or a git repo.
I kinda really hate Gnome 3. It's fine at basic stuff, but some favorite icons in the dock don't represent the actual running app so you get duplicate icons, and most of all: you need a [I]browser extension[/I] to install plugins. Maybe I should switch again. Also [URL="http://www.zdnet.com/article/linus-torvalds-finds-gnome-3-4-to-be-a-total-user-experience-design-failure/"]most of what Linus[/URL] says :v: Might try Unity8.
I just stick with KDE, Plasma 5 is a really solid desktop
[QUOTE=Number-41;53151144]I kinda really hate Gnome 3. It's fine at basic stuff, but some favorite icons in the dock don't represent the actual running app so you get duplicate icons, and most of all: you need a [I]browser extension[/I] to install plugins. Maybe I should switch again. Also [URL="http://www.zdnet.com/article/linus-torvalds-finds-gnome-3-4-to-be-a-total-user-experience-design-failure/"]most of what Linus[/URL] says :v: Might try Unity8.[/QUOTE] Unity 8 is cool but waaaay too immature right now. Give Plasma a shot, or Budgie.
I'm a sucker for XFCE, but that's because it's highly customizable and feature rich yet being really lightweight. LXQT gets a honorable mention since it seems to have the same end-goal as XFCE, while still being less mature, but being free of any GNOME'ish dependencies which is only a good thing.
About to try out Kubuntu 18.04, lets hope it lasts :D
I think I'm gonna get back into desktop (well laptop) Linux using gobolinux it looks like fun Though I'll probably pretty quickly return to something more normal like void, arch, or nixos (I fucking adore this distro) afterwards. Since gobo looks like it might be a PITA to use long-term, we'll see.
I bought myself a shiny new 2TB HDD after my old one died and I figured, why not create a dedicated partition for cloud storage now that I have so much space? I currently host my own Seafile server and it has always irked me that I had 30GBs synced to both Linux and Windows. So my idea was that I'd create this shared NTFS partition that I'd mount in both Windows and Linux then sync my libraries to that! It works, but not as well as I had hoped. I'm not even sure if this is really a Linux related question to begin with but worth a shot, maybe you guys know whats up. Anyway, for some reason the Linux client for Seafile doesn't understand that its in sync with the cloud. As soon as I hooked it up to the cloud, it started uploading everything into the cloud but it shouldn't do that since all the files are already synced. My initial thoughts were that maybe the files look different from Linux' perspective compared to Windows? But I don't know. I would imagine that files are files and that OS' don't discriminate. One alternative would be to only sync in either Linux or Windows, not both. I'm sure that'd solve this crisis. It would suck if I made a super important change to my password database or spent hours making something and something were to happen though. I'd rather be safe and be synced on both sides but maybe that's not possible without breaking the laws of physics, I don't know. Anyone here who got a clue on why this is happening and how to prevent it?
still have yet to find a cozier setup than arch with cinnamon on my laptop, but I want to try GNOME on my desktop whenever I get the chance
[QUOTE=PhantomBrew;53193999]still have yet to find a cozier setup than arch with cinnamon on my laptop, but I want to try GNOME on my desktop whenever I get the chance[/QUOTE] I would recommend something like i3wm. It has a slight learning curve but nothing can match some good tiling wm experience. I have yet to see someone take up tiling wm and then go back to something else.
[img_thumb]https://i.imgur.com/PQmku.jpg[/img_thumb] I was looking through my old images and found this screenshot from the kernel 2.6 era! The 1280x1024 resolution feels soo cramped now. Also, why the fuck was I taking a screen shot at 2:41 AM!?
Does Deepin DE have desktop zooming capabilities, or a similar accessibility feature? My sight is really bad; I can't see small text. I usually use Desktop zooming on GNOME, KDE, MATE and cinnamon, which basically zooms in the entire desktop, and it starts following your cursor. I have recently moved to the Deepin DE because it looks gorgeous, imo, but I can't find any accessibility features in this DE. I looked through the settings menu (which is admittedly a bit hard to navigate), and I googled this, but couldn't find anything. Does anyone have any idea about this? Thank you for any and all answers!
Does anyone here have a laptop or tablet with pen input running Linux? How is the experience? Are the available drawing programs (skrita, inkscape, libreoffice?) good enough for note taking and stuff like that? I currently have a Galaxy Note 10.1 (N8010) with squid, which is great for drawing, but over the years has become an extremely slow device. Since my laptop could also use a replacement, I'm thinking of buying something like an XPS 15 2-in-1 when it comes out. Since I run NixOS when at work, I'd like to know if I can do most or all of the note taking on it. I'm sure the pen will get recognised, but it would kind of be a shame if programs couldn't tell the pen apart from the mouse or finger.
I have Solus installed on my X230T. On X11, Wacom pen input seems to work fine with Xournal and Krita at the least with the wacom input driver installed, full pressure sensitivity and all. Touch input itself super is hit or miss depending on the desktop, apps, touchscreen driver, and UI toolkit in use... GNOME is generally alright with it but Plasma is a shitshow.
Sorry, you need to Log In to post a reply to this thread.