LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Several questions (https://www.linuxquestions.org/questions/linux-newbie-8/several-questions-913828/)

eeluve 11-16-2011 07:02 AM

Several questions
 
I've mounted shared folder from windc to virtual debian machine. Until i decide to reboot the system everything was fine, but upon restart the content of mnt folder was lost(just in case im doing mount -t cifs //servernetbiosname/sharedfolder /myfolder -o user=domainname/domainuser). Is it possible to mount forever ? Also im using gnome, changing keyboard layout hotkey combo through interface and it doesnt work(none of several i tried), if i manually force the layout to the top of the list it works, so fonts are obviously fine. And at last, from what i got its not possible to add a shortcut on my mnt folder(or any) to the desktop in gnome right(only works for applications) ? Only possible option i found is to bookmark this folder. Please correct me if im wrong.

goossen 11-16-2011 08:11 AM

Quote:

Originally Posted by eeluve (Post 4525495)
(...) Is it possible to mount forever ? (...)

Yes. Add it to /etc/fstab. Basically you can add a line like:
Code:

//servernetbiosname/sharedfolder /myfolder cifs user=domainname/domainuser 0 0
Check man fstab for more info.
Quote:

Originally Posted by eeluve (Post 4525495)
(...) And at last, from what i got its not possible to add a shortcut on my mnt folder(or any) to the desktop in gnome right(only works for applications) ? Only possible option i found is to bookmark this folder. Please correct me if im wrong.

Not using gnome myself, but I guess you can add an application launcher and put this on the command field:
Code:

nautilus <path-to-folder>

eeluve 11-16-2011 11:07 PM

Yea, those solvations you mentioned works pretty well, thanks. But what should i do about keyboard layout hotkeys ?

JJJCR 11-17-2011 01:11 AM

Quote:

Originally Posted by eeluve (Post 4526224)
Yea, those solvations you mentioned works pretty well, thanks. But what should i do about keyboard layout hotkeys ?

check out this link it might help: http://www.malcolmhardie.com/weblogs...out-in-debian/

eeluve 11-17-2011 02:45 AM

Ye, ive done that. Even chosen my very actual keyboard type in settings for the 1st time on any system in my life. But still the same.


All times are GMT -5. The time now is 08:02 AM.