How to start screen gnome-screensaver daemon

Following is what you will do to use gnome-screensaver. Make sure that gnome screensaver is installed, along with its components. Unfortunately, you cannot change the default blanking behavior. (But, since that is what you said that you did anyway, this may just be the solution for you and you will not need the one for using xscreensaver).

1. Go to https://extensions.gnome.org/extension/83/lock-screen/ and install the Lock Screen Extension.

2. Restart your system and see if the extension is running when you logon. It will look like a little lock in your Panel. If not, you will need to edit the json information to add your current version of GNOME Shell and restart GNOME Shell again.

The file will be: ~/.local/share/gnome-shell/extensions/lockscreen@sri.ramkrishna.me/metadata.json

The text should look something like the following (it could differ but your GNOME Shell major and minor version must be in the shell-version list as below):

Code:
{
  "_generated": "Generated by SweetTooth, do not edit", 
  "description": "Add lock icon to the panel and lock the screen instead of using ctrl-alt-l", 
  "name": "Lock Screen", 
  "shell-version": [
    "3.8"
  ], 
  "url": "https://github.com/sramkrishna/gnome3-extensions", 
  "uuid": "lockscreen@sri.ramkrishna.me", 
  "version": 5
}

3. Now, once the extension is running and you see the little lock, what you will need to do is to check for the presence of a Screensaver desktop shortcut in the /etc/xdg/autostart directory. If you check the properties and it says gnome-screensaver in the command field, you can skip to step 8.

4. If there is no gnome-screensaver.desktop file there, you will need to create one and put it in /etc/xdg/autostart. You will need to do this as root or using sudo, as follows. In terminal type sudo nano /etc/xdg/autostart/gnome-screensaver.desktop and press Enter.

5. Paste the following text into that open window:

