seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2021/04/14, 13:25:37


Help

Recent Posts

Pages: [1] 2 3 ... 10
1
ggf ist das hier gemeint

Code: [Select]
apol nvidia-legacy-390xx-kernel-support
nvidia-legacy-390xx-kernel-support:
  Installiert:           (keine)
  Installationskandidat: 390.141-3
  Versionstabelle:
     390.141-3 500
        500 http://ftp.de.debian.org/debian unstable/non-free amd64 Packages
2
Software Support (EN) / Re: Kernel and autoremove
« Last post by Mister00X on 2021/04/12, 19:20:40 »
I tested a bit and added that line above to /etc/apt/apt.sonf.d/01autoremove

Code: [Select]
---snip--
APT
{
  NeverAutoRemove
  {
"^firmware-linux.*";
"^linux-firmware$";
"^linux-image-[a-z0-9]*$";
"^linux-image-[a-z0-9]*-[a-z0-9]*$";
"^linux-[h-i]";
  };

  VersionedKernelPackages
---snap---

so it works for me™, i don't have to mark new kernel as installed manual.

I am by no means an expert when it comes to regex but I believe that the reason for the original config not matching the kernels is that those strings do not match the dots "." in the kernel package names and maybe some of the "-" too.

So looking at a current kernel
Code: [Select]
linux-image-5.11.13-2-siduction-amd64
I imagine a string like
Code: [Select]
"^linux-image-[a-z0-9\.]*-[a-z0-9\-]*$"
to actually match this.

That said I am not entirely sure if apt accepts this kind of escaping special characters.
3
Hallo allerseits- ich stehe mit einer Nvidia-legacy-390xx-driver Installation und einem Kernelupdate auf dem Schlauch. Mit einem Kernel 5.10.20-towo.1-0 läuft eine 560er Grafikkarte problemlos. Aktuellere Kernel, bzw.  Nvidia-legacy-390xx-driver lassen sich nicht kombinieren. Ich erhalte folgende Meldungen:
Quote
Building initial module for 5.11.13-1-siduction-amd64Error! Bad return status for module build on kernel: 5.11.13-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-390xx/390.141/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes nvidia-legacy-390xx-kernel-dkms (--configure):
 »installiertes nvidia-legacy-390xx-kernel-dkms-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 10 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nvidia-legacy-390xx-driver:
 nvidia-legacy-390xx-driver hängt ab von nvidia-legacy-390xx-kernel-dkms (= 390.141-3) | nvidia-legacy-390xx-kernel-390.141; aber:
  Paket nvidia-legacy-390xx-kernel-dkms ist noch nicht konfiguriert.
  Paket nvidia-legacy-390xx-kernel-390.141 ist nicht installiert.
  Paket nvidia-legacy-390xx-kernel-dkms, das nvidia-legacy-390xx-kernel-390.141 bereitstellt, ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes nvidia-legacy-390xx-driver (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 nvidia-legacy-390xx-kernel-dkms
 nvidia-legacy-390xx-driver
Kann mir jemand einen Tip geben was ich hier nicht gebacken kriege.Es handelt sich aktuell um den installierten Nvidia-legacy-390xx-driver 3.90.141-3. Das fehlende Paket nvidia-legacy-390xx-kernel-390.141 wird mir leider in den Repos nicht angeboten, oder verstehe ich hier etwas falsch
Ein DU wird nicht komplett durchgeführt. :(
Danke im voraus...
4
Art & Design (EN) / Re: Desktop-Photo (Show your Desktop)
« Last post by DX2300 on 2021/04/10, 22:37:48 »
Nothing fancy. Sid / Plasma (Norbert Preining repo):



DX2300
5
Software-Support (DE) / Re: baloo: Datei-Indizierung inaktiv
« Last post by devil on 2021/04/09, 11:54:32 »
Der Thread ist zwar schon sehr alt, aber ich bin erst kürzlich wieder auf  ein ähnliches Problem mit Baloo gestoßen und fand die Lösung dann hier: https://linuxnews.de/2021/03/ueberwachung-von-aenderungen-der-inotify-kernel-parameter/
6
Art & Design (DE) / Re: Desktop-Foto
« Last post by unklarer on 2021/04/09, 11:50:10 »


conkyrc
Code: [Select]
-- pkill -xf "conky -c /home/unklar/.conky/rumit/rumit_conky10" &
-- @unklar 2020-04-01; 2020-07-09; 2020-11-29
conky.config = {

background = true,
update_interval = 1,

cpu_avg_samples = 2,
net_avg_samples = 2,
--temperature_unit = 'celsius',

double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,

gap_x = 10,
gap_y = 240,
minimum_width = 240, minimum_height = 800, --650,
maximum_width = 240,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',
--own_window_colour 000000
own_window_argb_visual = true,
--own_window_argb_value = 200,
own_window_class = 'Conky',
--own_window_title = 'Grey Clock',

border_inner_margin = 0,
border_outer_margin = 0,
alignment = 'top_right',

draw_shades = false,    --<---
default_shade_color = '000000', --<---
draw_outline = false,
--default_outline_color = '000000',
draw_borders = false,
draw_graph_borders = true, --false,

override_utf8_locale = true,
use_xft = true,
font = 'Fira Mono:bold:size=12', --CaviarDreams:size=8', --<---
xftalpha = 0.5,
uppercase = false,

default_color = 'ffffff',
color1 = 'ed2323', --bunsen-red
color2 = '008000', --green
color3 = '008b8b', --dark cyan
color4 = '008080', --teal
color5 = '20b2aa', --LightSeaGreen
color6 = '778899', --LightSlateGrey
color7 = 'C0C0C0', --Silver

--- LUA ---
lua_load = '~/.conky/rumit/scripts/image.lua',

};

conky.text = [[
${font monofur:size=9}${alignc}Conky v${conky_version}${font}
${goto 55}${font LED_mono:size=25}${color6}88:88:88${goto 55}${color}${time %T}${color}${font}
${texeci 1200 bash $HOME/.conky/rumit/neige.sh}${lua fDrawImage $HOME/.conky/rumit/satir-1.png 0 508 240 240 0}
${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f}

${voffset -15}${goto 20}${font conkyweather:size=40}${texeci 600  sed -n '22p' $HOME/Accuweather_conky_script/curr_cond}${font monofur:size=25}${goto 150}${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°
${voffset -13}${goto 16}${font monofur:size=9}CURRENTLY: ${alignc}${texeci 600  sed -n '4p' $HOME/Accuweather_conky_script/curr_cond}
${goto 16}WIND: ${alignc}${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond}  ${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}${goto 170}${voffset -10}${font ConkyWindNESW:size=30}${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/curr_cond}
${voffset -33}${goto 16}${font monofur:size=9}PRESSURE: ${alignc}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
${voffset 7}${goto 25}${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600  sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}${goto 170}${texeci 600  sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}
${goto 30}${font conkyweather:size=20}${texeci 600  sed -n '107p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600  sed -n '108p' $HOME/Accuweather_conky_script/daily_forecast}${goto 170}${texeci 600  sed -n '109p' $HOME/Accuweather_conky_script/daily_forecast}
${voffset -15}${goto 45}${font monofur:size=9}${texeci 600  sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}${goto 120}${texeci 600  sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}${goto 190}${texeci 600  sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}
${goto 20}${font monofur:size=10}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 100}${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 180}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}
  ${color1}${swapbar 0,210}${color}
${font Fira Mono:size=9}${goto 16}plasma  ${alignr 15}${execi 3600 echo `plasmashell --version | grep 'plasmashell' | awk '{print $2}'`}
${goto 16}Entropy  ${alignr 15}${entropy_avail} / ${entropy_poolsize} - ${entropy_perc} %
${goto 16}Boot  ${alignr 15}${execi 86400 who -b | cut -c23-}
${goto 16}Ram  ${alignr 15}${exec free -h --si | awk 'NR==2{printf $3}'} | ${memmax}
${goto 16}System  ${alignr 15}${cpu cpu1} | ${cpu cpu2} | ${cpu cpu3} | ${cpu cpu4}
${goto 16}Radeon  ${alignr 15}${hwmon 0 temp 1}° | HDD ${execi 600 /usr/sbin/hddtemp -n /dev/sdb}°
${goto 16}Load  ${font Fira Mono:size=8}${alignr 15}${loadavg}${color7}(1, 5, 15 min)${color}
${goto 16}${font Fira Mono:size=9}Disk  ${font Fira Mono:size=8}${fs_used /}/${fs_size /} ${color7}(${fs_free /})${color}
${voffset -8}
${alignc}${color7}${font Fira Mono:size=8} ${kernel} ${font Fira Mono:size=9}${color}
${voffset -8}
${goto 70}speed  ↓  ${downspeedf enp2s0}
${goto 70}speed  ↑  ${upspeedf enp2s0}${font monofur:size=9}${color}
${voffset -8}
${goto 10}Exchange rate: ${alignr 15}£ ${execi 1200 curl gbp.rate.sx/1eur?TFq -s | cut -c1-7}  € ${execi 1200 curl eur.rate.sx/1gbp?TFq -s | cut -c1-7}
  ${color1}${swapbar 0,210}${color}


















  ${color1}${swapbar 0,210}${color}
#${goto 5}${color}${font Hack:pixelsize=9}${execi 3 audtool current-song-tuple-data artist}
${font Hack:pixelsize=10}${execi 3 audtool current-song-tuple-data title | fold -s40}
#${goto 5}${font Hack:pixelsize=9}${execi 3 audtool current-song-tuple-data album}${color}
#${goto 5}${execi 1 audtool current-song-output-length}  ${execi 1 audtool current-song-length}${color}

#${alignc}${font Hack:pixelsize=12}updates:  ${if_match ${execi 600 aptitude search "~U" | wc -l | tail}==0}${execi 600 aptitude search "~U" | wc -l | tail}${color}${else}${color red}${blink ${execi 600 aptitude search "~U" | wc -l | tail} }${font}${color}${endif}

]];
neige.sh
Code: [Select]
#!/bin/bash

file_exists() {
    if [ -e "$1" ]; then
        return 0
    else
        return 1
    fi
}

PREFIX=${HOME}/.conky/rumit/
RSAT=${PREFIX}radar-sat
#RSAT_zoom=${PREFIX}radar-satzoom
OUTPUT=${PREFIX}satir-1.png
tailleRSAT=80
#tailleRSAT_zoom=80
tailledecoupe_ir2=692x692
#tailledecoupe_zoom=150x150
################################
################################
#Annotation pour vérifier si l'image est actualisée ##HelveticaLTStd-BlkCond
jour=$(date +%d.%m.%y); heuremodif=$(date +%H); minmodif=$(date +%M)
#fonte=Open-Sans-Bold
libelle=""
TXT=${PREFIX}updated.png
#################################################################

adrS="https://neige.meteociel.fr/satellite/latest-ir-color.gif"

wget -qO "${RSAT}" "${adrS}"

convert ${RSAT} -filter Lanczos -crop $tailledecoupe_ir2+31+57\! ${RSAT}.png
#convert ${RSAT} -filter Lanczos -crop $tailledecoupe_zoom+389+335\! ${RSAT_zoom}.png
#convert ${RSAT_zoom}.png -resize ${tailleRSAT_zoom}% ${RSAT_zoom}
#########################################################
convert ${RSAT}.png -resize ${tailleRSAT}% ${RSAT}.png
convert  ${RSAT}.png \
\( +clone  -alpha extract \
       -draw 'fill black polygon 0,0 0,5 5,0 fill white circle 5,5 5,0' \
        \( +clone -flip \) -compose Multiply -composite \
        \( +clone -flop \) -compose Multiply -composite \
     \) -alpha off -compose CopyOpacity -composite ${RSAT}.png

convert -background transparent -fill white -font monofur -pointsize 42 -gravity center label:"${libelle} ${jour} @ ${heuremodif}:${minmodif}" -trim \
\( +clone -background none  -shadow 100x1 -channel A -level 0,6% +channel \) +swap +repage -gravity center -composite ${TXT}



convert $RSAT.png  -background  dimgray \( +clone -shadow 70x4+4+4 \) +swap -background none -flatten ${OUTPUT}

composite -geometry +35+10 ${TXT} ${OUTPUT} ${OUTPUT}
#composite -geometry +155+10 ${RSAT_zoom} ${OUTPUT} ${OUTPUT}
if file_exists "${HOME}"/.conky/rumit/radar-sat-*; then
    rm "${HOME}"/.conky/rumit/radar-sat-* "${RSAT}" "${RSAT}.png"
else
    rm "${RSAT}" "${RSAT}.png"
fi
 
exit
7
Art & Design (DE) / Re: Desktop-Foto
« Last post by unklarer on 2021/04/09, 11:42:33 »

conkyrc
Code: [Select]
-- pkill -xf "conky -c /path/to/conkyrc
-- 2020-09-26 conkyV1.10 @unklar
conky.config = {
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',
--own_window_colour 000000
own_window_argb_visual = true,
--own_window_argb_value = 80,
own_window_class = 'Conky',

minimum_width = 660, minimum_height = 220,
    maximum_width = 660,
gap_x = 300,-- l|r
gap_y = 80,-- u|d
alignment = 'bottom_right',
--alignment ml
--alignment mr

use_xft = true,
font = 'GE Inspira:size=9',
xftalpha = 1,

override_utf8_locale = true,

draw_shades = false,
default_shade_color = '000000',
draw_outline = false,
default_outline_color = '000000',

default_color = 'ffffff',
color1 = '778899',
color2 = 'FFA07A',
color3 = '87CEFA',
color4 = '48D1CC',
color5 = 'FFDEAD', --NavajoWhite
color6 = '00BFFF',
color7 = 'ffffff', --<
color8 = 'FFD700',
color9 = 'ffffff', --<

draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = false,
background = false,
use_spacer = 'none',
no_buffers = true,
double_buffer = true,

update_interval = 1, --2,

lua_load = '/home/unklarer/mga5/script/image.lua',

};

conky.text = [[
##### Start #####
${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f2015 -h2015}
##### Zeit #####
${voffset -35}${font GE Inspira:size=55}${time %H}:${time %M}${font GE Inspira:size=20}${color 808080}${goto 180}${time %S}${color}${font}
##### Datum #####
${voffset -55}${font GE Inspira:size=14}${alignc -60}${time %A, %d. %B %Y}${font}
##### Wind-Info-Anzeige ######
${goto 310}${font GE Inspira:size=12}Wind : ${execi 90 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond} ${execi 90 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}
${goto 310}Humidity : ${execi 90 sed -n '7p' $HOME/Accuweather_conky_script/curr_cond}
${goto 310}Pressure : ${execi 90 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
#### Stadt ####
${voffset -5}${font GE Inspira:size=14}Lichtenstein : ${font}${color5} ${execi 90 sed -n '1p' $HOME/Accuweather_conky_script/aktualisiert}${color}
${font GE Inspira:size=18}${goto 135}${execi 90 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond} °C ${font} Gefühlt :  ${voffset -12}${font GE Inspira:size=18}${execi 90 sed -n '3p' $HOME/Accuweather_conky_script/curr_cond} °C
${goto 555}${voffset -124}${font ubuntu:size=11}N ${font}
${goto 522}${voffset 8}${font Ubuntu:size=6}NNW ${goto 583}NNE${font}
${goto 493}${voffset -6}${font Ubuntu:size=9}NW ${goto 611}NE${font}
${goto 486}${voffset 10}${font Ubuntu:size=6}WNW ${goto 618}ENE${font}
${goto 468}${voffset 5}${font Ubuntu:size=11}W ${goto 641}E${font}
${goto 486}${voffset 9}${font Ubuntu:size=6}WSW ${goto 618}ESE${font}
${goto 493}${voffset 16}${font Ubuntu:size=9}SW ${goto 611}SE${font}
${goto 522}${voffset -4}${font Ubuntu:size=6}SSW ${goto 583}SSE
${goto 555}${voffset 4}${font Ubuntu:size=11}S ${font}
#### Anzeige der nächsten drei Stunden und drei Tage ####
${voffset -80}${goto 20}${color5}${tztime GMT-3 %H} h\
${goto 95}${tztime GMT-4 %H} h\
${goto 170}${tztime GMT-5 %H} h\
${goto 245}${color}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$2}'`}\
${goto 320}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$2}'`}\
${goto 400}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$2}'`}
##### Temperaturanzeige  #####
${voffset 25}
Temp${goto 40}${execi 90 sed -n '4p' $HOME/Accuweather_conky_script/hourly}°\
${goto 100}${execi 90 sed -n '34p' $HOME/Accuweather_conky_script/hourly}°\
${goto 180}${execi 90 sed -n '64p' $HOME/Accuweather_conky_script/hourly}°\
${goto 245}${color9}${execi 90 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}°${color}/${color7}${execi 90 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}°${color}\
${goto 320}${color9}${execi 90 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}°${color}/${color7}${execi 90 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}°${color}\
${goto 400}${color9}${execi 90 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}°${color}/${color7}${execi 90 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}°${color}
#### Icons aktuelle Bedingungen und Wind ####
${lua fDrawImage $HOME/Accuweather_conky_script/forecast_2015/forecast_0.png 180 5 132 80 0}${lua fDrawImage $HOME/Accuweather_conky_script/forecast_2015/wind_0.png 465 12 190 190 0}\
#### Icons für die nächsten 3 Stunden und 3 Tage ####
${lua fDrawImage $HOME/Accuweather_conky_script/hourly_2015/hourly_2.png 0 145 70 40 0}\
${lua fDrawImage $HOME/Accuweather_conky_script/hourly_2015/hourly_3.png 75 145 70 40 0}\
${lua fDrawImage $HOME/Accuweather_conky_script/hourly_2015/hourly_4.png 150 145 70 40 0}\
${lua fDrawImage $HOME/Accuweather_conky_script/forecast_2015/forecast_2.png 225 145 70 40 0}\
${lua fDrawImage $HOME/Accuweather_conky_script/forecast_2015/forecast_3.png 300 145 70 40 0}\
${lua fDrawImage $HOME/Accuweather_conky_script/forecast_2015/forecast_4.png 380 145 70 40 0}
${voffset -800}
]];
image.lua
Code: [Select]
require 'cairo'
home = os.getenv ('HOME')

--Fonction d'affichage
function conky_fDrawImage(path,x,y,w,h,arc)

path = string.gsub(path, "~", home)
path = string.gsub(path, "$HOME", home)

local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)

local function fDrawImage(path,x,y,w,h,arc)
x=x+(w/2)
y=y+(h/2)
local img =  cairo_image_surface_create_from_png(path)
local w_img, h_img = cairo_image_surface_get_width (img), cairo_image_surface_get_height (img)

local cr = cairo_create (cs)
cairo_translate (cr, x, y)

if arc then
cairo_rotate (cr, arc)
end

cairo_scale (cr, w/w_img, h/h_img)
cairo_set_source_surface (cr, img, -w_img/2, -h_img/2)
cairo_paint (cr)
cairo_destroy(cr)
cairo_surface_destroy (img)
end
fDrawImage(path,x,y,w,h,arc)
cairo_surface_destroy(cs)
return ""
end
8
Freie Rede (DE) / Re: Wer nutzt KRunner?
« Last post by devil on 2021/04/07, 22:31:07 »
9
Freie Rede (DE) / Re: Wer nutzt KRunner?
« Last post by devil on 2021/04/07, 22:19:03 »
der_bud Danke!
10
Freie Rede (DE) / Re: Wer nutzt KRunner?
« Last post by oduffo on 2021/04/07, 22:10:04 »
dito. So funzt es auch bei mir.
Pages: [1] 2 3 ... 10