Wednesday, June 29, 2022

Changing ubuntu background image

 





Follow the instructions on the Arch Linux Wiki:

https://wiki.archlinux.org/index.php/GDM#Log-in_screen_background_image

Here is what you need to do:

1. Extract the gnome-shell-theme bianry

Create and run the following script (/usr/local/bin/extractgst.sh)

#!/bin/sh

workdir=${HOME}/shell-theme
if [ ! -d ${workdir}/theme ]; then
  mkdir -p ${workdir}/theme
fi
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource

for r in `gresource list $gst`; do
        gresource extract $gst $r >$workdir/${r#\/org\/gnome\/shell/}
done

2. Edit gnome-shell-theme.gresource.xml and gnome-shell.css (section #lockDialogGroup)

This creates the directory $HOME/shell-theme/theme. Change directory to this location.

Then create the file gnome-shell-theme.gresource.xml in the directory above.

With the following content, while imagefilename must be replaced with the filename of your background image.

<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/org/gnome/shell/theme">

    <file>imagefilename</file>

    <file>calendar-arrow-left.svg</file>
    <file>calendar-arrow-right.svg</file>
    <file>calendar-today.svg</file>
    <file>checkbox-focused.svg</file>
    <file>checkbox-off-focused.svg</file>
    <file>checkbox-off.svg</file>
    <file>checkbox.svg</file>
    <file>close-window.svg</file>
    <file>close.svg</file>
    <file>corner-ripple-ltr.png</file>
    <file>corner-ripple-rtl.png</file>
    <file>dash-placeholder.svg</file>
    <file>filter-selected-ltr.svg</file>
    <file>filter-selected-rtl.svg</file>
    <file>gnome-shell.css</file>
    <file>gnome-shell-high-contrast.css</file>
    <file>logged-in-indicator.svg</file>
    <file>more-results.svg</file>
    <file>no-events.svg</file>
    <file>no-notifications.svg</file>
    <file>noise-texture.png</file>
    <file>page-indicator-active.svg</file>
    <file>page-indicator-inactive.svg</file>
    <file>page-indicator-checked.svg</file>
    <file>page-indicator-hover.svg</file>
    <file>process-working.svg</file>
    <file>running-indicator.svg</file>
    <file>source-button-border.svg</file>
    <file>summary-counter.svg</file>
    <file>toggle-off-us.svg</file>
    <file>toggle-off-intl.svg</file>
    <file>toggle-on-hc.svg</file>
    <file>toggle-on-us.svg</file>
    <file>toggle-on-intl.svg</file>
    <file>ws-switch-arrow-up.png</file>
    <file>ws-switch-arrow-down.png</file>
  </gresource>
</gresources>

Now, open the gnome-shell.css-file in the directory and change the #lockDialogGroup definition as follows:

#lockDialogGroup {
  background: #2e3436 url(imagefilename);
  background-size: [WIDTH]px [HEIGHT]px;
  background-repeat: no-repeat;
}

Set background-size to the resolution that GDM uses, this might not necessarily be the resolution of the image.

3. Then again compile it

Finally, compile the theme using the following command:

glib-compile-resources gnome-shell-theme.gresource.xml

4. Copy the compiled gnome-shell-theme file

And copy the resulting gnome-shell-theme.gresource-file to the /usr/share/gnome-shell directory.

5. Restart gdm or logout

Eventually restart gdm or just logout.

Finished!




source: https://askubuntu.com/questions/202129/how-i-can-change-the-gdm-login-screen-wallpaper

Monday, October 5, 2020

FakeBuko



I don't know how to react when I see comments from my friends  in facebook 

Friday, June 5, 2020

God made a photographer


A friend of mine invited me to start chasing lights,
 I was a bit reluctant to join
 since it has been a while I did some pointing and shooting.

this is joffry a good friend of mine thank God he made a photographer
see his work of art https://www.joffryferrater.com/


Tuesday, March 28, 2017

A Photographer wanna be

 
I ask my friend Bernski if he could teach me that sun glaring thing photography.


I wanted to learn on  shooting with sun glares, I ended up being the subject instead. \('O')/

taken from jyväskylä -  a municipality in Finland. I love the place. I hope to visit this place again someday.


that's bernski.

Practice shoot by the lake, except no sun :)


Sunday, January 12, 2014

Restarting and Shutting down linux using direct kernel command

I have a  pocket wifi device which is based on ARMv6 and linux installed, When I tried to do a reboot -h now and shutdown -h now command, it registered a command not found so I figured the busybox did not enable this two useful command.

as an alternative I had to call reboot and shutdown command directly from the linux kernel

to reboot just type:
echo b > /proc/sysrq-trigger

this will immediately reboot the system without syncing or unmounting your disk

to shutdown just type:
echo o >/proc/sysrq-trigger
this will shutoff your system



hope this helps