You are not logged in.
hevidevi wrote:I will have to keep an eye on the ssd temperature on the next one i buy.
To be fair, it was one of the budget BX series. They're cheap for a reason and the specs are mostly lies.
I already had a good rant about them here, so I won't repeat it.
Yeah mine was the same series as well. Might pay to spend a bit more next time, any recommendations? Im thinking possibly WD or maybe Samsung.
Ive got a gigabyte ssd in my laptop but im pretty certain that is about the same quality of crucial as it was just as cheap, i think i paid around $50 for both drives.
Made a script for the gtk3 settings.ini as well, pretty much similar to gtk2rc.
There is some prior editing to be done to the settings.ini which includes setting up the ini file as follow with your favorite light and dark icons and gtk theme. See bold text in quote, lines 2 and 3 is the light theme and lines 4 and 5 are the dark theme.
[Settings]
gtk-application-prefer-dark-theme=false
gtk-icon-theme-name=Papirus
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Papirus-Dark
gtk-button-images=1
gtk-cursor-theme-name=DMZ-White
gtk-cursor-theme-size=16
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-font-name=Sans 12
gtk-menu-images=1
gtk-primary-button-warps-slider=false
gtk-theme-name=Greybird
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
The script.
#!/bin/sh
get_date=$(date +%k%M)
get_theme () {
if [ "$get_date" -lt "1759" ]; then
printf "$(sed -i -e '2,3s/#//' "$HOME"/.config/gtk-3.0/settings.ini && sed -i '4,5s/#//' "$HOME"/.config/gtk-3.0/settings.ini)"; # Theme Reset
printf "$(sed -i -e '2,3s/#//' "$HOME"/.config/gtk-3.0/settings.ini && sed -i '4,5s/./#&/' "$HOME"/.config/gtk-3.0/settings.ini)"; # Light Theme
elif [ "$get_date" -gt "1800" ]; then
printf "$(sed -i -e '2,3s/#//' "$HOME"/.config/gtk-3.0/settings.ini && sed -i '4,5s/#//' "$HOME"/.config/gtk-3.0/settings.ini)" # Theme Reset
printf "$(sed -i -e '4,5s/#//' "$HOME"/.config/gtk-3.0/settings.ini && sed -i '2,3s/./#&/' "$HOME"/.config/gtk-3.0/settings.ini)" # Dark Theme
fi
}
while true; do
get_theme
sleep 1800s
done
using gtkrc-2.0 - see second post for gtk3 script.
i use startx so use .xinitrc to autostart scripts there.
This just changes the .gtkrc-2.0 theme file in $HOME to match the time of day, so any time after 6 am is a light theme and any time after 6pm is a dark theme, i think i got the script correct as it is using a while loop that checks every 30 minutes? It just comments out the appropriate gtk and icon theme for the time of day. I thought someone here might find it useful.
#!/bin/sh
get_date=$(date +%k%M)
get_theme () {
if [ "$get_date" -lt "1759" ]; then
printf "$(sed -i -e '1,2s/#//' "$HOME"/.gtkrc-2.0 && sed -i '3,4s/#//' "$HOME"/.gtkrc-2.0)"; # Theme Reset
printf "$(sed -i -e '1,2s/#//' "$HOME"/.gtkrc-2.0 && sed -i '3,4s/./#&/' "$HOME"/.gtkrc-2.0)"; # Light Theme
elif [ "$get_date" -gt "1800" ]; then
printf "$(sed -i -e '1,2s/#//' "$HOME"/.gtkrc-2.0 && sed -i '3,4s/#//' "$HOME"/.gtkrc-2.0)" # Theme Reset
printf "$(sed -i -e '3,4s/#//' "$HOME"/.gtkrc-2.0 && sed -i '1,2s/./#&/' "$HOME"/.gtkrc-2.0)" # Dark Theme
fi
}
while true; do
get_theme
sleep 1800s
done
so if you have a similar gtkrc-2.0 file with light dark themes you can using the startup script. I dont bother much with gtk3 apps, firefox is set to dark but it only affects the firefox areas of the app. I also dont use theme setters like lxappearance and do it manually.
Light mode.
gtk-theme-name="Greybird"
gtk-icon-theme-name="Papirus"
#gtk-theme-name="Greybird-dark"
#gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Sans 11"
gtk-cursor-theme-name="DMZ-White"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
Dark mode
#gtk-theme-name="Greybird"
#gtk-icon-theme-name="Papirus"
gtk-theme-name="Greybird-dark"
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Sans 11"
gtk-cursor-theme-name="DMZ-White"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
Edited: Updated script, now working as it should.
hevidevi wrote:Anyone ever had this happen?
Yup, and it was a Crucial as well. Overheated and died under a sustained write workload despite being in a fan-cooled drive cage that didn't exceed 25C ambient.
Well that sucks.
I will have to keep an eye on the ssd temperature on the next one i buy. Im currently using an old spin drive that is about 8 year old so that will probably pack it in soon too. But atleast i got 8 years out of it not 1.
I've heard tales of exactly as it happened to you: sudden complete failure without warning. As I am running on a SSD, this also worries me.
Did you run with discards on or, if using LVM run fstrim every once in a while (say, once a week)?
No i did not use discards on, only noatime for kernel parameters. Not using lvm either, just plain old ext4 encrypted root.
I was of the opinion that the wiki was right in saying this in regards to the discard option.
https://wiki.debian.org/SSDOptimization
The "discard" options is not needed if your SSD has enough overprovisioning (spare space) or you leave (unpartitioned) free space on the SSD.
Had a ssd die on me today, a crucial 240GB.
Not sure why, it died when i was downloading an iso via uget-gtk downloader, i had put the connections to 7 for simultaneous connections and was getting some really fast speeds like 200 MB per second which may be too fast, so all i can think of is that my ssd could not handle the writes or piping or something, maybe it was just on it way out though, only a year old though. Got the input/output error as soon as the uget-gtk program crashed.
The disk completely disappeared, just does not show up in the bios so im pretty certain its kaput.
I had backups so all good.
Anyone ever had this happen?
Kal-El - Dark Majesty - Full Album.
Doesn't say.
I don't like the -configure option for the same reason I don't like most abstractions — they introduce the possibility of new bugs and vulnerabilities whilst adding no new features. Why would anybody want that?
Ive never had an issue with it, maybe newer hardware might.
From the man page (added emphasis):
-configure
When this option is specified, the Xorg server loads all video
drive modules, probes for available hardware, and writes out
an initial xorg.conf(5) file based on what was detected. This
option currently has some problems on some platforms, but in
most cases it is a good way to bootstrap the configuration
process.So watch out for that
Pays to read the documentation, what platforms?
What do you actually want to change?
well that is not what the OP was asking, i dont want to change anything but Xorg -configure will give a conf file to see what is configured.
example:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
#Option "WrappedFB" # [<bool>]
#Option "GLXVBlank" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "PageFlip" # [<bool>]
#Option "SwapLimit" # <i>
#Option "AsyncUTSDFS" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # <i>
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Write your own configuration snippet. It's not difficult.
So you are saying Xorg -configure is useless in my situation?
hevidevi wrote:If it was useless then why is it a part of the Debian wikipedia.
Because the advice on that page is ancient and hasn't been updated to reflect the current situation.
All of the (DDX) video drivers supply their own configuration snippets that can be copied and modified as needed so there really is no need fot the --configure option at all.
EDIT:
empty@P14s:~ $ ls /usr/share/X11/xorg.conf.d/ 10-amdgpu.conf 10-quirks.conf 10-radeon.conf 40-libinput.conf 70-wacom.conf empty@P14s:~ $
^ Copy any of those files to /etc/X11/xorg.conf.d/ and modify them as needed.
Okay and if some of those files are not present?
~ > ls /usr/share/X11/xorg.conf.d/
10-quirks.conf 40-libinput.conf 70-synaptics.conf
hevidevi wrote:If it was useless then why is it a part of the Debian wikipedia.
Because the advice on that page is ancient and hasn't been updated to reflect the current situation.
All of the (DDX) video drivers supply their own configuration snippets that can be copied and modified as needed so there really is no need fot the --configure option at all.
But it successfully describes the usage of X on my system.
xorg -configure is not useless. You can use it to further tweak your X settings.
If it was useless then why is it a part of the Debian wikipedia.
If xorg.conf is missing for some reason, Xorg will probe your hardware on every startup. Though this works fine in most cases, some settings remain inaccessible. To create a starting point for customization, do the following.
Switch to a console as root (not a terminal emulator in X), then run:# /etc/init.d/gdm stop || /etc/init.d/gdm3 stop || /etc/init.d/kdm stop || /etc/init.d/xdm stop || /etc/init.d/lightdm stop $ cd /etc/X11/ # Xorg -configure
Well, Chimaera seems to be pretty stable, so I'm guessing, nobody has much to say really....
Ive been using chimaera all year, stable for me too.
Knoppix does a good compiz desktop. I always keep a few sticks of knoppix around for backups, they are like mini operating systems with everything you would possibly need out of a linux distro.
Hevidevi, if it doesn't work, you can PM me, also, if you want FDE with or without /boot encrypted, ask me that in a PM.
Peace!
Thanks.
hevidevi wrote:zapper wrote:dhcpcd-gtk is one of them
dhcpcd + wpa_supplicant both of which seem to work without dbus in Hyperbola.
and yes, wifi with wpa2 and 2.4ghz as well as 5ghz works fine.
dhcpcd-ui you mean?
Looks very much dbus free.
I tried installing hyperbola a few days ago but was stopped due to gpg / pacman key not found by the maintainer.
Yeah, you can bypass that actually, set SigLevel to never.
Its no big deal.
Did that, still failed. Im pretty sure the maintainers key is kaput. By that i mean that the key cannot be found on any key servers. When was the last time you had to refresh pacman keys?
hevidevi wrote:zapper can i ask what programs you use for network on hyperbola?
dhcpcd-gtk is one of them
dhcpcd + wpa_supplicant both of which seem to work without dbus in Hyperbola.
and yes, wifi with wpa2 and 2.4ghz as well as 5ghz works fine.
dhcpcd-ui you mean?
Looks very much dbus free.
I tried installing hyperbola a few days ago but was stopped due to gpg / pacman key not found by the maintainer.
hevidevi wrote:Saying that, i dont care these days, nothing i do on a computer warrants spec-ops type privacy, im actually looking to quit computing altogether. I think it has run its course and is a doomed endeavor and blight on human interactivity.
Ha! I've been coming around to this view myself.
The web of deceit.... The dragnet.
Really look at the word an meanings of computing,networking etc.
web (spiders web) net (fishing net).
zapper can i ask what programs you use for network on hyperbola?
Just use firefox-esr with a decent user.js to filter out all the crapware.
if you opt for no dbus configuration, dbus is not activated as andyprough mentions. The libs still need to be available but dbus is not activated so is not used in the usual way by init thus negating any security vuln in my opinion. If you know a thing or two about openbsd you will know that messagebus needs to be activated for dbus to work and firefox will run as long as the libs are satisfied.
Saying that, i dont care these days, nothing i do on a computer warrants spec-ops type privacy, im actually looking to quit computing altogether. I think it has run its course and is a doomed endeavor and blight on human interactivity.
you can also program in completions for doas if you are so inclined.
a few examples i found here https://git.xosc.org/config/tree/.kshrc
#############################################################################
# COMPLETIONS
#############################################################################
# Mostly copied from
# https://github.com/qbit/dotfiles/blob/master/common/dot_ksh_completions
if [ -d ~/.password-store ]; then
PASS_LIST=$(
cd ~/.password-store
find . -type f -name \*.gpg | sed 's/^\.\///' | sed 's/\.gpg$//g'
)
set -A complete_tpm_1 -- $PASS_LIST usage
set -A complete_tpm_2 -- $PASS_LIST edit insert show rm
fi
set -A complete_kill_1 -- -9 -HUP -INFO -KILL -TERM
set -A complete_ifconfig_1 -- $(ifconfig | grep ^[a-z] | cut -d: -f1)
if [ -d /var/db/pkg ]; then
PKG_LIST=$(/bin/ls -1 /var/db/pkg)
set -A complete_pkg_info -- $PKG_LIST
alias dpkgdel="doas pkg_delete"
set -A complete_dpkgdel_1 -- $PKG_LIST
fi
# relayctl completion. Second level only for 'show'
set -A complete_relayctl_1 -- monitor show load poll reload stop redirect table host log
set -A complete_relayctl_2 -- summary hosts redirects relays routers sessions
set -A complete_unwindctl_1 -- reload log status
if [ -d /etc/rc.d ]; then
RCD_LIST=$(/bin/ls /etc/rc.d)
set -A complete_rcctl_1 -- get getdef set check reload restart stop start disable enable order ls
set -A complete_rcctl_2 -- $RCD_LIST
alias drcctl="doas rcctl"
set -A complete_drcctl_1 -- get getdef set check reload restart stop start disable enable order ls
set -A complete_drcctl_2 -- $RCD_LIST
fi
set -A complete_tarsnap_1 -- --list-archives --print-stats --fsck --fsck-prune --nuke --verify-config --version --checkpoint-bytes --configfile --dry-run --exclude --humanize-numbers --keyfile --totals
# /tmp/.man-list is generated upon boot by /etc/rc.local with
# find /usr/share/man/ -type f | sed -e 's/.*\///' -e 's/\.[0-9]//' | sort -u
[[ -f /tmp/.man-list ]] && set -A complete_man -- $(cat /tmp/.man-list)
[[ -d $HOME/.marks ]] && set -A complete_j -- $(/bin/ls $HOME/.marks)
Wanna take a peek into the future.....
The New World Order By Ralph Epperson
https://www.amazon.com.au/New-World-Ord … 1592324789
Rockefeller Foundation - Scenarios for the Future of Technology and International Development - May 2010.
http://www.nommeraadio.ee/meedia/pdf/RR … dation.pdf
The Molecular Vision of Life - Caltech the Rockefeller Foundation and the Rise of the New Biology.pdf
that last one you will have to find yourself. Worth a read though.