Code:
[Desktop Entry]
Type=Application
Name=Screensaver
Name[af]=Sluimerskerm
Name[an]=Salvapantallas
Name[ar]=حافظة الشاشة
Name[as]=স্ক্ৰিনছেইভাৰ
Name[ast]=Curiapantalles
Name[be]=Ахоўнік экрана
Name[be@latin]=Źbierahalnik ekranu
Name[bg]=Предпазител на екрана
Name[bn]=স্ক্রিন-সেভার
Name[bn_IN]=স্ক্রিন-সেভার
Name[br]=Damanter skramm
Name[ca]=Estalvi de pantalla
Name[ca@valencia]=Estalvi de pantalla
Name[crh]=Ekran qoruyıcısı
Name[cs]=Šetřič obrazovky
Name[cy]=Arbedwr sgrin
Name[da]=Pauseskærm
Name[de]=Bildschirmschoner
Name[dz]=གསལ་གཞི་ཉེན་སྲུང་།
Name[el]=Προστασία οθόνης
Name[en@shaw]=
Name[en_CA]=Screensaver
Name[en_GB]=Screensaver
Name[eo]=Ekrankurteno
Name[es]=Salvapantallas
Name[et]=Ekraanisäästja
Name[eu]=Pantaila-babeslea
Name[fa]=محافظ صفحه*نمایش
Name[fi]=Näytönsäästäjä
Name[fr]=Économiseur d'écran
Name[ga]=Spárálaí Scáileáin
Name[gl]=Protector de pantalla
Name[gu]=સ્ક્રીનસેવર
Name[he]=שומר מסך
Name[hi]=स्क्रीनसेवर
Name[hr]=Čuvar zaslona
Name[hu]=Képernyővédő
Name[id]=Pengaman Layar
Name[is]=Skjáhvíla
Name[it]=Salvaschermo
Name[ja]=スクリーンセーバー
Name[ka]=ეკრანმზოგი
Name[km]=ធាតុ​រក្សា​អេក្រង់
Name[kn]=ಸ್ಕ್ರೀನ್*ಸೇವರ್
Name[ko]=화면 보호기
Name[ku]=Dîmenderparêz
Name[lt]=Ekrano užsklanda
Name[lv]=Ekrānsaudzētājs
Name[mai]=स्क्रीनसेवर
Name[mg]=Sary mitsitsy
Name[mk]=Чувар на екранот
Name[ml]=സ്ക്രീന്*സേവര്*
Name[mn]=Дэлгэц гамнагч
Name[mr]=स्क्रीनसेवर
Name[ms]=Penyelamat skrin
Name[my]=ဖန်သားပြင်ကန့်လန့်ကာ
Name[nb]=Skjermsparer
Name[nds]=Billschirmschoner
Name[ne]=स्क्रिनसेभर
Name[nl]=Schermbeveiliging
Name[nn]=Skjermsparar
Name[oc]=Estalviaire d'ecran
Name[or]=ପରଦା ସଂରକ୍ଷକ
Name[pa]=ਸਕਰੀਨ-ਸੇਵਰ
Name[pl]=Wygaszacz ekranu
Name[ps]=پرده ساتونکی
Name[pt]=Protecção de Ecrã
Name[pt_BR]=Proteção de tela
Name[ro]=Protector de ecran
Name[ru]=Хранитель экрана
Name[si]=තිරආවරකය
Name[sk]=Šetrič obrazovky
Name[sl]=Ohranjevalnik zaslona
Name[sq]=Ruajtës ekrani
Name[sr]=Чувар екрана
Name[sr@latin]=Čuvar ekrana
Name[sv]=Skärmsläckare
Name[ta]=திரை சேமிப்பி
Name[te]=తెరకాపరి
Name[th]=โปรแกรมรักษาหน้าจอ
Name[tr]=Ekran koruyucu
Name[ug]=ئېكران قوغدىغۇچ
Name[uk]=Збереження екрана
Name[vi]=Bộ bảo vệ màn hình
Name[xh]=Umgcinisikrini
Name[zh_CN]=屏幕保护程序
Name[zh_HK]=螢幕保護程式
Name[zh_TW]=螢幕保護程式
Comment=Launch screensaver and locker program
Comment[af]=Lanseer sluimerskerm en sluitprogram
Comment[an]=Lanzar o salvapantallas y o programa de bloqueyo
Comment[ar]=شغّل برنامج حافظة الشاشة
Comment[as]=স্ক্ৰিনছেইভাৰ আৰু লকাৰ প্ৰগ্ৰাম আৰম্ভ কৰক
Comment[be]=Запуск ахоўніка і блакіроўшчыка экрана
Comment[bg]=Стартиране на предпазителя на екрана и заключване
Comment[bn]=স্ক্রিন-সেভার এবং লক করার প্রোগ্রাম আরম্ভ
Comment[bn_IN]=স্ক্রিন-সেভার ও লকার প্রোগ্রাম আরম্ভ করুন
Comment[ca]=Executa l'estalvi de pantalla i el programa de blocatge
Comment[ca@valencia]=Executa l'estalvi de pantalla i el programa de blocatge
Comment[crh]=Ekran qoruyıcı ve kilitleyici programnı fırlat
Comment[cs]=Spustí šetřič obrazovky a program uzamknutí
Comment[da]=Start pauseskærm og skærmlåsningsprogram
Comment[de]=Bildschirmschoner und Bildschirmsperrung starten
Comment[el]=Έναρξη της προφύλαξης οθόνης και του προγράμματος κλειδώματος υπολογιστή
Comment[en_GB]=Launch screensaver and locker program
Comment[eo]=Ruli ekrankurtenon kaj ŝlosprogramaron
Comment[es]=Lanzar el salvapantallas y el programa de bloqueo
Comment[et]=Ekraanisäästmis- ja lukustustamisprogrammi käivitamine
Comment[eu]=Abiarazi pantaila-babeslea edo programa blokeatzailea
Comment[fa]=اجرای محافط صفحه*نمایش و اجرای برنامه*ی قفل
Comment[fi]=Käynnistä näytönsäästäjä ja lukitusohjelma
Comment[fr]=Lancer l'économiseur d'écran et le programme de verrouillage
Comment[gl]=Iniciar o protector de pantallas e o programa de bloqueo
Comment[gu]=સ્ક્રીન સેવર અને લોકર પ્રક્રિયાને શરૂ કરો
Comment[he]=טעינת שומר המסך ואת תכנית הנעילה
Comment[hi]=स्क्रीनसेवर और लॉकर प्रोग्राम लॉन्च करें
Comment[hu]=Képernyővédő és -zároló program indítása
Comment[id]=Menjalankan pengaman layar serta mengunci program
Comment[it]=Lancia il programma per salvaschermo e per blocco schermo
Comment[ja]=スクリーンセーバーおよびロックするプログラムを起動
Comment[km]=បើក​ដំណើរការ​កម្មវិធី​រក្សា​ធាតុ​អេក្រង់ និង​កម្មវិធី​ចាក់សោ
Comment[ko]=화면 보호기 및 잠그기 프로그램을 실행합니다
Comment[lt]=Paleisti ekrano užsklandą ir užraktą
Comment[lv]=Palaist ekrāna saudzētāju un noslēgšanas programmu
Comment[ml]=സ്ക്രീന്* സേവറും ലോക്കര്* പ്രോഗ്രാം ലഭ്യമാക്കുക
Comment[mr]=स्क्रीनसेवर व लॉकर प्रोग्राम सुरू करा
Comment[ms]=Lancar penyelamatskrin dan program pengunci
Comment[nb]=Start skjermsparer og låsprogram
Comment[nl]=Schermbeveiliging en -vergrendeling opstarten
Comment[or]=ପରଦା ସଂରକ୍ଷକ ଏବଂ ଅପରିବର୍ତ୍ତନୀୟ ପ୍ରଗ୍ରାମକୁ ଆରମ୍ଭ କରନ୍ତୁ
Comment[pa]=ਸਕਰੀਨ ਸੇਵਰ ਅਤੇ ਲਾਕਰ ਪਰੋਗਰਾਮ ਚਲਾਓ
Comment[pl]=Uruchamia wygaszacz ekranu i program blokujący
Comment[pt]=Iniciar o protector de ecrã e a aplicação de trancar
Comment[pt_BR]=Executa o protetor de tela e bloqueia programa
Comment[ro]=Lansează programul de blocare și protejare a ecranului
Comment[ru]=Запустить хранитель экрана и программу блокировки
Comment[sl]=Zaženi ohranjevalnik zaslona in program za zaklepanje
Comment[sr]=Покреће чувара екрана и програм за закључавање екрана
Comment[sr@latin]=Pokreće čuvara ekrana i program za zaključavanje ekrana
Comment[sv]=Starta program för skärmsläckare och -låsning
Comment[ta]=திரைசேமிப்பு மற்றும் பூட்டு நிரலை துவக்கு
Comment[te]=తెరకాపరిని మరియు తాళంవేయు ప్రోగ్రామును ప్రారంభించు
Comment[th]=เรียกโปรแกรมรักษาและล็อคหน้าจอ
Comment[tr]=Ekran koruyucu ve kilitleyici programı başlat
Comment[ug]=ئېكران قوغدىغۇچ ۋە قۇلۇپلاش پروگراممىسىنى قوزغات
Comment[uk]=Програма запуску збереження екрана та блокування
Comment[vi]=Chạy chương trình bảo vệ và khóa màn hình
Comment[xh]=Ukhupha umgcini-skrini kunye nenkqubo yotshixa
Comment[zh_CN]=加载屏幕保护并锁定程序
Comment[zh_HK]=啟動螢幕保護程式並鎖定程式
Comment[zh_TW]=啟動螢幕保護程式並鎖定程式
Icon=preferences-desktop-screensaver.png
Exec=gnome-screensaver
OnlyShowIn=GNOME
NoDisplay=true
X-GNOME-Autostart-Phase=Application
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-screensaver
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.6.1

