Category Archives: Tips and tricks

linux website access, linux website access control, access control linux

Howto: make files/folders secure from accidental deletion with a simple gui trick

As it happens we occasionally hit delete where we should not and that can deliver a lot pain if we are using a filemanager which does not support trash can feature. Here is a simply trick to prevent accidental deletion of files and folders inside your Linux box. Continue reading

Change background in Gnome3/gnome-settings-daemon without using gnome-tweak tool or any GUI

Changing background in Gnome3 can be done in various ways the most common ones being the GUI ways. If you however want to change your Gnome3 background without any graphical user interface you can  execute the following command inside the terminal client:  gsettings set org.gnome.desktop.background picture-uri “file:////etc/skel/drift.png

In the above example the /etc/skel/drift.png is the location of my background so tweak it according to your needs. If you are not using Gnome3 but you are using a windowmanager such as Fluxbox with gnome-settings-daemon then you can add the following line to your startup file:

(sleep 5 && gsettings set org.gnome.desktop.background picture-uri “file:////etc/skel/drift.png”) &

The above line tells your not-Gnome3 windowmanager to wait for 5 seconds and then get the background picture from the given file and apply it while using gnome-settings-daemon. The result of this approach is that your background will not get overwriten by Gnome3 settings but you can use your own custom background easily instead. You might need to tweak the examples given here according to your Linux configuration.

 

 

Autostarting applications with .xinitrc

There is certainly a number of ways to autostart applications. As it happens every window manager has its own way of doing autostarting and at some point you might get a bit confused about where exactly you should put your autostart entries. To overcome the problems of autostarting you can use a file called .xinitrc . Continue reading

Connecting to wpa/wpa2 protected Wi-Fi network without GUI frontends

When I started using Arch I found myself having problems with connecting to my Wi-Fi network with the usual GUI frontends (network-manager and Wicd). Luckily there is another method to do these things if the GUI way falls short. In order to connect to wpa or wpa2 network you will need the following packages:

wpa_supplicant and wireless-tools. Wireless-tools might not be strictly necessary but having it does no harm. You may also need to install dhclient, in some cases.
Continue reading