![]() |
N9 terminal scripting?
Good morning!
Can someone tell me, it is possible to make script that delete wanted icons on desktop? i mean how to make that? rm facebook.desktop rm twitter.desktop etc.. i dont want use n9 tweak or others.. i want know how to make it itself. because there i can write myself what i want delete. sorry my bad english, i am from finland. thanks a lot! |
Re: N9 terminal scripting?
Why would you need to script that? There's simple serial commands that would only need to be executed once.
As root, simply navigate to the /usr/share/applications directory and them perform your remove commands. |
Re: N9 terminal scripting?
I agree with the post above, a scripts really is not necessary.
For education; here is the N9QTweak take on removing and restoring unwanted icons. ofc you must first back them up to restore. Code:
j|J) |
Re: N9 terminal scripting?
Quote:
|
Re: N9 terminal scripting?
Quote:
cd /usr/share/applications rm skype.desktop That's it. Then it's gone forever, or until you re-flash. No need to script and automate a one time event like that, is there? |
Re: N9 terminal scripting?
Quote:
Code:
rm -r /usr/share/applications/userguide.desktop YOU SHOULD BACKUP THE FILE BEFORE REMOVING IT! Sama suomeksi/The same in Finnish: Turha tehdä mitään skriptejä kun ihan tavallinen tiedoston poisto riittää. Kopioit vaan tiedoston ensin jonnekin turvaan. |
Re: N9 terminal scripting?
Quote:
|
Re: N9 terminal scripting?
I suggest you just rename the files instead of removing them. That way they can be restored at any time:
mv /usr/share/applications/userguide.desktop /usr/share/applications/.userguide.desktop Ad the "." in front of the .desktop entry and the icon in the launcher will be hidden. to restore, simply type it in reverse: mv /usr/share/applications/.userguide.desktop /usr/share/applications/userguide.desktop (all as root naturally!) edit: N9QuickTweak contains this particular script you are talking about already! Tweak J |
All times are GMT. The time now is 10:32. |
vBulletin® Version 3.8.8