7. Press Ctrl+x and save the file.

8. Make sure the file is executable by checking permissions. If it is not executable, type sudo chmod a+x ‘/etc/xdg/autostart/gnome-screensaver.desktop’ and press Enter. Once you have done that reboot your system and logon to GNOME Shell again. Check System Monitor to see if the gnome-screensaver process is running. If it is, clicking the lock icon in the panel should lock your screen and blank it. If it works, you are done and can skip the remaining steps. If it still does not work, you have to make three modifications to the code of the Lock Screen Extension you installed in a previous step.

9. Open ~/.local/share/gnome-shell/extensions/lockscreen@sri.ramkrishna.me/extension.js in gEdit.

10. Add the following line to the constants:

Code:
const GLib = imports.gi.GLib;

11. Comment out the line reading: “const ScreenSaver = imports.misc.screenSaver;” and add the following below that if it is not already there:

Code:
const Main = imports.ui.main;

12. Locate and comment out the lines that read as follows:

Code:
screenSaverProxy = new ScreenSaver.ScreenSaverProxy();
screenSaverProxy.LockRemote();

13. Add the following two lines below the two lines you just commented out:

Code:
	GLib.spawn_command_line_async('gnome-screensaver-command --lock');
	Main.screenShield.lock(true);

14. Save the file, restart your machine, and then the Lock Screen icon in your panel should work to start gnome-screensaver and lock and blank your screen.

You’re done, if you followed these instructions exactly.

 

source: http://forums.fedoraforum.org/showthread.php?t=293679

Statisk kopi af dynamisk side

Mange hjemmesider, vi støder på i dag er dynamiske. Men i nogle tilfælde kan det være nødvendigt eller ønskværdigt at oprette en statisk kopi af en hjemmeside.

  • Siden kører på en gammel og forældet version af websoftwaren (et CMS-system, f.eks.)
  • Siden er blevet hacket, men indholdet er stadig brugbart
  • Siden er ikke blevet opdateret i lang tid, og har mistet sin relevans, men skal måske genoplives som en dynamisk hjemmeside

Derudover kan man med fordel bruge en statisk side som midlertidig fail-over, som de besøgende får vist, til den primære side bringes online igen.

Den nemmeste måde er med wget-kommandoen, som eksekveres fra et terminalvindue:

wget -P [sti til lokal mappe] -mpck --user-agent="" -e robots=off --wait 1 -E [URL til hjemmesiden, der ønskes gemt]

Når wget har kørt færdig, åbner du den lokale mappe, og åbner index-filen i din browser.

Installér Gnome3 i Arch Linux

To pakkegrupper kan som udgangspunkt installeres for at få det hele med. Gnome-extra indeholder en del spil, som nogle måske vil vælge at fjerne igen efterfølgende.

sudo pacman -S gnome gnome-extra

Gnome bruger GDM som display manager – så GDM skal køre som tjeneste for at du kan starte op i Gnome.

sudo systemctl enable gdm.service

Gnome Tweak Tool er ikke et absolut krav, men udvider Gnomes meget spartanske indstillingsmuligheder betydeligt. Uundværligt, hvis du vil ændre tema i Gnome.

sudo pacman -S gnome-tweak-tool