Entry tags:
EEE Wallpaper changing steps
I decided to stick my lessons learned from last night into a single file. It's probably simpler than I make it out to be, I just don't understand enough programming to know which steps can be winnowed out without breaking things.
no subject
If you really want to use the same wallpaper for all of your tabs, instead of a different, themely one per tab, the following can make it simpler:
replace
sudo cp NAME.jpg accessibility_NAME_wallpaper.jpg
sudo cp NAME.jpg business_NAME_wallpaper.jpg
sudo cp NAME.jpg home_NAME_wallpaper.jpg
sudo cp NAME.jpg student_NAME_wallpaper.jpg
sudo cp NAME.jpg NAME_wallpaper.jpg
with
sudo cp NAME.jpg NAME_wallpaper.jpg
for x in accessibility business home student
do
sudo ln NAME_wallpaper.jpg ${x}_NAME_wallpaper.jpg
done
This will make a single file that shows up everywhere. If you change the contents of the file with GIMP or write over it, all the files will change.
Otherwise, that's pretty much what you'll have to do. I don't know the kwrite editor so I can't tell you how to globally search and replace identical strings to get the new ones with that editor, but it's probably simple.
no subject
no subject
Is that ln bit an alias definition or something?
no subject
Files are, essentially, sequences of blocks on a storage medium linked together by pointers. The directory is a file which contains pointers to the things inside it. In Unix-style file systems, there is a table containing initial pointers called inodes, and every file actually has an inode associated with it, and an inode contains (among other things) a use-count. When an inode has a use-count of 0 it means it can be garbage collected. When you create a file, you allocate an inode, set the use count to 1, create an entry in a directory with the inode number, and start attaching blocks of storage to it.
When you link to a file, you create an entry in a directory and copy the inode number into the entry, and increment the inode's use-count.
So, that's not quite an alias - each of those links is a legitimate reference to exactly the same data object.
no subject
You can possibly go in as superuser by sudo su if it follows the same pattern, though I haven't ever had to do it myself.
And I'm surprised there isn't just a 'make wallpaper' button somewhere. But then, I've been spoiled by GNOME, so for the sake of Linux geeks, I'm 'impure'.
no subject
no subject
no subject